mayocream / hath-go

Go port of H@H Peer-2-Peer server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hath-Go

Hentai@Home (H@H) is an open-source Peer-2-Peer gallery distribution system which reduces the load on the E-Hentai Galleries. EHWiki

(Unofficial) Go port of H@H p2p server.

Compare to official Java program

Advantages:

  • Easy to run (No JIT environment and external steps)
  • Higher performance (based on fasthttp)

Disadvantages:

  • Unstable (you might loss trust points for unexpected shutdown)
  • No GUI provided

Install

From Source

$ go install github.com/mayocream/hath-go/cli/hath

Usage

Edit your client config:

$ mkdir ~/.hath
$ nano ~/.hath/config.yaml

Copy/Paste these example config to ~/.hath/config.yaml

client_id: ""
client_key: ""
db_file: ""
$ hath -f config.yaml

Development/Test

Change config file, print debug logs:

debug: true
log_level: debug

Todolist

  • Goreleaser
  • Fully test
  • Documentation
  • Support HTTP/3 (QUIC)
  • GUI

About

Go port of H@H Peer-2-Peer server.

License:GNU General Public License v3.0


Languages

Language:Go 98.0%Language:Makefile 1.1%Language:Dockerfile 0.6%Language:Shell 0.2%