Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.12 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.12 KB

Static page to IPFS gateway

Build Status Go Report Card

Scapes a static web pages and automatically push and serve them via IPFS

Build and run with Docker

make image
make run-docker

Test

make test

Environement variables

Env Default Description
PORT 8000 Server listening port
GATEWAY_URL https://gateway.ipfs.io/ipfs/ IPFS HTTPS Gateway
IPFS_DAEMON localhost:5001 IPFS daemon address
TEMPLATES templates/ Templates folder

TODO

  • Scrape a page on request and replace or save all relative URLs
  • Push the files to an IPFS daemon
  • Redirect to an IPFS gateway
  • Publish the result to IPNS