Content-addressable storage redirector. https://radio.animebits.moe/player/hash/7c57e488c8c1
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
DataHoarder 6c960806b9
continuous-integration/drone/push Build is passing Details
Reorder HTTP headers before status codes
12 months ago
content Generalize signature and server types 1 year ago
utilities Use backing database for aliases and/or access checks 1 year ago
.drone.yml Updated dependencies, added /status endpoint, show indexes on per-hash /information 1 year ago
.gitignore Add Dockerfile 1 year ago
Dockerfile Updated Dockerfile golang version 1 year ago
FinalCommander.go Reorder HTTP headers before status codes 12 months ago
LICENSE Initial commit 1 year ago
README.md Update to go 1.18, added Garbage collection for badger 1 year ago
go.mod Reorder HTTP headers before status codes 12 months ago
go.sum Reorder HTTP headers before status codes 12 months ago

README.md

FinalCommander

Content-addressable storage redirector.

Usage

  • $ PRIVATE_KEY=<private key> ./fcmm -servers "server1:7777/100,server2:7777/100, -certificate example.crt -keypair example.key
  • Running without PRIVATE_KEY will generate an Ed25519 keypair first time, then exit.

$ go run .

Build via $ go build -o fcmm

Certbot notes

  • Use pip certbot
  • Edit .env to add paths to certificates
$ certbot certonly \
--standalone \
--key-type=ecdsa --elliptic-curve=secp256r1 \
--domain <domain> \
--post-hook "docker restart <docker name>"