eephttpd

So, basically everything I put on i2p is a bunch of static files. Until now, I tried to host them using darkhttpd(a fork of lighttpd from Alpine which functions as a static Web Server) and by adding tunnel configuration information to tunnels.conf for i2pd. This is easier than manipulating a web interface, but still tedious and kind of error-prone. So instead, this serves simple static sites directly to i2p via the SAM API.

to build:

    git clone https://github.com/eyedeekay/eephttpd && cd eephttpd
    go get -u "github.com/eyedeekay/sam-forwarder"
    go get -u "github.com/eyedeekay/sam-forwarder/config"
    go build

to run:

    ./eephttpd

will serve the files from ./www, and store i2p keys in the working directory.

Usage

Description
eepHttpd is a web hosting tool for content in I2P, I2P sites, and I2P torrents. It's designed for sites that want to distribute their content to large groups of people who may wish to cache it offline.
Readme GPL-3.0 6.4 MiB
Languages
Go 72.1%
HTML 14.6%
Makefile 11.9%
Dockerfile 1.4%