1 unstable release
0.1.0 | Aug 16, 2024 |
---|
#296 in WebSocket
13KB
105 lines
Overview
cucumis
is a hack.chat tunnel that resolves DNS pollution for users in China. It can be used as a proxy server for your bots and work deadly fine with hackchat++ client.
Usage
$ cucumis
Just run with no options and a WebSocket tunnel will be launched on 127.0.0.1:9091
by default.
If you prefer some configuration:
$ cucumis --help
hack.chat tunnel that resolves DNS pollution
Usage: cucumis.exe [OPTIONS]
Options:
--host <HOST> Tunnel host [default: 127.0.0.1]
--port <PORT> Tunnel port [default: 9091]
--ip <IP> hack.chat real IP [default: 104.131.138.176]
--domain <DOMAIN> Dummy domain to bypass SNI [default: bake.lyka.pro]
--ws <WS> hack.chat WS url [default: wss://hack.chat/chat-ws]
-v, --verbose... Increase logging verbosity
-q, --quiet... Decrease logging verbosity
-h, --help Print help
-V, --version Print version
Installation
Installing from Crates.io (Recommended)
$ cargo install cucumis
$ cucumis --help
Building from Source
$ git clone https://github.com/jwcub/cucumis.git
$ cd cucumis
$ cargo run --release -- --help
Development
Before pushing your commits, be sure to run through all the checks:
$ cargo clippy
$ cargo fmt
$ cargo build
License
This project is licensed under the Unlicense.
Dependencies
~13–23MB
~414K SLoC