hath-go

module
v0.0.0-...-757ae40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2021 License: GPL-3.0

README

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

Directories

Path Synopsis
cli
pkg
hath
Package hath client/server side impl
Package hath client/server side impl
wrr
Package wrr contains the interface and common implementations of wrr algorithms.
Package wrr contains the interface and common implementations of wrr algorithms.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL