https://github.com/mayocream/hath-go
Go port of H@H Peer-2-Peer server.
https://github.com/mayocream/hath-go
Last synced: about 1 year ago
JSON representation
Go port of H@H Peer-2-Peer server.
- Host: GitHub
- URL: https://github.com/mayocream/hath-go
- Owner: mayocream
- License: gpl-3.0
- Created: 2021-05-01T11:19:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-16T07:49:17.000Z (about 5 years ago)
- Last Synced: 2025-04-10T10:06:58.011Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 89.8 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://ehwiki.org/wiki/Hentai@Home)
(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](https://github.com/valyala/fasthttp))
**Disadvantages**:
- Unstable (you might loss trust points for unexpected shutdown)
- No GUI provided
## Install
### From Source
```bash
$ go install github.com/mayocream/hath-go/cli/hath
```
## Usage
Edit your client config:
```bash
$ mkdir ~/.hath
$ nano ~/.hath/config.yaml
```
Copy/Paste these example config to `~/.hath/config.yaml`
```yaml
client_id: ""
client_key: ""
db_file: ""
```
```bash
$ hath -f config.yaml
```
## Development/Test
Change config file, print debug logs:
```yaml
debug: true
log_level: debug
```
## Todolist
- [ ] Goreleaser
- [ ] Fully test
- [ ] Documentation
- [ ] Support HTTP/3 (QUIC)
- [ ] GUI