Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPFS runs as a Service Worker! #55

Closed
flyingzumwalt opened this issue May 22, 2017 · 9 comments
Closed

IPFS runs as a Service Worker! #55

flyingzumwalt opened this issue May 22, 2017 · 9 comments
Labels
epic status/in-progress In progress topic/origin Issues related to Origin-based security

Comments

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 22, 2017

Run an IPFS node inside a service worker and serve all your IPFS Urls directly from IPFS!

Repo:
https://github.com/ipfs/ipfs-service-worker

Please use this issue to discuss roadmap, etc around this worker. Code discussions go in the repo.

@diasdavid will add a link to a video with demo and discussion from the 22 May All Hands call

@daviddias
Copy link
Member

All right, after 14 failed attempts on trimming and uploading the video using 3 different apps, I finally managed to go around Zoom's corrupted files and upload the cut from the All Hands with this demo, woof!

https://youtu.be/xnX0Mz4mPQI

Apologies for the wait

@dryajov
Copy link
Member

dryajov commented May 23, 2017

@diasdavid Super stoked on seeing this finally working!!! 👍

@linonetwo
Copy link

linonetwo commented Mar 28, 2018

I was inspired and wrote https://github.com/linonetwo/ipfs-browser-gateway
It's very easy to use ipfs in the browser now.

@daviddias
Copy link
Member

@linonetwo that's rad! Wanna deploy it somewhere so that it is easy to share it with others?

@linonetwo
Copy link

@diasdavid OK~ I'll deploy it to now.sh after I remove all hardcoded parts

@lidel
Copy link
Member

lidel commented Jun 12, 2018

@vasco-santos is pushing this endeavor bit further in ipfs-shipyard/service-worker-gateway:

An IPFS gateway fully running on a Service Worker, in order to serve all your IPFS urls directly!

@lidel
Copy link
Member

lidel commented Nov 16, 2018

@Gozala
Copy link

Gozala commented Jan 7, 2019

just posting this link here #137 for the relevancy

@lidel lidel added the epic label Feb 11, 2019
@lidel
Copy link
Member

lidel commented Dec 14, 2020

I believe end-to-end example of using js-ipfs node in SharedWorker from ServiceWorker added in ipfs/js-ipfs#3374 is the best we can do on the web platform for now.

See: https://github.com/ipfs/js-ipfs/tree/master/examples/browser-service-worker#using-js-ipfs-node-in-sharedworker-from-serviceworker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic status/in-progress In progress topic/origin Issues related to Origin-based security
Projects
None yet
Development

No branches or pull requests

6 participants