#tunnel #chat #hack #hackchat

app cucumis

hack.chat tunnel that resolves DNS pollution

1 unstable release

0.1.0 Aug 16, 2024

#258 in WebSocket

Download history 143/week @ 2024-08-13 6/week @ 2024-08-20

149 downloads per month

Unlicense

13KB
105 lines

cucumis

hack.chat tunnel that resolves DNS pollution

GitHub Actions Crates.io Downloads License GitHub repo size GitHub Repo stars GitHub commit activity GitHub contributors

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

$ 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

~14–23MB
~418K SLoC