stebalien changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.4.21 and js-ipfs 0.35 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of
kaotisk has quit [Ping timeout: 272 seconds]
freakcode has quit [Quit: Lost terminal]
Kingsquee has joined #ipfs
t4skforce has quit [Ping timeout: 268 seconds]
t4skforce has joined #ipfs
kaotisk has joined #ipfs
<amosbird>
carson[m]1: I do have a private network. what's "pretty easy to setup" ?
whistler has quit [Ping timeout: 256 seconds]
clemo has quit [Ping timeout: 245 seconds]
clemo has joined #ipfs
jadedctrl has quit [Ping timeout: 248 seconds]
jadedctrl has joined #ipfs
mithilarun has quit [Remote host closed the connection]
merethan has quit [Remote host closed the connection]
jhulten has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RamRanRa has quit [Read error: Connection reset by peer]
nolep[m] has joined #ipfs
sklv has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
sklv has joined #ipfs
Jesin has joined #ipfs
Fessus has quit [Remote host closed the connection]
Fessus has joined #ipfs
Rob[m] has joined #ipfs
screensaver has quit [Remote host closed the connection]
screensaver has joined #ipfs
null1337 has quit [Quit: Now if you will excuse me, I have a giant ball of oil to throw out my window]
enick_237 has joined #ipfs
bralyclow01 has joined #ipfs
bralyclow has quit [Ping timeout: 272 seconds]
thomasan_ has joined #ipfs
}ls{ has quit [Quit: real life interrupt]
Newami has quit [Read error: Connection reset by peer]
spinza has quit [Quit: Coyote finally caught up with me...]
thomasan_ has quit [Remote host closed the connection]
KempfCreative has quit [Ping timeout: 245 seconds]
mrCyborg has joined #ipfs
clemo has quit [Ping timeout: 244 seconds]
verin0x1 is now known as verin0x
bralycl__ has quit [Remote host closed the connection]
bralyclow has joined #ipfs
rwe has quit []
bralyclow has quit [Ping timeout: 245 seconds]
Mateon2 has joined #ipfs
sfx2496 has joined #ipfs
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon2 is now known as Mateon1
airwind has joined #ipfs
gmoro has quit [Ping timeout: 248 seconds]
gmoro has joined #ipfs
gmoro has quit [Remote host closed the connection]
gmoro has joined #ipfs
rainmanjam has joined #ipfs
rainmanjam has quit [Client Quit]
gmoro has quit [Ping timeout: 268 seconds]
keepsmile has joined #ipfs
shanks8080 has quit [Ping timeout: 246 seconds]
keepsmile has quit [Client Quit]
bralyclow has joined #ipfs
ZaZ has joined #ipfs
Mateon2 has joined #ipfs
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
bralyclow has quit [Remote host closed the connection]
bralyclow has joined #ipfs
gmoro has joined #ipfs
clemo has joined #ipfs
uptime is now known as sargeant_uptime
ZaZ1 has joined #ipfs
ZaZ2 has joined #ipfs
ZaZ has quit [Ping timeout: 245 seconds]
ZaZ1 has quit [Ping timeout: 244 seconds]
gts has joined #ipfs
pvh has joined #ipfs
wahaha has joined #ipfs
rkzel has quit [Ping timeout: 248 seconds]
gts has quit [Remote host closed the connection]
gde33 has quit [Ping timeout: 246 seconds]
gde33 has joined #ipfs
plexigras has joined #ipfs
Caterpillar has joined #ipfs
xcm has quit [Remote host closed the connection]
gts has joined #ipfs
xcm has joined #ipfs
clemo has quit [Ping timeout: 245 seconds]
reit has joined #ipfs
woss_io has joined #ipfs
iczero has quit [Quit: rip]
iczero has joined #ipfs
Newami has quit [Read error: Connection reset by peer]
ChronosX88[m]1 has joined #ipfs
clemo has joined #ipfs
wahaha_ has joined #ipfs
wahaha has quit [Ping timeout: 248 seconds]
<ChronosX88[m]1>
Hello. I have a question about PubSub. I want to use FloodSub to organize decentralized chat, but I do not know how to dynamically connect nodes to PubSub. I use mDNS as a detection method, the found nodes are added to my node in the PeerStore, but the found nodes do not see the messages I sent to PubSub (they are subscribed to the same topic). (AddPeer method in FloodSubRouter is empty)
<ChronosX88[m]1>
<ChronosX88[m]1 "Hello. I have a question about P"> It is question about libp2p
<ChronosX88[m]1>
Help me please, I do not see any useful documentation on this subject.
Kingsquee has quit [Ping timeout: 250 seconds]
wahaha has joined #ipfs
wahaha_ has quit [Ping timeout: 245 seconds]
Kingsquee has joined #ipfs
gts has quit [Remote host closed the connection]
<jon1012>
ChronosX88[m]1 I've got better results with gossipsub so far
<jon1012>
(on top of ipfs, not libp2p directly)
<jon1012>
I will likely try libp2p directly in the future, but that would mean reimplementing gossipsub
<ChronosX88[m]1>
<jon1012 "ChronosX88 I've got better resul"> Hm... How I can add found peers to router? AddPeer method?
<ChronosX88[m]1>
found through mDNS
<jon1012>
on ipfs, you use the swarm connect method
<jon1012>
and the ipfs daemon does the rest
<jon1012>
dunno about libp2p
xcm has quit [Remote host closed the connection]
is_null has quit [Ping timeout: 272 seconds]
is_null has joined #ipfs
<ChronosX88[m]1>
No, IPFS isn't suitable for me
xcm has joined #ipfs
enick_237 has left #ipfs ["User left"]
<jon1012>
if someone knows the libp2p implementation in python and could help, I'd love to use it directly for gossipsub
gts has joined #ipfs
Soo_Slow has joined #ipfs
is_null has quit [Ping timeout: 272 seconds]
vmx has joined #ipfs
is_null has joined #ipfs
rendar has joined #ipfs
RamRanRa has joined #ipfs
gts has quit []
gts has joined #ipfs
xcm has quit [Remote host closed the connection]
Adbray has quit [Remote host closed the connection]
xcm has joined #ipfs
spinza has quit [Quit: Coyote finally caught up with me...]
rkzel has joined #ipfs
airwind has quit [Quit: airwind]
spinza has joined #ipfs
lnostdal has quit [Quit: "Fascism, Nazism, Communism and Socialism are only superficial variations of the same monstrous theme—collectivism." -- Ayn Rand]
ZaZ2 has quit [Quit: Leaving]
wahaha has quit [Quit: WeeChat 2.5]
iv23orujwdfg has joined #ipfs
iv23orujwdfg has quit [Client Quit]
lnostdal has joined #ipfs
bongozig has quit [Ping timeout: 272 seconds]
}ls{ has joined #ipfs
malaclyps has quit [Read error: Connection reset by peer]
<carson[m]1>
But obvi if your network is an actual private network (i.e., sandboxed from the rest of the world) then you don't really need to worry about the private swarm so much...
gmoro has quit [Quit: Leaving]
mowcat has quit [Remote host closed the connection]
bralyclow has joined #ipfs
Fessus has joined #ipfs
Fessus has quit [Remote host closed the connection]
noresult has quit [Read error: Connection reset by peer]
<BenLubar>
if I run ipfs repo verify it succeeds with no errors
opal has joined #ipfs
scj_ has quit [Remote host closed the connection]
xcm has quit [Remote host closed the connection]
scj_ has joined #ipfs
<BenLubar>
restored from a backup, seems to be able to start now
xcm has joined #ipfs
mithilarun has quit [Remote host closed the connection]
mithilarun has joined #ipfs
Lochnair has joined #ipfs
mindCrime has quit [Ping timeout: 258 seconds]
mithilarun has quit [Ping timeout: 244 seconds]
mithilarun has joined #ipfs
kesenai has quit [Remote host closed the connection]
Newami has joined #ipfs
spinza has quit [Quit: Coyote finally caught up with me...]
sbani has quit [Remote host closed the connection]
sbani has joined #ipfs
zeden has quit [Quit: WeeChat 2.4]
spinza has joined #ipfs
<stoccafisso[m]>
Hi all. I have go-ipfs running as a service in Ubuntu. I have added some testfiles using the CLI. I can see the repository and the newly added files using 'ipfs pin ls --t=recursive', Then I wonder why these added files does not show up in the firefox browser companion? I can see the browser companion reflects the correct "ipfs id", and also correctly display the size of my repository, but nothing is showing up in
<stoccafisso[m]>
the Files-tab in browser companion. I use ipfs 0.4.21 and latest browser companion app.
scj- has joined #ipfs
scj_ has quit [Ping timeout: 244 seconds]
dethos has quit [Quit: Time to Go!]
KempfCreative has quit [Ping timeout: 248 seconds]
<stoccafisso[m]>
The repository path is /home/user/.ipfs. Do the browser companion expect the repo to be somewhere else, and that being the reason it can not detect/display the files added from the CLI side?
<carson[m]1>
long story short... add your files to mfs and you should see them where you expect to in the companion
thomasan_ has joined #ipfs
bralyclow has joined #ipfs
carson[m]1 is now known as carsonfarmer1095
carsonfarmer1095 is now known as carsonfarmer[m]
<shokunin[m]>
Just noticed you're using Discord now carsonfarmer 😃
<shokunin[m]>
How do you like it over Slack?
thomasan_ has quit [Ping timeout: 248 seconds]
mithilarun has joined #ipfs
<stoccafisso[m]>
@carson thank you for answering. Then I have another newbie question: How do I add the files to mfs? Instead of "ipfs add -r somedirectory/", what do I do? And what to do about files already added using above CLI command?
pvh has joined #ipfs
jhulten has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhulten has joined #ipfs
rkzel has quit [Ping timeout: 272 seconds]
merethan has joined #ipfs
pecastro has quit [Ping timeout: 244 seconds]
<carsonfarmer[m]>
shokunin I've been using discord for everything outside of #textile lately. i like it for the most part... feels pretty intuitive, and the bridges you folks have setup is really helpful
<shokunin[m]>
Nice
<shokunin[m]>
swedneck is a big part of this!
rkzel has joined #ipfs
<carsonfarmer[m]>
thanks swedneck ! really nice to have the channels in one chat interface
<carsonfarmer[m]>
so you can copy existing file hashes to a directory like that ^ I called the new file 'rando' but you could also just use its existing hash as the name
<carsonfarmer[m]>
just tested with ipfs desktop, and works great ^
bralyclow has quit [Ping timeout: 258 seconds]
jhulten has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spinza has quit [Quit: Coyote finally caught up with me...]
bralyclow has joined #ipfs
scj- has quit [Read error: Connection reset by peer]
<stoccafisso[m]>
carsonfarmer: OK, let say I have a folder containing 20GB of video. I want to share this, so I first has to add it to ipfs (ipfs add -r somedir/). Then do "ipfs files mkdir /mysomedir" and "ipfs files cp /ipfs/somehash /mysomedir/video? Then what happens? Do I get a duplicate 20GB videodir, or triplet for that matter? The original videodir, then the one added to ipfs, and then the one added to mfs? And then I would
<stoccafisso[m]>
like to publish this with a key, so people can relate to the same ipns addess all the time, as I would like to add new videos to the same directory, and when I do, the ipfs hash of the main video dir should change?
jhulten has joined #ipfs
<carsonfarmer[m]>
nope no duplication, you're just manipulating dags, so its really just creating a new dag object with all those video files 'linked'
<carsonfarmer[m]>
but otherwise, yes that's right
spinza has joined #ipfs
<carsonfarmer[m]>
you'd use ipns to link to the updated hash each time you add a new video file
<carsonfarmer[m]>
but if you just want to share things with others via ipns, you don't _really_ need to use the mfs api
<carsonfarmer[m]>
you can still just reference things via the toplevel ipfs hash and publish that with ipns
<carsonfarmer[m]>
the mfs is really just to organize things in dags nicely
<carsonfarmer[m]>
of course, you can also publish your top level mfs dag to ipns as well/alternatively
<stoccafisso[m]>
OK, I tried just adding the videodir hash to browser companion. The files showed up. I then added a file to the videodir from the browser companion, just to test, but the video dir hash did not change, as I expected it should.
<carsonfarmer[m]>
hmmm
griffinbyatt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<carsonfarmer[m]>
not sure what's going on with companion, but ipfs desktop does indeed show the updated folder hash
<carsonfarmer[m]>
(i don't have companion installed on this machine at the moment, so can't test there)
<carsonfarmer[m]>
try `ipfs files ls /mysomedir ` is the file listed there?
<carsonfarmer[m]>
if not, then for some reason, ipfs companion didn't properly add it
<carsonfarmer[m]>
if yes, then try `ipfs files stat --hash /mydir` which should just give you the hash of the mfs folder
<carsonfarmer[m]>
if yes, then try `ipfs files stat --hash /mysomedir` which should just give you the hash of the mfs folder
<stoccafisso[m]>
I see the added file within the top level videodir in browser companion, but the hash did not change. I then lauched IPFS Desktop, same thing there, the new added file show up, but the top level video dir hash has not changed
<carsonfarmer[m]>
(edited to `mysomedir`)
<stoccafisso[m]>
well, I added its hash to browsercompanion, that is I grabbed the dir from ipfs and not from some folder
<carsonfarmer[m]>
ahhh, ok, yes the top level video dir won't change, just the top-level mfs folder you put it in will change
<carsonfarmer[m]>
the video dir won't ever change, that's immutable
<stoccafisso[m]>
Ok, so how can I have the ipns reflect the changes in the folder?
<makeworld>
Hello
<carsonfarmer[m]>
ideally, you'd add all the _individual_ ipfs files to the mfs folder, and then add files to it, and publish each time you add a file with the updated hash
<carsonfarmer[m]>
if you are keeping the raw files themselves locally, you can also just ipfs add the whole thing each time, it should deduplicate and not add all the files a second time
<stoccafisso[m]>
Or more correct, how to I publish the mfs folder hash to ipns, instead of the ipfs hash? I am confused, sorry
<carsonfarmer[m]>
yup no probs, like i mentioned, just add files to the mfs folder as i showed, and then you can get its hash: `ipfs files stat --hash /mysomedir`
<carsonfarmer[m]>
then you can publish that hash with ipns
<carsonfarmer[m]>
does that make sense?
<carsonfarmer[m]>
the general workflow would then be: add new file to ipfs, get hash and add to mfs folder, get updated hash from folder, publish to ipns
<carsonfarmer[m]>
for the first time around, you'd want to add the _individual_ video files to the mfs folder
<stoccafisso[m]>
so as I added the ipfs folder (as a hash), I then have to do "ipfs files stat --hash /ipnshash (as the hash is the folder name)?
<carsonfarmer[m]>
which can you do by just looping through them, or using `ipfs files write`
<stoccafisso[m]>
damn, this was complicated and difficult to understand
<carsonfarmer[m]>
oh yeh i guess so, generally its a good idea to use a human readable name for your mfs folders
<carsonfarmer[m]>
yeh, its just a bit tricky initially because you're working with immutable hashes
<carsonfarmer[m]>
but once you have the workflow going, its quite similar to just moving files around a la unix style cmdline
<stoccafisso[m]>
But, IPFS Desktop and browser companion have no place to manage keys (for ipns). So I then have to generate keys in CLI and publish the mfs hash to that key, instead of the ipfs hash?
<carsonfarmer[m]>
yeh, unfortunately that is the case yes
<stoccafisso[m]>
Well, thank you so far. I will try some of this, hopefully I will understand it. Is there any tutorial to read about how to do this?