尚未检测到更新。GitHub 发布版本后会显示在这里。
Persistent tmux sessions in your browser, behind Cloudflare Tunnel + Zero Trust Access
翻译准备中
正在加载完整 README。
查看完整 README ↗tmux attach works on the server too../install.sh does the Cloudflare side and installs the services.Your browser opens https://term.example.com. Cloudflare shows its login page first and lets only listed people through.
The request then travels through a tunnel to your server, where a small Node.js app attaches you to a tmux session.
You need a domain on Cloudflare, Zero Trust turned on, and a Linux server with systemd, tmux and Node.js 18 or newer. All on free plans. Details: Before you start.
git clone https://github.com/syan-dev/cloudflare-tmux.git
cd cloudflare-tmux
./install.sh
The installer asks three questions: your hostname, who may log in as [email protected]:youruser, and a
Cloudflare API token used only during setup
(how to create it).
Then open https://term.example.com and sign in with your Cloudflare account.
Step by step, with every dashboard click written out: Install.
cloudflare-tmux status # is it online?
cloudflare-tmux add [email protected] carol # let someone log in (invite them as a member first)
cloudflare-tmux people # who may log in, and when they last did
cloudflare-tmux doctor # something wrong? it tells you the fix
Full docs: https://syan-dev.github.io/cloudflare-tmux/
| Start here | |
|---|---|
| Before you start | the three things you need |
| Install | five minutes, one command |
| Add a person | let someone else log in |
| Using it | the dashboard, the terminal, files, your phone |
| Troubleshooting | cloudflare-tmux doctor, errors and fixes |
Reference: maintenance, settings, security model, two-step code, what gets created on Cloudflare, multi-user install.
npm install
AUTH_DISABLED=1 node server.js # http://127.0.0.1:7681, no Cloudflare needed
npm test
See CONTRIBUTING.md. Security issues: SECURITY.md.
MIT. Not affiliated with or endorsed by Cloudflare, Inc.