Content-addressable storage redirector. https://radio.animebits.moe/player/hash/7c57e488c8c1
Find a file
DataHoarder 6c960806b9
All checks were successful
continuous-integration/drone/push Build is passing
Reorder HTTP headers before status codes
2022-06-09 19:29:53 +02:00
content Generalize signature and server types 2022-06-06 20:14:34 +02:00
utilities Use backing database for aliases and/or access checks 2022-01-19 21:46:05 +01:00
.drone.yml Updated dependencies, added /status endpoint, show indexes on per-hash /information 2022-06-02 00:13:13 +02:00
.gitignore Add Dockerfile 2022-01-16 14:01:11 +01:00
Dockerfile Updated Dockerfile golang version 2022-06-02 00:16:28 +02:00
FinalCommander.go Reorder HTTP headers before status codes 2022-06-09 19:29:53 +02:00
go.mod Reorder HTTP headers before status codes 2022-06-09 19:29:53 +02:00
go.sum Reorder HTTP headers before status codes 2022-06-09 19:29:53 +02:00
LICENSE Initial commit 2022-01-16 13:49:45 +01:00
README.md Update to go 1.18, added Garbage collection for badger 2022-02-08 18:29:15 +01:00

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>"