scrape-to-ipfs

command module
v0.0.0-...-4b91e39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2018 License: MIT Imports: 11 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL