Your terminal, anywhere. Run AI coding agents and TUI apps on your machine, access them from any browser.
Your terminal, anywhere. Run AI coding agents and TUI apps on your machine, access them from any browser.

You kick off Claude Code on a complex refactor. It’s going to take a while. Now you need to leave your desk — grab lunch, head to a meeting, go home. Your options:
MidTerm serves your terminal through a browser. Start a task on your main rig, continue watching from your laptop, phone, or tablet. Your machine does the work. You stay connected.
Your PC Anywhere
┌─────────────────┐ ┌─────────────────┐
│ Claude Code │ HTTPS │ │
│ OpenAI Codex │◄────────────►│ Browser │
│ Any TUI app │ WebSocket │ │
└─────────────────┘ └─────────────────┘
Full power Full access
Perfect for:
macOS / Linux:
curl -fsSL https://tlbx-ai.github.io/MidTerm/install.sh | bash
Windows (PowerShell 5.1+ or pwsh):
irm https://tlbx-ai.github.io/MidTerm/install.ps1 | iex
Windows (cmd):
powershell -c "irm https://tlbx-ai.github.io/MidTerm/install.ps1 | iex"
The installer will:
| Option | Best for | Privileges |
|---|---|---|
| System service | Always-on access, headless machines, remote access before login | Requires admin/sudo |
| User install | Try it out, occasional use, no admin rights | No special permissions |
| Platform | Download |
|---|---|
| macOS ARM64 | mm-osx-arm64.tar.gz |
| macOS x64 | mm-osx-x64.tar.gz |
| Windows x64 | mm-win-x64.zip |
| Linux x64 | mm-linux-x64.tar.gz |
MidTerm exposes terminal access over the network. Security is mandatory:
Change your password anytime in Settings > Security.
Terminals are created at the optimal size for your current screen. When viewing from a different device:
For access outside your local network:
Tailscale — The easiest option. Install on your machine and phone, access via http://your-machine:2000. Free for personal use.
Other options:
mm [options]
--port 2000 Port to listen on (default: 2000)
--bind 0.0.0.0 Address to bind to (default: 0.0.0.0)
--version Show version and exit
--hash-password Hash a password for settings.json
Settings stored in:
%ProgramData%\MidTerm\settings.json (Windows) or /usr/local/etc/MidTerm/settings.json (Unix)~/.MidTerm/settings.json{
"defaultShell": "Pwsh",
"defaultCols": 120,
"defaultRows": 30,
"authenticationEnabled": true,
"passwordHash": "$PBKDF2$100000$..."
}
Prerequisites:
git clone https://github.com/tlbx-ai/MidTerm.git
cd MidTerm
# Build
dotnet build src/Ai.Tlbx.MidTerm/Ai.Tlbx.MidTerm.csproj
# AOT binary (platform-specific)
cd src/Ai.Tlbx.MidTerm
./build-aot-macos.sh # macOS
./build-aot.cmd # Windows
./build-aot-linux.sh # Linux
Contributions welcome! See CONTRIBUTING.md for guidelines.
Note: All contributions require acceptance of our Contributor License Agreement.
GNU Affero General Public License v3.0
Commercial licensing available — contact for details.
Created by Johannes Schmidt