Skip to content
Chintan's Blog
Go back

remote-terminal: Access Your Dev Workspace From Anywhere

Edit page

I built remote-terminal because I was tired of being tethered to my desk. Whether I’m on my phone waiting for a deploy, on my iPad at a coffee shop, or just away from my main machine — I wanted full access to my terminal without VPNs, port forwarding, or complex setup.

Table of contents

Open Table of contents

The Problem

As developers, we’ve all been there:

The existing solutions are either too complex (setting up VPNs, exposing ports) or too limited (basic SSH apps that are painful on mobile).

The Solution: remote-terminal

remote-terminal is an open-source CLI tool that gives you three ways to access your terminal:

  1. Web Terminal — Full terminal in your browser, secured with Tailscale
  2. Telegram Bot — Run commands directly from Telegram chat
  3. LLM Mode — Natural language commands powered by AI

All secured through Tailscale’s zero-trust network — no exposed ports, no complex firewall rules.

How It Works

1. Web Terminal

Access a full xterm.js terminal from any browser. It’s like SSH, but through a web interface that works great on tablets and even phones in a pinch.

Web terminal running Claude Code

The web terminal supports:

2. Telegram Bot

This is where it gets interesting. Connect a Telegram bot to your terminal and run commands directly from chat.

Telegram bot with /start command

Available commands include:

3. LLM Mode — The Game Changer

Here’s what makes remote-terminal different. Toggle /llm mode and suddenly you can talk to your terminal in plain English:

LLM mode in action

Instead of remembering exact commands, just ask:

The LLM translates your intent into the right commands, executes them, and explains the results. It’s like having a terminal assistant in your pocket.

Security with Tailscale

Everything runs through Tailscale’s mesh VPN:

Quick Start

# Install
npm install -g remote-terminal

# Set up environment
export TAILSCALE_HOSTNAME="your-machine.tailnet-name.ts.net"
export TELEGRAM_BOT_TOKEN="your-bot-token"  # Optional
export OPENAI_API_KEY="your-key"  # Optional, for LLM mode

# Run
remote-terminal

That’s it. Your terminal is now accessible from:

Use Cases

On-call debugging: Get paged at 2am? Check logs and restart services from your phone without getting out of bed.

Coffee shop coding: Left your laptop at home but have your iPad? Full terminal access through the browser.

Quick checks: Waiting in line? Check if your deploy succeeded via Telegram.

Teaching/Demos: Show your terminal to others through a secure web link.

AI-assisted ops: Not sure of the exact command? Just describe what you want in LLM mode.

Open Source

remote-terminal is fully open source. Check it out:

Contributions welcome — whether it’s new features, bug fixes, or documentation improvements.

What’s Next

I’m actively working on:

If you try it out, I’d love to hear your feedback. Drop me a message or open an issue on GitHub.


remote-terminal is built with Node.js, xterm.js, Tailscale, and love for the command line.


Edit page
Share this post on:

Next Post
CopyBrewery: How I Built an AI Agent That Brews Marketing Copy From the Web