Bushuray-tui is a keyboard-driven Xray client built for your terminal. It uses Bushuray-core as its back-end and It's written in Go with bubbletea
Download and extract the latest version from releases section then run
./bushuray
Bushuray will create its configuration file in ~/.config/bushuray/config.json with the following template:
{
"socks-port": 3090,
"http-port": 3091,
"test-port-range": {
"start": 3096,
"end": 30120
},
"no-background": false
}socks-port: Exposed local socks5 porthttp-port: Exposed local http porttest-port-range: Port range used for profile testingno-background: Whether or not tui should have a background. Use this if you want your own terminal background or you have a transparent terminal
To use tun mode, simply connect to a client then press v. Tun mode is experimental at this time but should work. If it doesn't, please create an issue. Running as root raises security concerns for the current version, see this issue.
- If you are experiencing DNS issues, try setting 8.8.8.8 as your primary DNS. This issue is being tracked here
Thanks to @navidmafi for his help with tun mode issues
If something is not working as expected, you can examine debug.log and core-debug.log. For example:
tail -f core-debug.log