Your terminal, anywhere|

Access your dev workspace from your phone, browser, or via AI.
Secured with Tailscale. No port forwarding. No complexity.

Star on GitHub -

Three ways to access your workspace

Web Terminal

Full xterm.js terminal in your browser. Color support, copy/paste, responsive design. Works on mobile.

Telegram Bot

Run commands from your phone. Quick shortcuts or raw shell commands. Perfect for on-the-go.

LLM Mode

Natural language commands. Just describe what you want — the AI figures out the rest.

Tailscale Powered

Always-on mesh VPN. Install once on your devices — they stay connected. No manual connect, no port forwarding, end-to-end encrypted.

How it works

1

Install & Start

Run npx remote-terminal start on your dev machine. Takes 30 seconds.

2

Set up Tailscale

Install Tailscale on your dev machine and phone/tablet. They auto-connect on the same private network — no port forwarding needed.

3

Access from Anywhere

Open the web terminal, use Telegram bot, or chat with AI. Tailscale keeps you connected wherever you are.

See it in action

Access your terminal from anywhere — via Telegram bot or web browser.

Telegram Bot

Control your terminal through natural conversation

Web Terminal

Full terminal access from any browser

Talk to your terminal

LLM mode lets you use plain English. No need to remember commands.

You "show me files changed this week"
AI Running: git log --since="1 week ago" --name-only
You "find all TODO comments"
AI Running: grep -r "TODO" --include="*.js"

Get started in 2 minutes

Terminal
# Clone the repository
git clone https://github.com/chintan-diwakar/remote-terminal.git
cd remote-terminal

# Install dependencies
npm install

# Configure (add your Telegram token, OpenAI key)
cp .env.example .env

# Start the server
npm start

Configuration

Add these to your .env file:

  • TELEGRAM_BOT_TOKEN — Get from @BotFather
  • TELEGRAM_ALLOWED_USERS — Your user ID from @userinfobot
  • OPENAI_API_KEY — For LLM mode (optional)