Comments (15)
A friendly question: In a containerized world, is it a better use of developer resources to re-implement IPFS in Node.js or to provide a thin Node library which communicates with the canonical implementation?
from ipfs.
I'm a container dev
In a container wor-rrld
Life in cgroups
It's ... fruity loops!
cough Sorry.
I seem to recall that one of the IPFS team's goals was being able to make IPFS reads from the browser.
Various implications of that goal are left as an exercise for the reader.
from ipfs.
Thanks for the song! Who says engineers aren't creative?
I would love to see a version of IPFS hosted in the browser, but that's a different animal than a Node.js implementation.
from ipfs.
@kofalt 👍 ❤️
@NodeGuy though i started with Node, we switched to Go. But i really want to get a version of IPFS that works in node/iojs and the browser.
I was talking with @mafintosh about this earlier today, and it's going to be much easier to make go-ipfs usable from node -- this means:
- make it installable from npm (maybe using prebuilt binaries)
- a module to launch + control the ipfs daemon from node
- use @mappum's ipfs-api, which you can use to do everything through the ipfs API (it needs a readme).
So we're pretty close to this! It may be doable in a few days. Just need people interested enough to help me get it over the hump.
Second, making a full implementation of ipfs in node is a larger beast but very much worth doing. there's two levels to this:
- make an ipfs.js impl that conforms to the protocol (this depends on having a concrete spec, which i've started on and can make available soon)
- make the impl able to expose an http api that conforms to go-ipfs's http api. that way any frontend (webui or go-ipfs cli tool or others) can use it to control a node implemented in any language. (this depends on having a concrete api spec, which is worth having soon as it will document go-ipfs anyway)
Feel free to come discuss on irc (#ipfs on freenode) -- or keep talking here. We're interested in helping all of these efforts.
from ipfs.
summoning @sorribas / @watson because they might be interested in helping out
from ipfs.
@jbenet sounds like a fun project :) I think it would be pretty easy to create a thin node wrapper that just talks to the daemon if that was the first step you had in mind? I could give it a go if you'd like?
from ipfs.
@watson yeah, please do!
from ipfs.
@watson it looks like that's what @mappum has started with his node-ipfs-api, yes? Are you planning on collaborating with him or on starting a new project?
A bit about me: I'm working with Eris Industries and we're pretty excited about IPFS so I expect my involvement to increase over time.
from ipfs.
I'd like to help out with this! I'm still grokking the whitepaper for the protocol definition, but would appreciate some guidance on actual implementation.
from ipfs.
@martindale our go implementation is currently the 'reference' implementation, and we are working on more detailed specs over at ipfs/specs, stop by our irc channel, #ipfs on freenode and chat sometime!
from ipfs.
update:
- https://www.npmjs.com/package/ipfs-api now has a readme + examples. (thanks @travisperson)
- we need a
ipfs-deamon-ctl
that starts, stops, manages any ipfs node (regardless of impl language) as discussed above. - after that, we'll make an atom-shell packaged node so it's trivially easy to install + keep running ipfs nodes.
from ipfs.
@jbenet sorry for being off the radar for a while. I suddenly had to focus on some server issues #startuplife... I see though that the ball is rolling with help from @mappum - it looks really good! :) Let me know if there is anything I can do
from ipfs.
Hey @watson no worries. actually, making https://github.com/ipfs/node-ipfsd-ctl would be very helpful-- i had to ctx switch away from it. (I'll get it done sometime this week unless someone beats me to it)
from ipfs.
So, I remember reading about utorrent in the browser, and the fact that the browser doesn't support udp or tcp directly. What are you planning to use instead? Does your current protocol work over WebRTC? or would adopting some of the https://github.com/feross/webtorrent js code be a good starting point?
They can't interface with current bittorent clients due to the limitations of the browser, so they are creating a dual node/iojs server that speaks both protocols as a stop gap, and they hope that other clients catch up.
If that will be an issue here, it might be something to look into doing, creating a web focused version over WebRTC.
from ipfs.
Closing. Refer to github.com/ipfs/js-ipfs for our current work doing this in JS.
from ipfs.
Related Issues (20)
- Let apps using IPFS define app-specific DHT for content routing HOT 5
- glob-source.js under /ipfs-utils causes compiling error on IOS HOT 2
- Work with existing organizations to improve adoption HOT 2
- Do not open issues in this repository HOT 2
- Reference and/or implement IPFS kernel modules HOT 3
- 2021-08-20 ipfs.io outage Post Mortem Tracking issue HOT 4
- Renaming ipfs implementations 2021/2022 edition HOT 17
- Make default bootstrappers used by IPFS/libp2p be a more robust list. HOT 3
- Private IPFS cluster doesnt sync with public HOT 2
- Cleanup "docs" around other implementations and the IPFS community HOT 2
- RFC TO LINK A ETHEREUM, SSH, AND OTHER CRYPTOGRAPHIC IDENTITY TO AN IPFS HASH AND "A TRAIL" TO FURTHER IPFS FOR THAT HASH. HOT 1
- How to add a CID to the 'ipfs bitwap wantlist' list of other nodesDo not open issues in this repository HOT 2
- IPNS over DHT when querying website is quite slow HOT 2
- 同步速度很慢,访问的比较慢 HOT 2
- failed to find any peer in table HOT 2
- [Tracking Issue] Shutdown PL-hosted delegated and preload nodes HOT 3
- Can't upload 400+MB files HOT 2
- Unpin this repo
- i run ipfs on a kubernetes, yaml as follow:Error: resource temporarily unavailable HOT 1
- [Tracking Issue] "Interplanetary Stack" Github permissions cleanup 2024Q1 HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipfs.