Open Source · GPL-3.0

Persistent terminals
for AI-native developers.

The self-hosted terminal for Claude Code.

Close the tab, come back hours later — every session exactly where you left it.

Inspired by cmux and Warp

View on GitHub Quick Start
LociTerm desktop UI
LociTerm mobile UI

Features

Everything you need.
Nothing you don't.

A single binary with the React frontend embedded. The only runtime dependency is tmux.

Persistent Sessions

Every tab is a tmux session. Close your browser, restart the server, switch networks — your shell, vim, and long-running builds all stay alive.

Works Everywhere

Desktop and mobile-optimized UI. Tap-friendly controls, dedicated mobile input bar, and full IME support for Korean, Chinese, and Japanese.

Single Binary

~10 MB Go binary with the React frontend embedded. No Node.js runtime, no external dependencies — just tmux.

Workspaces & Tabs

Organize terminals by project. Workspaces group tabs; switch instantly with scrollback preserved. VS Code-style detach/attach.

Drag & Drop Upload

Drop files onto the terminal. They upload to the server and the absolute path is pasted at your prompt, ready for the next command.

Secure by Default

Bcrypt-hashed passwords, HttpOnly session cookies, upload sanitization. Front with Cloudflare Tunnel for instant HTTPS.

Quick Start

Terminal in your browser
in 60 seconds.

Clone, install, open. That's it.

Terminal
# Clone the repository
$ git clone https://github.com/Younkyum/Loci-Terminal.git
$ cd Loci-Terminal

# Install and run (Linux)
$ sudo bash deploy/install.sh

# Or use Docker
$ docker compose up -d --build

# Open http://localhost:8080

Deployment

Two modes. Pick yours.

Full host access for personal servers, or an isolated container for sandboxes.

Native Install

Full host access, SSH-equivalent. For personal dev boxes and home servers.

  • tmux survives server restart
  • Full filesystem access
  • ~10 MB disk footprint
  • systemd (Linux) / launchd (macOS)

Docker

Isolated Ubuntu 24.04 container. For sandboxes, demos, untrusted use.

  • Pre-installed Node.js, Python, zsh, git
  • Persistent home directory via volume
  • CJK font support built-in
  • One command to start

Tech Stack

Built with proven tools.

Frontend
React 19 + xterm.js
Backend
Go stdlib
Persistence
tmux + SQLite
Build
Vite + Docker

Ready to try it?

Self-host your persistent workspace in under a minute.