2021-12-18 18:14:16 -05:00
2021-12-18 18:14:16 -05:00
2021-07-11 01:16:59 -04:00
2021-07-10 23:35:47 -04:00
2021-07-10 18:56:51 -04:00
2021-07-11 00:33:12 -04:00
2021-12-18 18:14:16 -05:00
2021-07-12 11:29:13 -04:00
2021-12-18 18:14:16 -05:00
2021-12-18 18:14:16 -05:00

Gemini Fileserver for I2P

This is a static fileserver that speaks the Gemini protocol that defaults to only using I2P connections, while retaining all of Gemini's TLS-based authentication features. Just make sure that it has a directory of files to share(./www by default, pass the -files flag to change it) and i2p-gemini will take care of the rest.

An instance of it is sometimes available at this address.

  • gemini://3sswn7xy4v4ev2q2o3r3cr5hxsoowbf5i6wksqxebpuv3zsva3nq.b32.i2p

Anyone with a Go toolchain installed should be able to install with go get -u i2pgit.org/idk/i2p-gemini file www/i2p-gemini www/i2p-gemini-osx www/i2p-gemini.exe

Here's a screenshot of it running in gneto.

running in gneto

Usage of ./www/i2p-gemini:
  -certs string
    	Directory where server certificates(TLS) will be stored (default "var/lib/gemini/certs")
  -files string
    	Directory of files to serve up with Gemini (default "www")
  -name string
    	Name of the service to pass to SAM (default "i2pgemini")
  -sam string
    	SAM API to connect to and user (default "127.0.0.1:7656")

The source code is a single .go file, requiring these modules. You can download a static binary for linux here: i2p-gemini, for OSX here: i2p-gemini-osx and for Windows here i2p-gemini.exe

www/i2p-gemini: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=deBqK0Rmuuf75w4cVqQF/DBvOGYAjH2INkxFrMbNv/1OnEExoj7QTPDvcLOKEK/QUUZHx5X2lYtiYqlKNy2, not stripped
120f010cda79260a6419d0f4cde7763eed9f70f15034f38f174bafb8543b333f  www/i2p-gemini

www/i2p-gemini-osx: Mach-O 64-bit x86_64 executable
9d6c41b59cbc55aff91eddc07b28a0ebb2ba214df59bc747ea9bc9f42a9435ca  www/i2p-gemini-osx

www/i2p-gemini.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
82672fce152046b83bd40123d31c76b00ef6a0738b0f2280abef4f85135f57c7  www/i2p-gemini.exe
Description
Gemini file-server I whipped up in the time it took for the pizza to get here from an example at: https://git.sr.ht/~adnano/go-gemini
Readme 16 MiB
Languages
CSS 50.4%
HTML 21%
Go 20.3%
Makefile 8.3%