Kitsune.WEBSITE

Dokumentacje lisich bibliotek β€” w jednym, lisim leΕΌu.

KitsuneScript specjalne

Dokumentacja + narzΔ™dzia

Biblioteki

Lista wygenerowana z folderΓ³w w /docs.

Repozytoria

PodglΔ…d README z GitHuba (branch main / wskazany branch).

kitsune-serv

Branch: main Β· OdΕ›wieΕΌono: 2026-05-29 18:33

🦊 KitsuneServ

Visual Server Management Console β€” A portable, all-in-one development environment manager for Windows and Linux. Think of it as a modern, feature-rich alternative to XAMPP/WAMP/MAMP with a beautiful GUI, built-in terminal, database viewer, app store, and more.

!Electron !Platform !License


✨ Features

πŸ–₯️ Desktop Mode (Electron)

  • Beautiful dark-themed GUI with frameless window
  • System tray integration with quick controls
  • One-click start/stop for all services

🌐 Server Mode (Web)

  • Full management UI accessible via web browser on port 10000
  • Session-based authentication
  • SSE (Server-Sent Events) for real-time updates
  • Perfect for headless servers or remote management

πŸ”§ 16 Managed Services

CategoryServices
Web ServersApache, Nginx, Caddy
DatabasesPostgreSQL, MySQL, MariaDB, MongoDB
LanguagesPHP, Node.js, Go, Bun, Python, Deno
CacheRedis, Memcached
StorageMinIO

πŸ“¦ Per-Service Features

  • Multi-version management β€” Install and switch between multiple versions
  • Profile system β€” Create, rename, and switch between configuration profiles
  • Auto-start β€” Configure services to start automatically on launch
  • Auto-restart β€” Automatic restart on crash
  • Health checks β€” HTTP/TCP health monitoring with response time
  • Resource monitoring β€” Real-time memory usage per service
  • Log viewer β€” Live log tailing with ANSI color support
  • Port conflict detection β€” Warns about port conflicts before starting

πŸ—„οΈ Built-in Database Viewer

  • Browse databases, tables, and data
  • Execute custom SQL/NoSQL queries
  • Create and drop databases
  • Query history
  • CSV export
  • One-click access to phpMyAdmin/Adminer

πŸ›’ App Store

Install web applications with a single click:

CategoryApps
Database ToolsphpMyAdmin, Adminer
CMSWordPress, Drupal, Joomla, PrestaShop
FrameworksLaravel, Symfony
DevOpsGitea, File Browser, Mailpit
AnalyticsMatomo
EmailRoundcube

Supports custom Git repositories as well.

πŸ–₯️ Built-in Terminal

  • Integrated terminal with PATH pre-configured for all installed services
  • Multiple terminal tabs
  • Command history (up/down arrows)
  • ANSI color support

⌨️ Command Palette

  • CODE_0 β€” Fuzzy search to quickly start/stop services, switch panels, and more

πŸ”— PATH Management

  • Add/remove all installed service binaries to your system PATH with one click

🎼 Composer Integration

  • Install and manage PHP Composer directly from the UI
  • Run Composer commands with whitelisted safety

πŸ“ Project Management

  • Create and manage projects per language runtime (Node.js, Go, Bun, Python, Deno)
  • Open project folders directly from the UI

πŸš€ Quick Start

Prerequisites

  • Node.js 18+ β€” Download
  • npm (comes with Node.js)

Installation

# Clone the repository
git clone https://github.com/nerdrip/kitsune-serv.git
cd kitsune-serv

# Install dependencies
# Linux/macOS:
chmod +x install.sh && ./install.sh

# Windows:
install.bat

Running

Desktop Mode (Electron GUI)

# Linux/macOS
./start.sh

# Windows
start.bat

# Or with npm
npm start

Server Mode (Web Browser)

Access the full management UI via browser β€” perfect for headless servers or remote access.

# Linux/macOS
./start-server.sh

# Windows
start-server.bat

# Or with npm
npm run server

# With custom settings
KITSUNE_PORT=8080 KITSUNE_USER=admin KITSUNE_PASS=mysecret ./start-server.sh

The server starts on http://localhost:10000 by default. Credentials are printed in the terminal on startup (auto-generated if CODE_0 is not set).

Environment VariableDefaultDescription
CODE_0CODE_0Port to listen on
CODE_0CODE_0Host/interface to bind to
CODE_0CODE_0Login username
CODE_0(auto-generated)Login password

πŸ—οΈ Building Release Packages

Windows

build.bat

Creates a portable release in CODE_0 with a ZIP archive.

Linux

chmod +x build.sh && ./build.sh

Creates a portable release in CODE_0 with a tar.gz archive.

Using electron-builder directly

# Windows
npm run build:win

# Linux (AppImage, deb, rpm)
npm run build:linux

# macOS
npm run build:mac

# All platforms
npm run build:all

πŸ“‚ Project Structure

KitsuneServ/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.js              # Electron main process
β”‚   β”œβ”€β”€ server.js             # Server mode (web UI)
β”‚   β”œβ”€β”€ preload.js            # Electron preload (context bridge)
β”‚   β”œβ”€β”€ config-manager.js     # Configuration management
β”‚   β”œβ”€β”€ download-manager.js   # Version download & extraction
β”‚   β”œβ”€β”€ service-manager.js    # Service lifecycle management
β”‚   β”œβ”€β”€ db-viewer.js          # Database viewer (SQL/NoSQL)
β”‚   β”œβ”€β”€ app-store-manager.js  # App store (WordPress, etc.)
β”‚   └── renderer/
β”‚       β”œβ”€β”€ index.html        # Main UI layout
β”‚       β”œβ”€β”€ app.js            # Frontend application logic
β”‚       └── styles.css         # UI styles
β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ kitsuneserv.json      # Main configuration
β”‚   β”œβ”€β”€ downloads.json        # Available versions & URLs
β”‚   └── instances.json        # App Store instances
β”œβ”€β”€ servers/                   # Installed server binaries
β”œβ”€β”€ data/                      # Database data directories
β”œβ”€β”€ projects/                  # User project directories
β”œβ”€β”€ www/                       # Web document root
β”‚   └── apps/                  # Installed web apps
β”œβ”€β”€ utils/
β”‚   └── adminer/               # Adminer database tool
β”œβ”€β”€ temp/                      # Download temp files
β”œβ”€β”€ build.bat                  # Windows build script
β”œβ”€β”€ build.sh                   # Linux build script
β”œβ”€β”€ install.bat                # Windows dependency installer
β”œβ”€β”€ install.sh                 # Linux dependency installer
β”œβ”€β”€ start.bat                  # Windows desktop start
β”œβ”€β”€ start.sh                   # Linux desktop start
β”œβ”€β”€ start-server.bat           # Windows server mode start
β”œβ”€β”€ start-server.sh            # Linux server mode start
└── package.json

βš™οΈ Architecture

Desktop Mode

Renderer (HTML/CSS/JS)  ←→  preload.js (IPC bridge)  ←→  main.js (Electron)
                                                            β”œβ”€β”€ ConfigManager
                                                            β”œβ”€β”€ DownloadManager
                                                            β”œβ”€β”€ ServiceManager
                                                            β”œβ”€β”€ DbViewer
                                                            └── AppStoreManager

Server Mode

Browser  ←→  HTTP/SSE  ←→  server.js (Node.js)
                              β”œβ”€β”€ ConfigManager
                              β”œβ”€β”€ DownloadManager
                              β”œβ”€β”€ ServiceManager
                              β”œβ”€β”€ DbViewer
                              └── AppStoreManager

The server mode serves the same CODE0 UI files and provides a REST API adapter (CODE1) that maps to the same manager classes. Real-time updates (terminal output, service exits, download progress) are delivered via Server-Sent Events (SSE).


πŸ”’ Security

Server Mode Authentication

  • Session-based authentication with HttpOnly, SameSite=Strict cookies
  • Timing-safe credential comparison (prevents timing attacks)
  • Auto-generated passwords when CODE_0 is not set
  • 24-hour session lifetime
  • Request body size limits (10MB)

General

  • Path traversal protection on all file operations
  • Shell command injection prevention (whitelisted Composer commands, no shell interpolation)
  • URL validation for external links (HTTP/HTTPS only)
  • Project name sanitization
  • File operations restricted to app root directory

🀝 Contributing

1. Fork the repository 2. Create a feature branch: CODE0 3. Commit your changes: CODE1 4. Push to the branch: CODE_2 5. Open a Pull Request


πŸ“„ License

This project is licensed under the ISC License.