<xSkyripper>
js-ipfs node in browser, go-ipfs node in linux terminal
<xSkyripper>
no discovery at all ... same router
infinity0 has joined #ipfs
<engdesart>
The "same-router" thing might be causing sone kind of conflict.
<xSkyripper>
why is that .. ?
infinity0 has quit [Remote host closed the connection]
<xSkyripper>
and yet I do not see any peers on calling "swarm peers" in browser ..
<engdesart>
I've found the browser interface to be generally be lackluster.
<deltab>
are you telling the nodes about each other?
<SchrodingersScat>
xSkyripper: sometimes routers don't like to go out then in again, the ol' in-out in-out I call it.
<xSkyripper>
it seems that this is a js-ipfs vs go-ipfs problem ...
<xSkyripper>
as I tested between 2 linux nodes, same router
<xSkyripper>
and they were able to discover eachother ...
infinity0 has joined #ipfs
<xSkyripper>
deltab: tell the nodes about each other ? ... what do you mean ? shouldn't that me automatically done ?
infinity0 has quit [Remote host closed the connection]
<deltab>
ideally, yes
<xSkyripper>
I'm really confused now.
<xSkyripper>
My main goal was to get the js-ipfs daemon up in a android App and it seems that it doesn't really work as I expected even in a normal browser
infinity0 has joined #ipfs
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ipfs
<xSkyripper>
If anyone has any idea on how to make this work, I'm more than open to suggestions ..
<xSkyripper>
Cause I really don't know what to do further
infinity0 has quit [Remote host closed the connection]
MDude has joined #ipfs
rcat has quit [Remote host closed the connection]
dimitarvp has quit [Quit: Bye]
strykerkkd has quit [Quit: Leaving]
seagreen has quit [Ping timeout: 240 seconds]
_shizy has joined #ipfs
ckwaldon has quit [Remote host closed the connection]
ckwaldon has joined #ipfs
wrouesnel has joined #ipfs
shizy has joined #ipfs
bullcomber has joined #ipfs
seagreen has joined #ipfs
arkimedes has joined #ipfs
xSkyripper has quit [Ping timeout: 240 seconds]
obensource has joined #ipfs
shizy has quit [Ping timeout: 268 seconds]
anewuser has joined #ipfs
parazyd has quit [Ping timeout: 245 seconds]
gmcabrita has quit [Quit: Connection closed for inactivity]
arkimedes has quit [Read error: Connection reset by peer]
anewuser has quit [Ping timeout: 268 seconds]
obensource has quit [Ping timeout: 268 seconds]
obensource has joined #ipfs
arkimedes has joined #ipfs
ligi has quit [Quit: leaving]
anewuser has joined #ipfs
_shizy has quit [Ping timeout: 260 seconds]
<Scio[m]>
xSkyripper: Are you using the bootstrap nodes on your js-ipfs instance? They're needed for js-ipfs nodes to swarm together with go-ipfs nodes (for now.)
ianopolous_ has quit [Read error: Connection reset by peer]
MrControll has quit [Quit: Leaving]
achin has quit [Quit: WeeChat 1.4]
bwn has quit [Ping timeout: 255 seconds]
palkeo has joined #ipfs
palkeo has quit [Changing host]
palkeo has joined #ipfs
bwn has joined #ipfs
infinity0 has joined #ipfs
Guest36040 has joined #ipfs
seagreen has quit [Quit: WeeChat 1.7]
seagreen has joined #ipfs
JayCarpenter has quit [Quit: Page closed]
anewuser has quit [Quit: anewuser]
obensource has quit [Ping timeout: 252 seconds]
obensource has joined #ipfs
obensource has quit [Ping timeout: 260 seconds]
obensource has joined #ipfs
obensource has quit [Ping timeout: 260 seconds]
tmg has joined #ipfs
obensource has joined #ipfs
obensource has quit [Ping timeout: 268 seconds]
obensource has joined #ipfs
Guest36040 is now known as CMCDragonkai
<CMCDragonkai>
Is this the irc to discuss libp2p, multispec dev, or is just ipfs?
obensource has quit [Ping timeout: 240 seconds]
ShalokShalom has joined #ipfs
obensource has joined #ipfs
obensource has quit [Ping timeout: 260 seconds]
obensource has joined #ipfs
obensource has quit [Ping timeout: 255 seconds]
obensource has joined #ipfs
obensource has quit [Ping timeout: 268 seconds]
obensource has joined #ipfs
obensource has quit [Ping timeout: 240 seconds]
obensource has joined #ipfs
bwn has quit [Ping timeout: 268 seconds]
obensource has quit [Ping timeout: 252 seconds]
john4 has joined #ipfs
obensource has joined #ipfs
obensource has quit [Ping timeout: 252 seconds]
Caterpillar has joined #ipfs
skeuomorf has joined #ipfs
wrouesnel has quit [Remote host closed the connection]
ylp has joined #ipfs
robattila256 has quit [Ping timeout: 240 seconds]
mildred1 has quit [Read error: Connection reset by peer]
mildred1 has joined #ipfs
<ShalokShalom>
whats about webassembly?
<ShalokShalom>
did someone already throw go-ipfs on it?
s_kunk has quit [Ping timeout: 268 seconds]
maxlath has joined #ipfs
bwn has joined #ipfs
bwn has quit [K-Lined]
bwn has joined #ipfs
parazyd has joined #ipfs
parazyd has quit [Changing host]
parazyd has joined #ipfs
tmg has quit [Ping timeout: 260 seconds]
s_kunk has joined #ipfs
s_kunk has quit [Read error: Connection reset by peer]
s_kunk_ has joined #ipfs
skeuomorf has left #ipfs ["Killed buffer"]
xming has quit [Ping timeout: 240 seconds]
s_kunk_ is now known as s_kunk
s_kunk has quit [Changing host]
s_kunk has joined #ipfs
xming has joined #ipfs
xming has joined #ipfs
palkeo has quit [Ping timeout: 240 seconds]
cxl000 has joined #ipfs
gmoro has joined #ipfs
ianopolous__ has quit [Ping timeout: 255 seconds]
rendar has joined #ipfs
espadrine has joined #ipfs
espadrine has quit [Ping timeout: 258 seconds]
sirdancealot has joined #ipfs
parazyd has quit [Quit: nuked]
parazyd has joined #ipfs
parazyd has joined #ipfs
parazyd has quit [Changing host]
mahloun has joined #ipfs
<reit>
i'm confused, is js-ipfs already usable in the browser despite no dht impl. yet?
<reit>
is it able to cheat by using some central server as a "dht" node or something?
espadrine has joined #ipfs
<r0kk3rz>
something like that, it does work
arkimedes has quit [Ping timeout: 258 seconds]
<reit>
oh really?
<reit>
in that case i've ideas to implement, been waiting to hear that good news for the past year or so
konubinix has quit [Quit: ZNC 1.6.4+deb1+b1 - http://znc.in]
konubinix has joined #ipfs
Foxcool has joined #ipfs
mahloun has quit [Ping timeout: 240 seconds]
arkimedes has joined #ipfs
konubinix has quit [Quit: ZNC 1.6.4+deb1+b1 - http://znc.in]
konubinix has joined #ipfs
obensource has joined #ipfs
bwn has quit [Ping timeout: 240 seconds]
mahloun has joined #ipfs
tmg has joined #ipfs
obensource has quit [Ping timeout: 240 seconds]
btmsn has joined #ipfs
gmoro has quit [Quit: Leaving]
gmoro has joined #ipfs
rcat has joined #ipfs
mbags has quit [Remote host closed the connection]
dimitarvp has joined #ipfs
mahloun has quit [Ping timeout: 255 seconds]
mbags has joined #ipfs
espadrine has quit [Ping timeout: 260 seconds]
xSkyripper has joined #ipfs
<xSkyripper>
when is the the next js-ipfs version coming alive ? will the automatic local discovery be available once relay is done ?
<xSkyripper>
or isn't this already working through mdns ?
maxlath1 has joined #ipfs
dimitarvp has quit [Read error: Connection reset by peer]
maxlath has quit [Quit: maxlath]
maxlath1 has quit [Ping timeout: 240 seconds]
maxlath has joined #ipfs
<Scio[m]>
Mdns doesn't work on the web and likely won't without an extension or if talks about integrating ipfs into browers go through. Js-ipfs discovery still works though, as long as you have a webrtc-star signalling server in your swarm somewhere.
<xSkyripper>
the problem is that I need this for an app that would still work in a "no internet" environment, through local networks
<xSkyripper>
so a signalling server won't help me at all ...
maxlath has quit [Read error: Connection reset by peer]
<Scio[m]>
I want it to work offline too. And at the very least it does work locally if the peers have already discovered themselves in my tests, but a signalling server is necessary.
<Scio[m]>
If your network topology remains constant, you can run a signalling server locally and point your js-ipfs nodes to it. That should still work.
<Scio[m]>
*necessary for the initial discovery
maxlath has joined #ipfs
<xSkyripper>
well, that could be a temporary workaround ..
<xSkyripper>
but the main goal of the app is emergency situation signalling
<xSkyripper>
something like people being trapped underground with nothing but wifi on a local router ..
<xSkyripper>
that's the case I imagined
<xSkyripper>
so the main feature I need is local discovery .. and that's coming with the next release of js-ipfs if I understand correctly ?
<Scio[m]>
I honestly haven't heard anything about local discovery being part of the next release. I can't imagine how that'll work in the browser sandbox with its restricted networking capabilities. But hey libp2p is already magic to me! I'd for it to be true.
bullcomber has quit [Remote host closed the connection]
<xSkyripper>
I see. But keep in mind that the node would have no access to a signalling server ..
<xSkyripper>
Is what I want impossible or .. ?
<Scio[m]>
Yes. I was just pointing out that he meant discovery using the signalling server, not over mdns on the browser.
colpoplasty has joined #ipfs
<Scio[m]>
I have no idea! I'm here exploring all the magic as well :D
<xSkyripper>
I read in the transfer-files example that once relay is implemented there won't be a need for the signalling server ...
<Scio[m]>
Is it possible to run a go-ipfs node in Android? MDNS and all?
<xSkyripper>
yes. There is an app in the playstore developed by some guy
<xSkyripper>
using java and kotlinn (if that's the name of the lang .. ?) that "gets" the binaries and runs them in a service
<xSkyripper>
IPFSDroid is the name I think
<Scio[m]>
The DHT relay? If that's the case then it's wonderful, I'm definitely not authoritative in any way in my familiarity with what's in dev! I hope it's the case.
<Scio[m]>
IPFSDroid hasn't been updated in a long time though, and I don't think it can work as a backend for js-ipfs-api either.
<Scio[m]>
I just read the bit about the DHT relay in that issue and am hype!
<xSkyripper>
also, js-ipfs-api's pubsub won't work in browser environment
<Scio[m]>
go-ipfs will get pubsub enabled pretty soon though. It already works if you manually enable the experimental flag
<xSkyripper>
i experimented with that already and it's nice :D
<Scio[m]>
and js-ipfs by itself can do pubsub already, which is what I'm currently working with
<xSkyripper>
inside node, right ?
<Scio[m]>
magical!
<Scio[m]>
no, in the browser
<xSkyripper>
yes, but you're using webrtc signalling server :D
<Scio[m]>
No bootstrap nodes wither, but using the webrtc-star server for discovery, yeah
<Scio[m]>
That's cheating is it? :D
<xSkyripper>
to put it short, i need js-ipfs to have local discovery when there is no internet backbone connectivity, inside a js framework for android
<xSkyripper>
yea xD
chris613 has quit [Quit: Leaving.]
dimitarvp has joined #ipfs
<xSkyripper>
and that doesn't work for the moment, because js-ipfs inside a framework like cordova behaves just like in browser
<xSkyripper>
and I'm bound to local discovery feature xD
<Scio[m]>
I'm going to read up on js-libp2p-kad-dht
<xSkyripper>
am I understanding correctly this sentence ? :
<xSkyripper>
We need to use a signalling server to establish the WebRTC connections, this won't be necessary as soon as libp2p-relay gets developed
<xSkyripper>
but keep in mine the first point: the peer from which you are fetching data should be within the reach (local or in public IP) of the browser node.
<xSkyripper>
so once the relay is done, what I need should work, right .. ?
<Scio[m]>
I think the relay is for signalling through "native" ipfs nodes, and the kademlia dht module is for discovery
<xSkyripper>
considering that I start the daemon with go-ipfs and use the js-ipfs-api, all on android
<Scio[m]>
oh, I see
<xSkyripper>
the "browser" environment refers to the api or the implementation ?
<xSkyripper>
it's a bit confusing for me :D
<Scio[m]>
well, the api really can't do pubsub yet. it does look like your choice is limited to using the signalling server for now
<xSkyripper>
"We currently don't support pubsub when run in the browser"
<xSkyripper>
run in browser ? does that point to the api or the daemon ?
<Scio[m]>
why not make the app with the webrtc-star discovery and then when the other mechanisms come around you can just take it out?
<xSkyripper>
that's one temporary workaround :D but if they won't work as I expected I won't have time to start a new implementation xD
<xSkyripper>
note: it's my bachelor thesis project
<Scio[m]>
ah, if it's a choice between using js-ipfs hoping that local discovery gets implemented in the future or something else, then that's another matter entirely
<xSkyripper>
exactly
<Scio[m]>
tough call, but then what other options do you have for doing local discovery in a browser>
<Scio[m]>
?
<xSkyripper>
wait or webrtc ...
<xSkyripper>
so yea, no ther options :(
<xSkyripper>
other*
<Scio[m]>
well, js-ipfs is already working on webrtc, but for that you need a signalling server too
<victorbjelkholm>
would be cool if js-ipfs could support using FlyWeb for local discovery between browser nodes ( https://flyweb.github.io/ )
<xSkyripper>
hmm, still thinking about the go + js api
<Scio[m]>
are there cordova plugins that act as signalling servers?
<Scio[m]>
yeah, flyweb would be awesome! but isn't flyweb itself moving kinda...slowly?
<xSkyripper>
victorbjelkholm: my hopes are for a near, near future :D
<xSkyripper>
so I cannot wait too long .. july is the deadline month
<Scio[m]>
oh wow
<xSkyripper>
and I must have a working android app
<xSkyripper>
the main idea / features of my app are not that hard to implement. but saying this again: local discovery NEEDED a lot ..
<xSkyripper>
back on the api topic, do you think that this "We currently don't support pubsub when run in the browser," refers to the daemon or the api itself ?
<Scio[m]>
well, js-ipfs api certaily can do pubsub, so it must mean that js-ipfs-api has the pubsub api enabled only inside node and not in the browser
<Scio[m]>
oops, "I mean js-ipfs certainly can do pubsub," not "js-ipfs api"
<xSkyripper>
so there's no way for me to use go + js api ..
<xSkyripper>
especially for the that that the api will behave like inside a browser on a cordova / other js frameworks for android
<xSkyripper>
"especially for the fact" *
<Scio[m]>
is there a way to run node inside an app in android?
espadrine has joined #ipfs
<xSkyripper>
there's a project called jxcore but it hasn't been updated for like 1-2 years ?
<xSkyripper>
i think the team dropped the project ...
mahloun has joined #ipfs
<xSkyripper>
might give it a try though
<xSkyripper>
but I don't really have high hopes for that. I had problems using js-ipfs locally
obensource has joined #ipfs
<xSkyripper>
it's still impossible for me to install jsipfs globally with npm
<Scio[m]>
why?
<xSkyripper>
permission errors, also something about node_gyp
<xSkyripper>
but if jxcore's embedded node works, it won't really matter, as it work installing it on the local project
<xSkyripper>
and the local discovery works in node env :D
<Scio[m]>
I have npm:ipfs installed globally right now, and that sounds more like a problem with node, I sometimes used to get node-gyp build errors I had to purge reinstall node-gyp as well as gyp to fix
<Scio[m]>
I hope it does!
<xSkyripper>
that's good to know ! thanks !
obensource has quit [Ping timeout: 260 seconds]
<Scio[m]>
it looks like there's a jxcore plugin for cordova too!
<xSkyripper>
yeap yeap :D what bugs me is that they're all outdated
<Scio[m]>
I wonder how an npm package with native components would work inside jxcore though, worth a try right?
<xSkyripper>
yeap, another thing that bugs me
<xSkyripper>
considerind that js-ipfs has lots of dependencies ? ..
<xSkyripper>
considering*
<Scio[m]>
Google's Nearby API doesn't work offline either, not many people care about this use-case it seems :[
taaeem has joined #ipfs
taaeem has quit [Client Quit]
gmcabrita has joined #ipfs
achin has joined #ipfs
bwn has joined #ipfs
<xSkyripper>
hope I'm not doomed 100% :(
<Scio[m]>
Have you looked at the existing cordova plugins for zeroconf and the native Network Service Discovery API?
<Scio[m]>
Not relevant for getting js-ipfs working, but it might still be possible to make an offline-discovering web-based app on Android
Jesin has quit [Ping timeout: 260 seconds]
Jesin has joined #ipfs
shizy has joined #ipfs
shizy has quit [Client Quit]
shizy has joined #ipfs
<xSkyripper>
not yet
<xSkyripper>
but just like you said, js-ipfs doesn't really use mdns
<xSkyripper>
and I'm bound to ipfs :D
<Scio[m]>
but you can make your own webrtc channels after you discover them
<Scio[m]>
service discovery has to be part of the way darnit! native people have all the fun (said no one ever!)
<Scio[m]>
*web, not way; joke ruined
<xSkyripper>
xD still a good one
<xSkyripper>
I'll try with jxcore first and analyze the results
<Scio[m]>
good luck
<xSkyripper>
thanks ! :D
<xSkyripper>
how may I contact you in the future ? :)
btmsn has quit [Remote host closed the connection]
bwn has quit [Ping timeout: 240 seconds]
shizy has quit [Ping timeout: 260 seconds]
mahloun has quit [Ping timeout: 260 seconds]
HostFat has joined #ipfs
bertschneider has joined #ipfs
togart has joined #ipfs
mahloun has joined #ipfs
caiogondim has joined #ipfs
maxlath1 has joined #ipfs
maxlath has quit [Ping timeout: 260 seconds]
maxlath1 is now known as maxlath
JayCarpenter has joined #ipfs
ashark has joined #ipfs
obensource has joined #ipfs
obensource has quit [Ping timeout: 240 seconds]
tmg has quit [Ping timeout: 240 seconds]
mahloun has quit [Ping timeout: 240 seconds]
shizy has joined #ipfs
maxlath has quit [Ping timeout: 260 seconds]
maxlath1 has joined #ipfs
mahloun has joined #ipfs
maxlath1 is now known as maxlath
leeola has joined #ipfs
appa has quit [Ping timeout: 240 seconds]
togart has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ylp has quit [Quit: Leaving.]
mahloun has quit [Ping timeout: 240 seconds]
togart has joined #ipfs
LeerSpace has joined #ipfs
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
LeerSpace has quit [Quit: Page closed]
Foxcool has quit [Remote host closed the connection]
Boomerang has joined #ipfs
maxlath has quit [Quit: maxlath]
Boomerang has quit [Remote host closed the connection]
Foxcool has joined #ipfs
anewuser has joined #ipfs
citizenErased has joined #ipfs
robattila256 has joined #ipfs
togart has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
john4 has joined #ipfs
john2 has quit [Ping timeout: 268 seconds]
<plindner>
Curious if there's been a concerted effort to add IPFS as an image storage option for popular web packages like Wordpress or GNU Social?
<lgierth>
plindner: it would be wiser to just use one of the existing "export as static website" plugins of CMSes
<lgierth>
dump the resulting html+assets into ipfs
<plindner>
lgierth: but that just takes the existing site and converts it. With native support you'd get deduplication, better scalability and the ability for viewers to serve up content using js-ipfs...
john2 has joined #ipfs
<Ylebre>
plinder: the problem is that the CMS needs a re-think to store all its data in ipfs
<Ylebre>
(I've been working on exactly that for the last year)
john4 has quit [Ping timeout: 240 seconds]
mahloun has quit [Quit: WeeChat 1.7]
<plindner>
Ylebre: I agree about that. Image hosting seems like a much smaller subset to tackle.
espadrine has joined #ipfs
<Ylebre>
the problem is that a package like wordpress needs a database to gather the data from, then runs the templates server-side and gives the browser the end result
<plindner>
I've been looking at how Known (withknown.com) could use IPFS recently and thought I'd see if anyone had gone down that road.
<Ylebre>
(which is the same end result you'd get with the static site exports)
<plindner>
Indeed. A better place to start might be Movable Type. That always supported an export to FTP option, might be easier to integrate.
<Ylebre>
the path we are on is to take the concept of a CMS, and move as much of the logic to the browser as we can
<Ylebre>
so the server part is only needed to serve simple files, which makes it easy to deploy on ipfs
<aer[m]>
kodo: how did you know that I was in ##esperanto?
<plindner>
Great to hear Ylebre - any way I can keep up to date with your progress?
<Ylebre>
I've been experimenting with saving webpages to ipfs - basicly all that I'm missing at this point is pinning and ipns changes from the browser to complete the proof of concept
Boomerang has joined #ipfs
<kodo[m]>
aer: ĉar mi ankaŭ estas en ##esperanto amiko :P
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Aranjedeath has quit [Ping timeout: 260 seconds]
rushmorem has joined #ipfs
jedahan has joined #ipfs
rushmorem has quit [Quit: Page closed]
neurrowcat has joined #ipfs
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedahan has joined #ipfs
Aranjedeath has joined #ipfs
Jesin has quit [Quit: Leaving]
A124 has quit [Quit: '']
A124 has joined #ipfs
MrControll has joined #ipfs
<dgrisham>
when I run `ipfs bitswap ledger`, it looks like the ledger isn't storing the number of bytes sent to the peer in question, just the number received. is this intentional right now?
MrControll has quit [Read error: Connection reset by peer]
HostFat_ has joined #ipfs
HostFat has quit [Ping timeout: 255 seconds]
ashark has quit [Ping timeout: 240 seconds]
MrControll has joined #ipfs
Encrypt has quit [Quit: Quit]
mahloun has joined #ipfs
citizenErased has quit [Ping timeout: 260 seconds]
Boomerang has quit [Quit: Lost terminal]
seagreen has quit [Ping timeout: 258 seconds]
mahloun has quit [Ping timeout: 260 seconds]
crankylinuxuser2 has joined #ipfs
rcat has quit [Remote host closed the connection]
<crankylinuxuser2>
greetings all. im trying to make heads and tails of the new pubsub mechanism. How is the data being published, and how would I see the data that is being pushed?
<crankylinuxuser2>
I'm familiar with MQTT and AMQP (rabbitmq), so its not the pubsub aspects that confuse me here.
<dgrisham>
whyrusleeping, Kubuxu: pinging for my previous msg in case you're around
dgrish has quit [Quit: WeeChat 1.7]
crankylinuxuser2 has quit [Quit: Leaving.]
shizy has quit [Ping timeout: 252 seconds]
fnurl has quit [Read error: Connection reset by peer]
fnurl has joined #ipfs
sirdancealot has quit [Ping timeout: 240 seconds]
fnurl has quit [Read error: Connection reset by peer]
fnurl has joined #ipfs
bwn has joined #ipfs
ebarch has quit [Remote host closed the connection]