Skip to content
BespredeLPublic

About

A powerful open-source desktop control panel for Linux servers. Manage SSH connections, Docker, Nginx, PHP, databases, security, backups and AI-powered DevOps automation - all from one application.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TameStack - Complex infrastructure. Simple control. SSH Control Panel for Linux Servers

TameStack Logo

Author Readme EN Readme RU GitHub license Go Wails React

πŸ–₯ A ready-to-use desktop platform for centralized, secure, and visual Linux server administration via SSH in real time.

TameStack eliminates the tedious routine of juggling dozens of open terminal windows and manually executing hundreds of bash commands. It unites the versatility of CLI automation with the clarity, speed, and safety of a modern desktop application built on Go and Wails.

Unlike traditional server control panels, TameStack operates as a local Desktop Application. No background agents, daemons, or extra web ports are required on your target servers β€” all communication is performed strictly and securely over native SSH.


✨ Key Features

  • πŸ–₯️ Centralized multi-server fleet: manage dozens of VPS and dedicated servers (Debian/Ubuntu and RHEL/AlmaLinux/Rocky families) with real-time global resource telemetry (CPU, RAM, storage, network, Load Average, Uptime), connectivity filters (All, Online, Offline), and an Active Server Spotlight with stack details and quick actions.
  • πŸ” Secure credentials vault: local encryption of secrets (SSH keys, passwords, sudo tokens, AI API keys) with AES-256-GCM and PBKDF2 key derivation, plus an optional Master Password lock and whole-database encrypted container (TameStack.db.enc).
  • πŸ›‘οΈ Strict SSH hardening & Privacy Mode: Host Key verification via known_hosts protecting against MITM attacks, sensitive data masking in logs ([REDACTED_SECRET]), and a global UI Privacy Mode (eye toggle in the header) that replaces server names, IPs, domains, paths, databases, cron commands, SFTP users, and AI chat outputs with deterministic aliases for safe screen-sharing.
  • πŸ•΅οΈ File security scanner: full-site batched scanning (nice -n 19) with live progress, cancellation, and UI row capping for large CMS trees (Bitrix, WordPress), heuristic detection of web shells, obfuscated PHP, and backdoors (with custom regex signatures & JSON import/export), file quarantine (0000) with one-click restore, baseline snapshots with instant delta diff (filters, path copy, bulk actions, report export), and scan/diff history.
  • πŸ”₯ Firewall & Fail2ban: UFW / Firewalld management with SSH port protection, granular Fail2ban jail configuration (custom ports, filters, log files, findtime, bantime, ignoreip), dynamic active jail monitoring, and IP unbanning.
  • πŸ€– AI DevOps assistant & autonomous agents: local models (Ollama, llama.cpp, vLLM, Unsloth) and cloud providers (OpenAI, Anthropic Claude, Google Gemini) with automatic Cloud AI Aliasing (masks infrastructure identifiers before sending prompts to cloud APIs), adaptive Model Router, streaming with structured Tool Calling, dynamic tool injection, long-term infrastructure memory on SQLite FTS5, and a Human-in-the-Loop gate requiring explicit approval for mutating operations.
  • 🌐 Sites, web servers, Mail & DNS: Nginx and Apache with isolated log viewers, parallel PHP 7.4–8.4+ with availability & OS-compatibility filtering (Installed, Available, Unsupported), per-site PHP-FPM socket switching without restarting global services, FPM pool and extension management, visual php.ini editor with .bak backups, App Process Manager (workers/queues/schedulers), Mail & DNS management, and a step-by-step site wizard with DNS verification.
  • πŸ—„οΈ Databases, Docker & services: MySQL, MariaDB, PostgreSQL, and Redis (creation, privileges, compressed dumps, restores), full container/network/volume/Compose lifecycle, systemd service controller, process explorer, and socket inspector.
  • πŸ“œ SSL, Cron & backups: automated Let's Encrypt / ACME issuance and renewal via Certbot, visual Cron scheduler with root & user crontab separation and expression builder, local site and database backup engine with retention rotation.
  • πŸ“ File manager & SFTP Chroot: SFTP explorer with breadcrumbs, inline code editor, disk usage analyzer, secure run_sudo execution fallback, and system user management with SFTP Chroot isolation.
  • πŸ’» Interactive SSH terminal (PTY) & Command Palette: multi-tabbed terminal with resize handling, full compatibility with CLI utilities (htop, mc, nano), and Ctrl+K quick-jump Command Palette.
  • πŸ”„ Verified self-updates & localization: built-in GitHub Releases updater with SHA-256 verification and Windows UAC elevation support for protected directories, plus a 100% bilingual UI (English and Russian) with instant on-the-fly language switching.

πŸ“Έ Screenshots

TameStack Dashboard

Show all other section screenshots and windows

πŸ–₯️ Server Management

Server Fleet Overview Add Server over SSH
Servers Add Server
Real-time Telemetry & Monitoring Background Task Engine
Monitoring Tasks

πŸ› οΈ Server Setup Wizard (Provisioning)

Step 1: Automated Environment Discovery Step 2: Predefined Stack Profiles
Server Discovery Select Profile

🌐 Web Stack, Sites & PHP

Virtual Hosts & Sites Web Servers (Nginx / Apache)
Sites Web Servers
Multi-version PHP Manager SSL Certificates (Certbot / Let's Encrypt)
PHP Manager SSL Certificates

πŸ—„οΈ Databases, Docker & Packages

Database Engines (MySQL / PostgreSQL / Redis) Docker Containers & Compose
Databases Docker
APT Package Manager Systemd Services & Sockets
APT Packages Services & Processes

πŸ›‘οΈ Security, File Management & Terminal

Security Audit, UFW & Fail2ban Interactive SSH Terminal
Security SSH Terminal
SFTP File Manager & Code Editor Automated Backups & Archives
File Manager Backups

πŸ€– DevOps AI Assistant, Cron & Settings

AI Assistant & Autonomous Agents Visual Cron Scheduler
AI Assistant Cron Jobs
Application Settings & Vault
Settings

Tip

No secrets leave your machine:
All credentials live only in the local SQLite database on the operator's machine, encrypted with AES-256-GCM.
No agents are installed on target servers β€” everything runs over plain SSH.
Details: SECURITY.md.


πŸš€ Use Cases

  • 🏒 Web studios and freelancers: run a fleet of client VPS with Nginx/Apache and PHP sites from a single window.
  • πŸ› οΈ System administrators: daily server routine (packages, services, cron, firewall, backups) with auditing and safe destructive operations.
  • πŸ€– AI-assisted DevOps: incident diagnosis and change preparation through the AI assistant, with per-mutation approval.
  • 🏭 Infrastructure projects: server inventory, file integrity auditing, site uptime and SSL certificate monitoring.

🧠 How It Works

flowchart LR
    A[Operator<br>Desktop UI React/Wails] --> B[TameStack<br>Go core]
    B -- SSH + known_hosts --> C[Linux server<br>root / sudo]
    B --> D[(Local SQLite<br>AES-256-GCM vault)]
    E[AI provider<br>Ollama / OpenAI / Claude / Gemini] -. Tool Calling .-> B
Loading
  1. Connection: a server is added over SSH; on first contact the remote key fingerprint must be explicitly verified and pinned to known_hosts.
  2. Inspection: the app reads OS configuration, services, and telemetry using non-mutating commands only.
  3. Task Engine: long-running operations execute asynchronously with stages, cancellation, and streaming logs in the UI.
  4. Mutations: configuration changes always create timestamped backups, and destructive actions require two-step confirmation.
  5. AI assistant: the assistant answers through strict read-only tools and requests approval for every mutating action.

πŸ›  Technology Stack

Backend

  • Go 1.23+: High performance, strict typing, and minimal memory footprint.
  • Wails v2 (v2.11+): Lightweight native desktop runtime without Electron bloat.
  • SQLite3 (modernc.org/sqlite): Pure-Go embedded database with WAL mode (CGO-free compilation).
  • golang.org/x/crypto/ssh: Low-level SSH/SFTP protocol implementation and known_hosts management.
  • AES-256-GCM + PBKDF2: Local secret encryption at rest.

Frontend

  • React 18 / TypeScript: Modular, strictly typed frontend architecture.
  • Vite: Ultra-fast build tool and developer HMR.
  • Tailwind CSS: Ergonomic dark-themed design system.
  • Lucide Icons & Recharts: Clean iconography and vector telemetry charts.

πŸ› Architecture Overview

For threat modeling and the declared cryptography standards, see SECURITY.md.

TameStack/
β”œβ”€β”€ app.go                 # Wails RPC controller bridging Go and JS
β”œβ”€β”€ main.go                # Desktop application entry point
β”œβ”€β”€ wails.json             # Wails configuration manifest
β”œβ”€β”€ internal/              # Go backend core logic
β”‚   β”œβ”€β”€ config/            # Application paths and settings
β”‚   β”œβ”€β”€ crypto/            # AES-256-GCM encryption engine
β”‚   β”œβ”€β”€ db/                # SQLite migrations and repositories
β”‚   β”œβ”€β”€ ssh/               # Connection pooling, known_hosts, run_sudo
β”‚   β”œβ”€β”€ osadapter/         # Distro adapters (Debian, RHEL)
β”‚   β”œβ”€β”€ tasks/             # Asynchronous Task Engine & worker pool
β”‚   β”œβ”€β”€ ai/                # AI Assistant (Router, Agents, Memory, Tools)
β”‚   └── modules/           # Functional feature modules
β”‚       β”œβ”€β”€ server/        # Server lifecycle and telemetry
β”‚       β”œβ”€β”€ site/          # Virtual hosts and isolated logs
β”‚       β”œβ”€β”€ security/      # File scanner, UFW, Fail2ban
β”‚       β”œβ”€β”€ php/           # PHP & FPM pool management
β”‚       β”œβ”€β”€ webserver/     # Nginx & Apache
β”‚       β”œβ”€β”€ database/      # Database engines (MySQL, Postgres, Redis)
β”‚       β”œβ”€β”€ docker/        # Containers and Compose stacks
β”‚       β”œβ”€β”€ ssl/           # ACME / Let's Encrypt automation
β”‚       β”œβ”€β”€ cron/          # Cron scheduling
β”‚       β”œβ”€β”€ backup/        # Backup archives and retention
β”‚       β”œβ”€β”€ files/         # SFTP explorer and editor
β”‚       └── terminal/      # Interactive PTY terminal
└── frontend/              # React + TypeScript SPA
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ components/    # Modals and reusable UI elements
    β”‚   β”œβ”€β”€ views/         # Application screens
    β”‚   β”œβ”€β”€ i18n/          # Localization dictionaries (EN/RU)
    β”‚   └── context/       # Reactive UI state providers
    └── wailsjs/           # Generated typed Go-JS bindings

πŸ“¦ Installation & Build

Prerequisites

  • Go 1.23+
  • Node.js 18+ & npm 9+
  • Wails CLI v2.11+:
    go install github.com/wailsapp/wails/v2/cmd/wails@latest

Option 1: Development Mode

# Clone repository
git clone https://github.com/BespredeL/TameStack.git
cd TameStack

# Install frontend dependencies
cd frontend && npm install && cd ..

# Run desktop application with live reload
wails dev

Option 2: Production Builds

# Windows (x64) - NSIS installer (builds installer and .exe inside build/bin/)
wails build -platform windows/amd64 -nsis

# Windows (x64) - standard executable
wails build -platform windows/amd64

# Linux (x64)
wails build -platform linux/amd64

# macOS (Universal)
wails build -platform darwin/universal

πŸ‘¨β€πŸ’» Author

Aleksandr Kireev


πŸ”— Useful Links


πŸ“„ License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.


⭐ Support

If this project is useful to you, please support it β€” drop a star ⭐ on GitHub!

About

A powerful open-source desktop control panel for Linux servers. Manage SSH connections, Docker, Nginx, PHP, databases, security, backups and AI-powered DevOps automation - all from one application.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages