stebalien changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.5.1 and js-ipfs 0.43.1 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0
stkw0 has quit [Ping timeout: 240 seconds]
stkw0 has joined #ipfs
MDude has joined #ipfs
stripedpajamas has quit [Quit: sleeping...]
RSDZ0299 has joined #ipfs
erentar has quit [Remote host closed the connection]
erentar has joined #ipfs
hqdruxn08 has quit [Read error: Connection reset by peer]
hqdruxn08 has joined #ipfs
Belkaar has quit [Ping timeout: 240 seconds]
Belkaar has joined #ipfs
Belkaar has joined #ipfs
KempfCreative has joined #ipfs
hqdruxn08 has quit [Read error: Connection reset by peer]
maxzor has quit [Remote host closed the connection]
redfish has quit [Ping timeout: 272 seconds]
hqdruxn08 has joined #ipfs
redfish has joined #ipfs
redfish has quit [Ping timeout: 246 seconds]
redfish has joined #ipfs
redfish has quit [Ping timeout: 272 seconds]
erentar has quit [Quit: erentar]
erentar has joined #ipfs
jrt is now known as Guest11961
jrt has joined #ipfs
redfish has joined #ipfs
Guest11961 has quit [Ping timeout: 264 seconds]
redfish has quit [Ping timeout: 272 seconds]
prudentbot has joined #ipfs
redfish has joined #ipfs
redfish has quit [Ping timeout: 272 seconds]
user_51 has quit [Ping timeout: 260 seconds]
mindCrime has quit [Ping timeout: 260 seconds]
redfish has joined #ipfs
user_51 has joined #ipfs
erentar has quit [Quit: erentar]
redfish has quit [Ping timeout: 272 seconds]
redfish has joined #ipfs
erentar has joined #ipfs
erentar has quit [Quit: erentar]
erentar has joined #ipfs
redfish has quit [Ping timeout: 272 seconds]
redfish has joined #ipfs
KempfCreative has quit [Ping timeout: 246 seconds]
cheet has quit [Quit: ZNC 1.8.x-nightly-20190530-13450c7f - https://znc.in]
cheet has joined #ipfs
<apotheon>
So far, using ipfs seems a bit "unintuitive", and slow.
<swedneck>
how so? i'd be glad to help
<apotheon>
I'm not sure how to describe the situation. I was trying to use the command line tools to publish some things, and failed to find a way to turn the hashes it gave me into something I can use in another context at the time. I probably could now that I tried the browser dashboard thingie (forgot what it's called, sorry), except I didn't keep track of them, and now don't know how to find them
<apotheon>
again.
<apotheon>
In the browser UI that comes with go-ipfs (all I installed is go-ipfs), I can manage some stuff, but it doesn't seem to have any connection to what the CLI tools manage so far.
<apotheon>
I didn't really take notes on what I was doing, so I'm afraid the best I can do here is describe my vague memory and maybe hunt through some shell history.
<apotheon>
I'm happy I figured out a way to publish some files through the browser so I can share them with others, but I'd really like to be able to do this stuff from the command line, so I guess I'll have to go back to smacking my head against that until something makes a dent.
<swedneck>
anything you can do in the webui can be done via CLI
<apotheon>
I assumed as much, but haven't figured out how to do some things (like get a general listing of what I have, for instance) from the command line.
<swedneck>
what precisely do you want to do? that'll make it easier to tell you what commands you need
cheet has quit [Quit: ZNC 1.8.x-nightly-20190530-13450c7f - https://znc.in]
<apotheon>
Presumably, "ipfs add -r directoryname" should have . . . done something like publish the directory and its contents, I guess.
<apotheon>
I haven't found any way to *find* what I added, either from the command line or the browser, except maybe by copying the hash, then looking at something I can find in the browser and copying that URI, then editing it to use the hash I copied.
<apotheon>
. . . but I haven't tried that yet, because that doesn't seem like it's probably the right way to do it.
cheet has joined #ipfs
<apotheon>
Is there some kind of command to just see a listing of every file I've added to IPFS?
<apotheon>
hmm
<apotheon>
refs
<swedneck>
`ipfs pin ls`
<apotheon>
oh
<apotheon>
Yeah, refs seems to be something else.
<apotheon>
I'll look at pin.
<swedneck>
will show everything you added, presuming you didn't disable pinning when adding it
<swedneck>
you may want to look at the mfs as well, `ipfs files`
<swedneck>
that's what's shown in the webui, and helps a lot with keeping track of things
<apotheon>
Okay, so . . . pin ls doesn't seem to give me information that actually tells me what I'm looking at.
<apotheon>
What's "mfs"?
<apotheon>
Ooh, ipfs files seems useful.
<apotheon>
Thanks for that.
<apotheon>
swedneck: Thanks. I'll dig around some more on my own before bed. Take care.
<swedneck>
ah right, you probably want `ipfs pin ls -t recursive`
<swedneck>
otherwise it prints literally every single object that has been pinned, including parts of files
<apotheon>
cool
<swedneck>
you can use the --help flag with all subcommands to get a description of it btw
<apotheon>
I'm still not sure how to translate those hashes into knowledge of what they represent, but I guess I'll probably find it while playing with this.
<swedneck>
`ipfs ls` shows what's contained in a hash, presuming it's a directory
<swedneck>
if you want to see the contents of files, you use `ipfs cat`
<swedneck>
`ipfs cat QmeomffUNfmQy76CQGy9NdmqEnnHU9soCexBnGU3ezPHVH` should output `test`
redfish has quit [Ping timeout: 246 seconds]
<swedneck>
also if you want files to have names, remember to always wrap them in a directory. this can be done automatically when adding them with `ipfs add -w`
<apotheon>
There's no way to just list the hashes with their contents in the first place, I guess. If I want to know what's in there, I have to first list all the hashes via pin ls, then run ls individually on each hash. Right?
<swedneck>
yeah, but that's why you'd use the mfs
<apotheon>
That's feels pretty clunky. Maybe I'll wrap a script around it.
<swedneck>
the mfs makes handling ipfs objects a lot nicer
<apotheon>
I don't know what "mfs" means in this context.
<swedneck>
mfs is the technical name for what `ipfs files` uses
<swedneck>
it's just a virtual filesystem, sort of
<apotheon>
How do I "use the mfs"?
<apotheon>
I haven't seen this term anywhere so far.
<swedneck>
via `ipfs files` or the "files" tab in the webui
<apotheon>
I see it cryptically mentioned in output of "ipfs files --help".
<apotheon>
Okay, thanks.
<apotheon>
Is that an initialism, like MFS, that stands for something? I'd guess "fs" is "filesystem", but could be mistaken.
<apotheon>
It's getting late. I'll leave the discussion there for now.
zeden has quit [Quit: WeeChat 2.8]
<swedneck>
Alright, hope you get stuff working :D
drathir_tor has quit [Ping timeout: 240 seconds]
<apotheon>
thanks
redfish has joined #ipfs
drathir_tor has joined #ipfs
MDude has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Yelong has joined #ipfs
dqx_ has quit [Ping timeout: 246 seconds]
ipfs-stackbot has quit [Remote host closed the connection]
Yelong has quit [Remote host closed the connection]
ipfs-stackbot has joined #ipfs
jesse22 has joined #ipfs
<auhau[m]>
Hey guys,
<auhau[m]>
did you get at some point `Empty reply from server` from your localhost gateway? 😳 I can run it at all... I have 0.6.0, not sure if maybe some problem with configuration? 🤔
prudentbot has quit [Quit: Connection closed for inactivity]
jesse22 has quit [Ping timeout: 244 seconds]
jesse22 has joined #ipfs
<auhau[m]>
* Hey guys,
<auhau[m]>
did you get at some point `Empty reply from server` from your localhost gateway? 😳 I can't run it at all... I have 0.6.0, not sure if maybe some problem with configuration? 🤔
defnofdumb has quit [Ping timeout: 240 seconds]
<swedneck>
i'd suggest trying with a fresh profile
<swedneck>
set $IPFS_PATH to some directory, and run `ipfs init`
<swedneck>
then try running stuff with that $IPFS_PATH variable active
defnofdumb has joined #ipfs
RSDZ0299 has quit [Remote host closed the connection]
KeiraT has quit [Ping timeout: 240 seconds]
KeiraT has joined #ipfs
jcea has quit [Quit: jcea]
bengates has joined #ipfs
daregap has quit [Quit: daregap]
pecastro has joined #ipfs
D_ has quit [Remote host closed the connection]
D_ has joined #ipfs
mokulus has quit [Quit: WeeChat 2.9]
dqx_ has joined #ipfs
KevinScruff[m] has joined #ipfs
Ecran10 has joined #ipfs
dqx_ has quit [Ping timeout: 260 seconds]
Ecran10 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Caterpillar has joined #ipfs
alexhere[m] has left #ipfs ["User left"]
_jrjsmrtn has quit [Quit: Bye !]
__jrjsmrtn__ has joined #ipfs
opal has quit [Ping timeout: 240 seconds]
opal has joined #ipfs
Sascha[m]5 has joined #ipfs
dqx_ has joined #ipfs
_whitelogger has joined #ipfs
dqx_ has quit [Ping timeout: 240 seconds]
dqx_ has joined #ipfs
aLeSD_ has quit [Remote host closed the connection]