Skip to content

romainbou/scrape-to-ipfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Scaper that adds the files to IPFS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published