Skip to content
Projets

À propos

⚡ A modern VPN client that lives in your terminal

Systèmes et infrastructure

Comment ces chiffres sont mesurés

What you can do

  • Modern protocols: VMess, VLESS, Trojan, WireGuard/AmneziaWG, Shadowsocks, Hysteria 1/2, TUIC, AnyTLS, SOCKS5 and others
  • Flexible: import subscriptions from raw links or Clash/Mihomo YAML, sing-box or Xray JSON with automatic refresh and a wide range of settings
  • Headless: the daemon and embedded sing-box core run independently from the TUI, keeping connections alive after you detach
  • Lightweight: ~50 MB RAM on Linux / MacOS and ~100 MB on Windows

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

justray

Last commit Platforms Version

A modern VPN client that lives in your terminal

English / Русский / 简体中文

meow >.<

Features

  • Modern protocols: VMess, VLESS, Trojan, WireGuard/AmneziaWG, Shadowsocks, Hysteria 1/2, TUIC, AnyTLS, SOCKS5 and others
  • Flexible: import subscriptions from raw links or Clash/Mihomo YAML, sing-box or Xray JSON with automatic refresh and a wide range of settings
  • Headless: the daemon and embedded sing-box core run independently from the TUI, keeping connections alive after you detach
  • Lightweight: ~50 MB RAM on Linux / MacOS and ~100 MB on Windows
  • Rule-based routing: rules for apps, domains, wildcard patterns and GeoIP/GeoSite
  • Cross-platform: runs in modern terminals on Linux, MacOS 13+, and Windows 1803+

Installation

Using package manager:

# Linux / MacOS
brew install luynrs/tap/justray
# Arch Linux
yay -S justray-bin
# Windows
winget install luynrs.justray

Alternatively, with x-cmd:

x eget use luynrs/justray

Or via script:

# Linux / MacOS
curl -fsSL https://raw.githubusercontent.com/luynrs/justray/main/install.sh | sh
# Windows
irm https://raw.githubusercontent.com/luynrs/justray/main/install.ps1 | iex

And my dear! Nix:

nix run github:luynrs/justray
# Home Manager
{
  imports = [ justray.homeManagerModules.default ];
  services.justray.enable = true;
}

Usage

Package manager (except WinGet) and script installations also provide jray as a short alias for justray

  • justray: open the TUI

Connection

  • justray up <node> [--tun | --proxy]: start the daemon and connect
  • justray down: disconnect
  • justray stop: stop the daemon
  • justray probe [sub | id | name]: probe node latencies
  • justray status [--json]: show connection status
  • justray logs [daemon | engine] [-f]: view logs

Subscriptions & Nodes

justray subscription <command> or justray sub <command>

  • add <url>: add a subscription or raw protocol link
  • remove <id | name>: remove a subscription by ID or name
  • refresh [id | name]: refresh subscriptions
  • list [--json]: list subscriptions and nodes

Additional

  • -h, --help: show help
  • -v, --version: show the current version

Keybinds

Key Action Key Action
↑/↓, k/j Navigate Shift+↑/↓ Reorder subscriptions
←/→, h/l Fold / expand Enter Toggle / connect
Home / End Jump to top / bottom / Filter nodes
t / T Ping selected / all r / R Refresh selected / all
m Switch mode (PROXY / TUN) ? Show help
a Add subscription / node d Delete subscription
o Open settings Tab Switch settings tabs
Esc Save settings / cancel edit q, Ctrl+C Exit TUI

Screenshots

Main UI Wow... with add modal
JustRay JustRay (Add)
Main UI in TTY mode Settings
JustRay (TTY) JustRay (Settings)

License

GPL-3.0-or-later

Explorer des projets similaires

Chargement…