No description
  • Rust 57.9%
  • TypeScript 38.6%
  • CSS 1.5%
  • Shell 1%
  • Python 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Max Fiedler 1f1c82da6a Refuse a folder move into its own subtree in the move itself
Two folder moves at the same moment, each of a folder into one below the
other, each passed the command's look up the tree on the tree as it was
before the other, and left a ring. The PostgreSQL trigger
shellstation_own_folder did not refuse it either: it looks up the tree
under its own snapshot, and the two moves lock no row the other locks.

In SQLite mode the look up the tree and the move are now one statement.
In PostgreSQL mode the move is a SERIALIZABLE transaction that looks up
the tree before it moves; a serialization failure or deadlock is tried
again, up to three attempts in all, and then given up with a plain
message and the server's error in the log. The folder_move command no
longer reads every folder for its own look.

Tests: three SQLite tests, among them two moves at once on a database
with two connections, and an ignored PostgreSQL test that replays the
race with a second client of the same role.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:25:11 +01:00
.claude Claude agent updates 2026-05-23 10:50:59 +02:00
.forgejo Restore the release builds' crate cache for their own lock file only 2026-11-16 20:37:55 +01:00
.vscode Upgrade russh 2026-04-13 22:06:19 +02:00
docs Refuse a folder move into its own subtree in the move itself 2026-11-25 14:25:11 +01:00
public Project initialization 2026-03-23 23:34:11 +01:00
src Keep the order of a place that holds rows of several owners 2026-11-25 12:02:25 +01:00
src-tauri Refuse a folder move into its own subtree in the move itself 2026-11-25 14:25:11 +01:00
ssh-testlab Publish the test lab's ports on localhost only 2026-11-12 20:50:21 +01:00
tools Application logging 2026-04-10 09:13:25 +02:00
.gitattributes Git linguist-vendored 2026-04-13 11:24:30 +02:00
.gitignore Add in-app updater via tauri-plugin-updater 2026-06-08 19:38:05 +02:00
.prettierignore Claude 2026-03-24 11:33:25 +01:00
.prettierrc.json Claude 2026-03-24 11:33:25 +01:00
CHANGELOG.md Refuse a folder move into its own subtree in the move itself 2026-11-25 14:25:11 +01:00
CLAUDE.md Move ADMIN_GUIDE, DESIGN, DEVELOPMENT, RELEASING into docs/ 2026-05-23 13:28:11 +02:00
eslint.config.js Tell a connect of the old page from the new by a per-page token 2026-11-10 10:53:29 +01:00
index.html Project initialization 2026-03-23 23:34:11 +01:00
justfile Crap 2026-05-23 13:24:30 +02:00
LICENSE Add GPL-3.0 license file and embed screenshot in README 2026-04-21 22:01:26 +02:00
package-lock.json Move folders and sessions by dragging them in the session tree 2026-11-20 13:54:52 +01:00
package.json Move folders and sessions by dragging them in the session tree 2026-11-20 13:54:52 +01:00
README.md Import SecureCRT button bars and the Command Manager 2026-11-09 17:34:55 +01:00
shellstation.png Add GPL-3.0 license file and embed screenshot in README 2026-04-21 22:01:26 +02:00
tsconfig.json Project initialization 2026-03-23 23:34:11 +01:00
tsconfig.node.json Refresh Rust + npm lockfiles to latest patches 2026-06-08 15:51:15 +02:00
vite.config.ts Add vitest harness and Terminal paste tests 2026-07-27 15:47:12 +02:00

ShellStation

Cross-platform terminal manager and SSH/Telnet client for network engineers and sysadmins.

ShellStation replaces tools like mRemoteNG and SecureCRT with a modern, open-source alternative that runs on Linux, macOS, and Windows.

ShellStation main interface

Why ShellStation?

Problem ShellStation
mRemoteNG is Windows-only Runs on Linux, macOS, Windows
XML session storage degrades at scale SQLite (local) or PostgreSQL (team) backend
PuTTY dependency for SSH Built-in SSH2 and Telnet — no external tools
Jump host setup is cumbersome First-class ProxyJump chaining with arbitrary hop depth
SecureCRT costs $100+/seat Free and open source
No multi-user session sharing PostgreSQL mode with row-level security for teams

Features

  • Built-in terminal emulator — xterm.js with WebGL rendering, themes, search, ligatures
  • SSH2 and Telnet — password, public key, keyboard-interactive authentication
  • Jump host chaining — connect through multiple bastions (A -> B -> C -> target)
  • Session management — folders, tags, search, drag-and-drop, bulk editing
  • Command broadcast — send commands to multiple sessions simultaneously
  • Import — migrate from mRemoteNG XML, SecureCRT XML (sessions, button bars and Command Manager), or CSV
  • Credential manager — secrets stored in the OS keychain (Keychain, Secret Service, Credential Manager)
  • Multi-user mode — shared PostgreSQL database with per-user visibility and credential isolation
  • Keyword highlighting — import SecureCRT highlight profiles or create your own
  • Session logging — automatic plain-text logs with ANSI stripping

Installation

Download the latest release for your platform from the Releases page:

  • Linux: .deb or .AppImage
  • macOS: .dmg
  • Windows: .msi

Linux: blank white window? Some GPU drivers, especially virtual GPUs in VMs, break WebKitGTK's DMABUF renderer. Add export WEBKIT_DISABLE_DMABUF_RENDERER=1 to ~/.profile and log out and back in; this applies to all WebKitGTK apps in your session. See Common Issues (Linux).

Building from Source

Prerequisites: Rust, Node.js (v18+), and the Tauri prerequisites for your OS.

git clone https://github.com/LuminaApps/shellstation.git
cd shellstation
npm install
npm run tauri build

The built application will be in src-tauri/target/release/bundle/.

Tech Stack

Layer Technology
App shell Tauri 2 (native webview, small binaries)
Backend Rust (async via Tokio)
Frontend React + TypeScript
Terminal xterm.js
SSH russh (pure Rust SSH2)
Database SQLite (single-user) / PostgreSQL (teams) via sqlx

Configuration

ShellStation stores its configuration in the platform config directory:

  • Linux: ~/.config/shellstation/
  • macOS: ~/Library/Application Support/shellstation/
  • Windows: %APPDATA%\shellstation\

PostgreSQL Multi-User Setup

For team deployments with shared session databases, see the PostgreSQL Administration Guide.

Development

# Start the dev server with hot reload
npm run tauri dev

# Lint (must pass before committing)
cd src-tauri && cargo clippy -- -D warnings
cd src-tauri && cargo fmt -- --check
npx eslint .
npx prettier --check "src/**/*.{ts,tsx,css,json}"
npx tsc --noEmit

See DESIGN.md for architecture details, database schema, and the development roadmap.

Contributing

Contributions are welcome. Please ensure all linters pass with zero warnings before submitting a pull request.

License

This project is licensed under the GNU General Public License v3.0.