Open-source Telegram Mini App. Full terminal with smart buttons, Claude Code integration, and voice input. No SSH app needed.
That moment when you need your terminal and all you have is your phone.
Production alert fires. You're at dinner with family. Your laptop is in the car. The SSH app on your phone keeps timing out.
CI/CD pipeline is red. You're on the train. The fix is one command, but typing it on a phone keyboard takes 3 attempts and 5 minutes.
Claude Code is running your migration. It needs you to approve 12 file edits. You need to type 'Y' + Enter twelve times. On a phone.
Traditional SSH apps don't solve this. They give you a terminal with a tiny keyboard. teletty gives you smart buttons.
teletty scans terminal output for interactive prompts and renders one-tap buttons. 7 pattern types. 88 lines of regex. Zero AI needed.
Dangerous commands are highlighted in red. Auto-approve mode will NOT approve these.
The only mobile terminal with native AI coding agent support.
889 lines of code. 7 files. Zero frameworks. Zero build step.
Sessions survive disconnects, network drops, even server restarts. Close Telegram, come back hours later -- you're exactly where you left off.
Push-to-talk voice input. Dictate terminal commands when typing isn't practical. Web Speech API with optional Azure Whisper server-side fallback.
Up to 4 concurrent terminal sessions. Switch between servers, logs, and deployments instantly. Each tab is an independent tmux session.
Management API lets you execute commands via HTTPS when SSH is completely down. Protected by token auth. Your lifeline when nothing else works.
HMAC-SHA256 verification via Telegram. No passwords to remember, no SSH keys to manage. Whitelist by Telegram user ID. Simple and bulletproof.
Every terminal session is automatically recorded via tmux pipe-pane. Full accountability for every command executed. Stored in /var/log/terminal-sessions/.
Your teletty instance is YOUR private terminal. No one else can access it.
From zero to terminal-on-your-phone.
Open @BotFather in Telegram. Send /newbot. Choose a name. Get your token. Takes 60 seconds.
Give the install prompt to Claude Code or any AI agent. It installs Node.js, tmux, clones teletty, configures HTTPS, creates the systemd service. You provide the token.
Tap the Terminal button in your Telegram bot. Authenticate automatically. Full terminal with smart buttons, voice, multi-tab. Done.
Three ways to deploy. Pick your favorite.
Copy this prompt and give it to Claude Code, Cursor, or any AI coding agent connected to your server:
Deploy teletty (github.com/olegchetrean/teletty) on this server.
Read the CLAUDE.md in the repo for full instructions.
Ask me for my Telegram bot token and user ID before configuring.
Set up HTTPS with Caddy or Cloudflare Tunnel.
Create a systemd service. Verify with /health endpoint.
Clone the repo and start with Docker Compose:
git clone https://github.com/olegchetrean/teletty && cd teletty
cp .env.example .env
nano .env # Set BOT_TOKEN, ALLOWED_USER_IDS, SESSION_SECRET
docker compose up -d
Clone, configure, and start manually:
git clone https://github.com/olegchetrean/teletty && cd teletty
cp .env.example .env && nano .env
npm install
node server.js # or: pm2 start server.js --name teletty
Side by side with the alternatives.
| Feature | teletty | SSH Apps (Termius) | Web Terminals (ttyd) | Telegram Bots |
|---|---|---|---|---|
| No install on phone | ✓ | -- | -- | ✓ |
| Smart buttons | ✓ | -- | -- | -- |
| AI agent support | ✓ | -- | -- | -- |
| Session persistence | ✓ | Partial | -- | -- |
| Voice input | ✓ | -- | -- | -- |
| Mobile optimized | ✓ | ✓ | -- | Partial |
| Multi-tab | ✓ | ✓ | -- | -- |
| Auto-approve mode | ✓ | -- | -- | -- |
| Dangerous cmd detection | ✓ | -- | -- | -- |
| Open source & free | ✓ | Paid ($10/mo) | ✓ | Varies |
889 lines of code. Zero frameworks. 100% open source.
Star on GitHubgithub.com/olegchetrean/teletty