<lgierth>
what would be really amazing though would be discovery through flyweb: https://flyweb.github.io/
<lgierth>
which is basically a js api to mdns in firefox -- that way we could find browser and non-browser nodes in the local network
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
_shizy has quit [Quit: WeeChat 1.7]
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
shizy has joined #ipfs
shizy is now known as _shizy
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
<Scio[m]>
On this topic, in my own demos I noticed that the bootstrap are needed to have my data be accessible from other nodes, and the webrtc-star node is needed to get pubsub working, and that the bootstrap can't do pubsub and the webrtc-star node can't help get my files to other nodes. Is this as intended or am I missing something?
<lgierth>
hah
<lgierth>
yes that sounds about right
infinity0 has joined #ipfs
<lgierth>
the webrtc-star "node" is not an actual ipfs node, it's just a webrtc signalling server
infinity0 has quit [Remote host closed the connection]
<lgierth>
and yeah the bootstrappers don't have pubsub enabled -- let me enable that actually
<lgierth>
good call
infinity0 has joined #ipfs
<lgierth>
about webrtc-star, an address like /libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss/ipfs/Qmfoobar means: speak webrtc signalling with star.signal.cloud.ipfs.team to get some usable address(es) for Qmfoo, then use these to speak /wss with the ipfs node Qmfoo
infinity0 has quit [Remote host closed the connection]
<Scio[m]>
Oh, that makes sense. So if I were to add a local go-ipfs node with pubsub enabled to the bootstrap list would that js-ipfs app not need the webrtc-star signalling server then?
<lgierth>
is does need the signalling to discover other browser nodes, but i'm not sure it these for pubsub messages to propagate
<lgierth>
it should be fine without
<lgierth>
*not sure it needs these
<lgierth>
ok pubsub on the bootstrappers coming
<Scio[m]>
Great! Thank you for the explanations as well. At the moment the js-ipfs pubsub messages propagate without any bootstrap nodes as long as I have the webrtc-star signalling server in the swarm. I'll go try a pubsub enabled local node in the meantime.
<lgierth>
btw the bootstrappers should not be needed to access data between browser nodes. they should discover each other via webrtc and then connect and exchange data
<Scio[m]>
They're only needed to bridge between browser and go-ipfs nodes then? I haven't tried to access the files between browser nodes without the bootstrappers and with the signaling server in. i should definitely try that first.
<lgierth>
yeah exactly -- you can only connect js-ipfs nodes to go-ipfs nodes which listen on /ws (or /wss for that matter)
_shizy has quit [Read error: Connection reset by peer]
<lgierth>
the circuit relay will help connecting nodes that would otherwise not speak the same transport protocol (but that's still work in progress)
_shizy has joined #ipfs
_shizy has quit [Client Quit]
_shizy has joined #ipfs
mguentner3 has quit [Quit: WeeChat 1.7]
mguentner has joined #ipfs
MrControll has quit [Quit: Leaving]
_shizy has quit [Ping timeout: 260 seconds]
webdev007 has quit [Remote host closed the connection]
mguentner2 has joined #ipfs
uzyn has quit [Remote host closed the connection]
wyatt has joined #ipfs
uzyn has joined #ipfs
mguentner has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ipfs
gmcabrita has quit [Quit: Connection closed for inactivity]
chungy has quit [Ping timeout: 252 seconds]
mguentner2 has quit [Ping timeout: 260 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gottcha has joined #ipfs
wyatt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
realisation has joined #ipfs
mguentner2 has joined #ipfs
ebel has quit [Ping timeout: 246 seconds]
<walle303>
I did it, the project I was working on is in a functioning state now
JEntrep has joined #ipfs
wyatt has joined #ipfs
JEntrep has quit [Remote host closed the connection]
JEntrep has joined #ipfs
JEntrep has quit [Client Quit]
chungy has joined #ipfs
ebel has joined #ipfs
<walle303>
Hmm, the js-ipfs node seems to lose all its connections after a while
galois_dmz has joined #ipfs
<lgierth>
yup that's the kind of not-yet-well-tested i mean :) we've seen this behaviour with js->go too
<massi>
I have a question about the ipfs "add" command: is it possible to add only a subset of the files of a directory tree?
<massi>
I have a sort of "glob" that selects files inside a tree (technically it is a sort of "subset" of the tree), and I'd like to be able to add that subset (and have its hash) without creating it explicitly in the file system
<massi>
Second (possibly related) question: what is the "filestore", and what do the "ipfs file" and "ipfs filestore" commands work on exactly? ( have read everything I could find in the docs but did not get it :-/
<victorbjelkholm>
nannal: what version of js-ipfs are you using? I think the API config is supposed to be a string rather than a array of strings
obensource has quit [Ping timeout: 260 seconds]
<victorbjelkholm>
nannal: "IPFS_PATH=/tmp/jsipfs jsipfs init && jq .Addresses.API /tmp/jsipfs/config" prints a string for me, rather than an array on js-ipfs version: 0.23.1 so I'm guessing you have a old config but new js-ipfs installation
<victorbjelkholm>
nannal: and you created the config with the same version? Or is a config you had since before?
<nannal>
Same version
<nannal>
checkthe gist for the config
<nannal>
or part of it at least
<victorbjelkholm>
hm, sounds very weird. Yeah, I looked at the config, only idea I have is that it's a old version. Otherwise I don't know. Could you open up a issue please? github.com/ipfs/js-ipfs/issues/new
<nannal>
I'll trade you, can you strip out the priv and pub key from a config and give them to me and I'll do it
maxlath has quit [Ping timeout: 240 seconds]
<nannal>
or leave them in I guess as long as you init a new one
<victorbjelkholm>
nannal: you want a copy of how a newly init config looks for 0.23.1?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ipfs
<nannal>
No it's good, so I killed that repo, created a new one with the cli tool and daemon works. So I'm thinking it's just if I create it with electron
<nannal>
I'll keep playing
<massi>
@lemmi: thanks about the filestore link, now I understand what it does
<nannal>
Yeah when I create it in electron it's creating it as an array
<nannal>
because that's what I'm giving it because I'm copying shit from documentation
<massi>
@lemmi: ideas about the "ipfs add partial tree" question?
<lemmi>
Massi: i'm not a pro, but you can certainly build the tree manually with ipfs object, or within ipfs files
azahi has joined #ipfs
<lemmi>
hint: object patch add-link has a -p flag
shizy has joined #ipfs
maxlath has joined #ipfs
maxlath1 has joined #ipfs
maxlath has quit [Ping timeout: 260 seconds]
maxlath1 is now known as maxlath
<pjz>
Massi: would it work to use the FUSE fs and just copy the data you want into the tree?
* pjz
forgets how the FUSE fs stuff works, it's been a while since I looked at it.
<massi>
@lemmi: now I see how I could build a directory one file at a time, with multiple `ipfs object patch $DIR add-link filename $FILEHASH` commands
<massi>
piz: I always considered the fuse mount points as read only... and in fact I would *need* them read only for the use case I have in mind
<lemmi>
Massi: pitfall: the patch add-link help text contains a typo. and don't miss the the -p flag
<lemmi>
pfz: the fuse filesystem doen't give you lot of control over when something is published under what key
<massi>
the "object patch add-link" approach would work, but it would create lots of temporary incomplete directories... any way to avoid this, creating the whole dir in one single "patch"
<massi>
hmmm... or is it the `-p`?
<lemmi>
Massi: every time you modify an object, its hash will change
<massi>
lemmi: yes, it makes sense, and I expect it... but say I want a dir with 20 entries, would there be a way to create it with one single command?
<massi>
otherwise I just have to rely on the gc to clean up the garbage :-)
ugjka has quit [Quit: ByE ByE]
ugjka has joined #ipfs
<lemmi>
that's what i do. but i'd like to have some kind of tool that temporarily builds this kind of stuff outside of ipfs and then issues a batch command
<lemmi>
i haven't figured out, how to hande ipfs from go. i can't seem to find a proper entrypoint
<lemmi>
talking through the api all the time is kind of bottleneck at the moment for me
<massi>
I see... but wouldn't using go still talk to the demon through the API? I mean, the repository must be accessed through the demon anyway, right?
<lemmi>
nop
<lemmi>
but i could be wrong
<massi>
well, I'd have to read the code to be sure :-)
<lemmi>
a lot of ipfs commands work without the repo aswell
<lemmi>
*daemon
Foxcool_ has joined #ipfs
chungy has quit [Ping timeout: 252 seconds]
<lemmi>
currently, using this iterative approach takes at least a couple of hundrets of milliseconds to add a single file
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
staltz_ has quit []
staltz_ has joined #ipfs
reit has quit [Quit: Leaving]
<massi>
hmmm... good to know, it works in principle but is too slow for what I need :-/ I'll see if there are other possibilities
chris613 has joined #ipfs
wedowmaker__ has quit []
wedowmaker__ has joined #ipfs
ZarkBit has quit [Ping timeout: 240 seconds]
reit has joined #ipfs
obensource has joined #ipfs
Foxcool_ has quit [Ping timeout: 260 seconds]
IGI-111[m] has joined #ipfs
chungy has joined #ipfs
obensource has quit [Ping timeout: 260 seconds]
arpu has joined #ipfs
obensource has joined #ipfs
ralphtheninja has quit [Quit: Lost terminal]
obensource has quit [Ping timeout: 260 seconds]
dignifiedquire has quit []
dignifiedquire has joined #ipfs
ylp has quit [Quit: Leaving.]
Woodman has joined #ipfs
<Woodman>
anything new on filecoin?
nunofmn has joined #ipfs
<Woodman>
hey nunofmn
<Woodman>
just circled back to see if anything active going on at filecoin
<Woodman>
havent heard of anything in a while
anewuser has joined #ipfs
realisation has joined #ipfs
ZarkBit has joined #ipfs
realisation has quit [Ping timeout: 260 seconds]
<Kubuxu>
Woodman: not right now but there might be some announcement in few or a bit more weeks time.
nunofmn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<SchrodingersScat>
meanwhile siacoin soars
realisation has joined #ipfs
tmg has quit [Ping timeout: 258 seconds]
ygrek has quit [Ping timeout: 268 seconds]
JayCarpenter has joined #ipfs
acarrico has joined #ipfs
Aranjedeath has joined #ipfs
<acarrico>
Is there a white paper about non-publishing uses of ipfs, for example privately sharing some files among your personal computers like you might do with nfs? Is this a targeted use case for ipfs?
ZarkBit has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ZarkBit has joined #ipfs
<acarrico>
I might normally use git for this type of thing.
ZarkBit has quit [Client Quit]
<whyrusleeping>
acarrico: You can use private networks for that
ZarkBit has joined #ipfs
<whyrusleeping>
I actually have an ipfs private network set up between my laptop, my home server and a vps
<acarrico>
Is "private networks" a technical term in the context of ipfs?
<whyrusleeping>
and it works pretty great
<whyrusleeping>
acarrico: yeah, lemme link to the feature description
<whyrusleeping>
Its still in the experimental phase
<acarrico>
Also is there a concept of permissions or capability lists, or just isolated networks?
ZarkBit has quit [Client Quit]
<whyrusleeping>
Just isolate networks right now
<acarrico>
(i'll take a look at your link)
<whyrusleeping>
capabilities are something we want to add in the future
<whyrusleeping>
but require lots of careful thought to get right
<acarrico>
I'm sure.
ZarkBit has joined #ipfs
ZarkBit has quit [Client Quit]
ZarkBit has joined #ipfs
<acarrico>
I could see private networks working as a nice proxy for capabilities if there were a public / private bit, so that you'd get a merged view with the benefit of a public network for the public subset of your data.
<whyrusleeping>
acarrico: Yeah, we dont yet have the ability to be part of multiple networks, but that could be pretty cool
maxlath1 has joined #ipfs
maxlath has quit [Ping timeout: 240 seconds]
maxlath1 is now known as maxlath
taaem has joined #ipfs
mazeinmaze_ has quit [Ping timeout: 240 seconds]
kvda has joined #ipfs
realisation has quit [Ping timeout: 252 seconds]
mazeinmaze_ has joined #ipfs
realisation has joined #ipfs
s_kunk has joined #ipfs
ygrek has joined #ipfs
Foxcool_ has joined #ipfs
realisation has quit [Read error: Connection reset by peer]
realisation has joined #ipfs
spilotro has joined #ipfs
Johan has quit [Ping timeout: 252 seconds]
ZarkBit has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ZarkBit has joined #ipfs
ZarkBit has quit [Client Quit]
ZarkBit has joined #ipfs
alu has quit [Quit: WeeChat 1.0.1]
Atrus6 has joined #ipfs
obensource has joined #ipfs
ygrek has quit [Ping timeout: 268 seconds]
obensource has quit [Ping timeout: 260 seconds]
obensource has joined #ipfs
Jesin has quit [Quit: Leaving]
realisat_ has joined #ipfs
realisation has quit [Read error: Connection reset by peer]
realisat_ has quit [Ping timeout: 260 seconds]
<Woodman>
whyrusleeping filecoin is an erc-20 token? i got your business card here, i picked up couple of months ago
<Woodman>
it's possible that filecoin could be used among other tokens depending on desires of users
espadrine_ has quit [Ping timeout: 240 seconds]
Jesin has joined #ipfs
Encrypt_ has joined #ipfs
Encrypt_ has quit [Client Quit]
maxlath1 has joined #ipfs
maxlath has quit [Ping timeout: 260 seconds]
maxlath1 is now known as maxlath
taaem has quit [Read error: Connection reset by peer]
JayCarpenter has quit [Quit: Page closed]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
massi has quit [Quit: Page closed]
JayCarpenter has joined #ipfs
espadrine has joined #ipfs
JayCarpenter has quit [Quit: Page closed]
skeuomorf has joined #ipfs
maxlath1 has joined #ipfs
skeuomorf has quit [Ping timeout: 240 seconds]
maxlath has quit [Ping timeout: 260 seconds]
maxlath1 is now known as maxlath
jkilpatr has quit [Ping timeout: 255 seconds]
alu has joined #ipfs
taaem has joined #ipfs
rendar has quit [Ping timeout: 260 seconds]
arpu has quit [Remote host closed the connection]
arpu has joined #ipfs
cwahlers_ has joined #ipfs
abec has joined #ipfs
cwahlers has quit [Ping timeout: 260 seconds]
rodarmor has quit []
rodarmor has joined #ipfs
cwahlers_ has quit [Ping timeout: 240 seconds]
cwahlers has joined #ipfs
rendar has joined #ipfs
rendar has quit [Changing host]
rendar has joined #ipfs
obensource has quit [Ping timeout: 240 seconds]
obensource has joined #ipfs
neuthral_ has joined #ipfs
mildred3 has quit [Read error: Connection reset by peer]