All Projects → linonetwo → ipfs-browser-gateway

linonetwo / ipfs-browser-gateway

Licence: MIT license
An IPFS gateway without server, by utilizing service worker.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to ipfs-browser-gateway

Ipwb
InterPlanetary Wayback: A distributed and persistent archive replay system using IPFS
Stars: ✭ 350 (+1029.03%)
Mutual labels:  service-worker, ipfs
go-multiverse
Decentralized Version Control System
Stars: ✭ 76 (+145.16%)
Mutual labels:  ipfs
good-karma-kit
😇 A Docker Compose bundle to run on servers with spare CPU, RAM, disk, and bandwidth to help the world. Includes Tor, ArchiveWarrior, BOINC, and more...
Stars: ✭ 238 (+667.74%)
Mutual labels:  ipfs
dtinyurl
Dcentralized url shortening service base on ipfs
Stars: ✭ 19 (-38.71%)
Mutual labels:  ipfs
drive
Fission Drive 🗄
Stars: ✭ 21 (-32.26%)
Mutual labels:  ipfs
js-ipfs-mfs
[ARCHIVED] now part of the https://github.com/ipfs/js-ipfs repo
Stars: ✭ 27 (-12.9%)
Mutual labels:  ipfs
edge-mock
Tools for testing and developing CloudFlare worker apps.
Stars: ✭ 49 (+58.06%)
Mutual labels:  service-worker
pop
Run a point-of-presence within Myel, the community powered content delivery network.
Stars: ✭ 28 (-9.68%)
Mutual labels:  ipfs
ui5-service-worker-sample
ui5-service-worker-sample demonstrates how the Service Worker API, available in modern web browsers, could be used in a UI5 app to realize different caching strategies.
Stars: ✭ 16 (-48.39%)
Mutual labels:  service-worker
exploration-service-worker
Let's get started with ServiceWorker
Stars: ✭ 14 (-54.84%)
Mutual labels:  service-worker
ipfs-md-wiki
a decentered wiki system by ipfs and markdown
Stars: ✭ 99 (+219.35%)
Mutual labels:  ipfs
likecoin-wordpress
The WordPress plugin to integrate LikeCoin - Decentralized Publishing Infrastructure.
Stars: ✭ 19 (-38.71%)
Mutual labels:  ipfs
web-pwa
一个针对于 PWA 相关功能的库
Stars: ✭ 31 (+0%)
Mutual labels:  service-worker
generator-sf
Yeoman generator that scaffolds out a Symfony PHP app including Browsersync, various CSS preprocessors, jspm, webpack, browserify and Service Worker
Stars: ✭ 14 (-54.84%)
Mutual labels:  service-worker
eleventy-plugin-pwa
An eleventy plugin to generate service-worker for PWA. Powered by Google Workbox
Stars: ✭ 46 (+48.39%)
Mutual labels:  service-worker
demo-ipfs-id-qr-codes
Generates a QR Code of your IPNS URL and Public Key
Stars: ✭ 21 (-32.26%)
Mutual labels:  ipfs
Starlog
Starlog: Metadata Blockchain based on Substrate
Stars: ✭ 32 (+3.23%)
Mutual labels:  ipfs
lucky
Proof of luck Intel SGX and IPFS based blockchain.
Stars: ✭ 70 (+125.81%)
Mutual labels:  ipfs
vocdoni-node
A set of libraries and tools for the Vocdoni decentralized backend infrastructure, the main ground of our universally verifiable, privacy-centric and scalable digital voting protocol
Stars: ✭ 58 (+87.1%)
Mutual labels:  ipfs
filecoin-box
Filecoin flavored Ganache Truffle box
Stars: ✭ 23 (-25.81%)
Mutual labels:  ipfs

ipfs-browser-gateway

Given an IPFS multihash, print the content and try to render web page if the content is HTML.

Notice that currently deployed version in gh-page have problem loading website served with IFPS, it will only load files, videos and images.

Latest refactor is happened in exxhentai/rehentai-frontend, it will be merged here after being stabilized.

Development

This is a "create-react-app" app, so in local development just:

npm i && npm start

Deployment

To deploy this gateway by your self, replace all http://onetwo.ren/ipfs-browser-gateway/ in this repo with your own website.

You can fork it and deploy it via gh-pages: npm run deploy, or deploy it use now.

Drawback

  1. The first visit to a webpage hosted in IPFS is way slower than traditional HTTP page. Though server side gateway http://ipfs.io/ipfs is slow too. (but in next version you can add a peer, thus directly connect to it)
  2. Can't promise long-term cache, compared to a gateway running on a server, who can pin a file for a longer time.
  3. Don't work with AJAX likes fetch API, see my comment in ipfs/public-gateway-checker.
  4. May break service worker inside page delivered by ipfs (untested).

Road Map

  • Refactor
  • Cache

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].