Bushuray-tui

command module
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

image

AUR

Bushuray-tui

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

How to use

Bushuray is currently available on AUR under the name of bushuray-git

For other distrobutions download and extract the latest version from releases section then run

./bushuray

Configuration

Bushuray will create its configuration file in ~/.config/bushuray/config.json with the following template:

{
   "socks-port": 3090,
   "http-port": 3091,
   "core-tcp-port": 4897,
   "test-port-range": {
    "start": 3095,
    "end": 30120
   },
   "test-url": "https://cp.cloudflare.com",
   "no-background": false,
   "auto-connect-on-start": false,
   "remove-failed-profiles": false,
   "subscription-user-agent": "",
   "dns": {
    "servers": ["1.1.1.1"],
    "query-strategy": "UseIP",
    "mode": "proxy"
   }
}
  • socks-port: Exposed local socks5 port
  • http-port: Exposed local http port
  • test-port-range: Port range used for profile testing
  • test-url: The end-point which the connectivity of profiles will be tested on
  • no-background: Whether or not tui should have a background. Use this if you want your own terminal background or you have a transparent terminal
  • auto-connect-on-start: If true, bushuray will automatically try to connect to the last profile user was connected to when the program (specifically core) starts
  • remove-failed-profiles: If true, bushuray will automatically delete profiles that produced a failed test result after a new test. (This will not be applied to old test results)
  • subscription-user-agent: If you have a subscription that, let's say, works on Throne but not on bushuray, you can set this to "Throne" which will set subscription request user-agent to "Throne". This is useful because some providers may only support a few clients and therefore filter out other requests.
  • dns:
    • servers: list of dns servers to use. localhost will use the default system dns
    • query-strategy: UseIP | UseIPv4 | UseIPv6 | UseSystem. This will directly be passed to xray dns object. You should mostly use UseIP if you're setting a dns server other than localhost
    • mode: proxy | system. If set to system, will use default system dns. if set to proxy, will use the servers provided in servers and tunnel them through the profile

Tun mode

To use tun mode, connect to a profile 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.

Thanks to @navidmafi and @jpegMushrum for their help with tun mode issues

Debugging

If something is not working as expected, you can examine debug.log and core-debug.log. For example:

tail -f core-debug.log

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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