persistent-web-terminal
v1.0.2
Published
A persistent web-based terminal with xterm.js and dtach
Maintainers
Readme
PWT
Persistent Web Terminal. Access your terminal from any browser. Sessions survive server restarts.
Install
npm install -g persistent-web-terminalRequires dtach (brew install dtach on macOS).
Usage
pwt # Start server
pwt -p 1234 # Set 4-10 digit PIN
pwt -p # Remove PIN
pwt -t # Enable ngrok tunnel
pwt -c # Prevent system sleep (macOS)
pwt -tc # Combine flagsFeatures
- Sessions persist across server restarts (via dtach)
- Multi-session support with tabs
- PIN authentication (MPIN-style keypad)
- ngrok tunneling for remote access
- Mobile-friendly with modifier key bar
- QR code for quick mobile access
Config
Stored in ~/.web-terminal/:
config.json- ngrok token, PIN hashsessions/- session metadatasockets/- dtach sockets
License
MIT
