Revamps README with detailed features and usage guide

Expands the README to provide a comprehensive overview of the application's features, supported platforms, tech stack, and development instructions. Enhances project presentation with badges, images, and organized sections to improve clarity for new users and contributors. Updates licensing and contribution info for transparency.
This commit is contained in:
bincxz committed 2026-01-01 22:06:13 +08:00
1 parent a1f60deb92
commit 4edff285e4
1 file changed
+290 -31
+290 -31
View File
@@ -1,43 +1,302 @@
# Netcatty — SSH workspace, SFTP, and terminals in one
<p align="center">
<img src="public/icon.png" alt="Netcatty" width="128" height="128">
</p>
[![Netcatty UI](screenshot.png)](screenshot.png)
<h1 align="center">Netcatty</h1>
Netcatty is a modern SSH manager and terminal app that brings host grouping, drag-to-organize, SFTP side panel, keychain, port forwarding, and a rich UI theme. It ships with an xterm.js-based terminal and an Electron desktop bridge for native SSH/SFTP.
<p align="center">
<strong>Modern SSH Client, SFTP Browser & Terminal Manager</strong>
</p>
<p align="center">
A beautiful, feature-rich SSH workspace built with Electron, React, and xterm.js.<br/>
Host management, split terminals, SFTP, port forwarding, and cloud sync — all in one.
</p>
<p align="center">
<a href="https://github.com/user/netcatty/releases/latest"><img alt="GitHub Release" src="https://img.shields.io/github/v/release/user/netcatty?style=for-the-badge&logo=github&label=Release"></a>
&nbsp;
<a href="#"><img alt="Platform" src="https://img.shields.io/badge/Platform-macOS%20%7C%20Windows%20%7C%20Linux-blue?style=for-the-badge&logo=electron"></a>
&nbsp;
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/License-GPL--3.0-green?style=for-the-badge"></a>
</p>
<p align="center">
<a href="https://ko-fi.com/binaricat">
<img src="https://cdn.ko-fi.com/cdn/kofi3.png?v=2" width="150" alt="Support on Ko-fi">
</a>
</p>
---
## Highlights
- 🧭 **Host groups & breadcrumbs**: right-click to create/delete groups, drag hosts or groups into target groups, double-click to drill into a group, and breadcrumb navigation back to root.
- 🗂️ **SFTP panel**: collapsible sidebar, single-click to enter directories, upload/delete/download, and loading animations.
- 🗝️ **Keychain**: import/generate SSH keys, choose password/key auth; single-click a host to connect.
- 🖥️ **Terminal UX**: xterm.js engine, auto-resize on window changes, connection logs, timeout/cancel, and connection progress UI.
- 🌗 **Themes & branding**: light/dark toggle, custom accent color, Netcatty logo baked in.
- 🔌 **Electron bridge**: native SSH/SFTP channels without extra browser plugins.
[![Netcatty Main Interface](screenshots/main-window-dark.png)](screenshots/main-window-dark.png)
## Getting Started
```bash
# install dependencies
---
# Contents <!-- omit in toc -->
- [What is Netcatty](#what-is-netcatty)
- [Features](#features)
- [Screenshots](#screenshots)
- [Host Management](#host-management)
- [Terminal](#terminal)
- [SFTP](#sftp)
- [Keychain](#keychain)
- [Port Forwarding](#port-forwarding)
- [Cloud Sync](#cloud-sync)
- [Themes & Customization](#themes--customization)
- [Supported Distros](#supported-distros)
- [Getting Started](#getting-started)
- [Build & Package](#build--package)
- [Tech Stack](#tech-stack)
- [Contributing](#contributing)
- [License](#license)
---
<a name="what-is-netcatty"></a>
# What is Netcatty
**Netcatty** is a modern, cross-platform SSH client and terminal manager designed for developers, sysadmins, and DevOps engineers who need to manage multiple remote servers efficiently.
- **Netcatty is** an alternative to PuTTY, Termius, SecureCRT, and macOS Terminal.app for SSH connections
- **Netcatty is** a powerful SFTP client with dual-pane file browser
- **Netcatty is** a terminal workspace with split panes, tabs, and session management
- **Netcatty is not** a shell replacement — it connects to remote shells via SSH/Telnet or local terminals
---
<a name="features"></a>
# Features
### 🖥️ Terminal & Sessions
- **xterm.js-based terminal** with GPU-accelerated rendering
- **Split panes** — horizontal and vertical splits for multi-tasking
- **Tab management** — multiple sessions with drag-to-reorder
- **Session persistence** — restore sessions on restart
- **Broadcast mode** — type once, send to multiple terminals
### 🔐 SSH Client
- **SSH2 protocol** with full authentication support
- **Password & key-based authentication**
- **SSH certificates** support
- **Jump hosts / Bastion** — chain through multiple hosts
- **Proxy support** — HTTP CONNECT and SOCKS5 proxies
- **Agent forwarding** — including OpenSSH Agent and Pageant
- **Environment variables** — set custom env vars per host
### 📁 SFTP
- **Dual-pane file browser** — local ↔ remote or remote ↔ remote
- **Drag & drop** file transfers
- **Queue management** for batch transfers
- **Progress tracking** with transfer speed
### 🔑 Keychain
- **Generate SSH keys** — RSA, ECDSA, ED25519
- **Import existing keys** — PEM, OpenSSH formats
- **SSH certificates** support
- **Identity management** — reusable username + auth combinations
- **Export public keys** to remote hosts
### 🔌 Port Forwarding
- **Local forwarding** — expose remote services locally
- **Remote forwarding** — expose local services remotely
- **Dynamic forwarding** — SOCKS5 proxy
- **Visual tunnel management**
### ☁️ Cloud Sync
- **End-to-end encrypted sync** — your data is encrypted before leaving your device
- **Multiple providers** — GitHub Gist, S3-compatible storage, WebDAV, Google Drive, OneDrive
- **Sync hosts, keys, snippets, and settings**
### 🎨 Themes & Customization
- **Light & Dark mode**
- **Custom accent colors**
- **50+ terminal color schemes**
- **Font customization** — JetBrains Mono, Fira Code, and more
- **i18n support** — English, 简体中文, and more
---
<a name="screenshots"></a>
# Screenshots
<a name="host-management"></a>
## Host Management
Organize hosts with groups, tags, and powerful search. Drag and drop to reorganize.
| Dark Mode | Light Mode | List View |
|-----------|------------|-----------|
| ![Dark](screenshots/main-window-dark.png) | ![Light](screenshots/main-window-light.png) | ![List](screenshots/main-window-dark-list.png) |
<a name="terminal"></a>
## Terminal
Split terminals, customize themes, and run snippets across sessions.
| Split Windows | Theme Customization |
|---------------|---------------------|
| ![Split](screenshots/split-window.png) | ![Theme](screenshots/terminal-theme-change.png) |
![Terminal Themes](screenshots/terminal-theme-change-2.png)
<a name="sftp"></a>
## SFTP
Dual-pane SFTP browser with drag-and-drop transfers.
![SFTP View](screenshots/sftp.png)
<a name="keychain"></a>
## Keychain
Manage SSH keys, certificates, and identities in one place.
![Key Manager](screenshots/key-manager.png)
<a name="port-forwarding"></a>
## Port Forwarding
Create and manage SSH tunnels with visual interface.
![Port Forwarding](screenshots/port-forwadring.png)
<a name="cloud-sync"></a>
## Cloud Sync
Sync your configuration securely across devices.
![Cloud Sync](screenshots/cloud-sync.png)
<a name="themes--customization"></a>
## Themes & Customization
Personalize your workspace with themes, accent colors, and i18n.
![Themes & i18n](screenshots/app-themes-i18n.png)
---
<a name="supported-distros"></a>
# Supported Distros
Netcatty automatically detects and displays OS icons for connected hosts:
<p align="center">
<img src="public/distro/ubuntu.svg" width="48" alt="Ubuntu" title="Ubuntu">
<img src="public/distro/debian.svg" width="48" alt="Debian" title="Debian">
<img src="public/distro/centos.svg" width="48" alt="CentOS" title="CentOS">
<img src="public/distro/fedora.svg" width="48" alt="Fedora" title="Fedora">
<img src="public/distro/arch.svg" width="48" alt="Arch Linux" title="Arch Linux">
<img src="public/distro/alpine.svg" width="48" alt="Alpine" title="Alpine">
<img src="public/distro/amazon.svg" width="48" alt="Amazon Linux" title="Amazon Linux">
<img src="public/distro/redhat.svg" width="48" alt="Red Hat" title="Red Hat">
<img src="public/distro/rocky.svg" width="48" alt="Rocky Linux" title="Rocky Linux">
<img src="public/distro/opensuse.svg" width="48" alt="openSUSE" title="openSUSE">
<img src="public/distro/oracle.svg" width="48" alt="Oracle Linux" title="Oracle Linux">
<img src="public/distro/kali.svg" width="48" alt="Kali Linux" title="Kali Linux">
</p>
---
<a name="getting-started"></a>
# Getting Started
### Prerequisites
- Node.js 18+ and npm
- macOS, Windows 10+, or Linux
### Development
\`\`\`bash
# Clone the repository
git clone https://github.com/user/netcatty.git
cd netcatty
# Install dependencies
npm install
# dev mode (Vite + Electron)
# Start development mode (Vite + Electron)
npm run dev
```
\`\`\`
### Key paths
- Web entry: `index.html` / `App.tsx`
- Terminal: `components/Terminal.tsx`
- SFTP: `components/SFTPPanel.tsx`
- Keychain: `components/KeyManager.tsx`
- Electron main: `electron/main.cjs`
### Project Structure
\`\`\`
├── App.tsx # Main React application
├── components/ # React components
│ ├── Terminal.tsx # Terminal component
│ ├── SftpView.tsx # SFTP browser
│ ├── VaultView.tsx # Host management
│ ├── KeyManager.tsx # SSH key management
│ └── ...
├── application/ # State management & i18n
├── domain/ # Domain models & logic
├── infrastructure/ # Services & adapters
├── electron/ # Electron main process
│ ├── main.cjs # Main entry
│ └── bridges/ # IPC bridges
└── public/ # Static assets & icons
\`\`\`
## Core Workflows
- **Create a host**: click “New Host”, fill address/port/username, pick password or key; supports group path.
- **Organize groups**: right-click to create/delete, drag groups to become subgroups, drag hosts into groups, and use breadcrumbs to navigate.
- **SFTP**: after connect, open SFTP, single-click into dirs, upload/download/delete, with loading spinner and animated sidebar.
- **Keychain**: import/generate SSH keys; single-click a host to connect with the chosen auth method.
---
## Scripts
- `npm run dev`: Vite frontend + Electron dev.
- `npm run build`: build frontend (Electron packaging configurable).
<a name="build--package"></a>
# Build & Package
## License
MIT
\`\`\`bash
# Build for production
npm run build
# Package for current platform
npm run pack
# Package for specific platforms
npm run pack:mac # macOS (DMG + ZIP)
npm run pack:win # Windows (NSIS installer)
npm run pack:linux # Linux (AppImage, deb, rpm)
\`\`\`
---
<a name="tech-stack"></a>
# Tech Stack
| Category | Technology |
|----------|------------|
| Framework | Electron 39 |
| Frontend | React 19, TypeScript |
| Build Tool | Vite 7 |
| Terminal | xterm.js 5 |
| Styling | Tailwind CSS 4 |
| SSH/SFTP | ssh2, ssh2-sftp-client |
| PTY | node-pty |
| Icons | Lucide React |
---
<a name="contributing"></a>
# Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
1. Fork the repository
2. Create your feature branch (\`git checkout -b feature/amazing-feature\`)
3. Commit your changes (\`git commit -m 'Add some amazing feature'\`)
4. Push to the branch (\`git push origin feature/amazing-feature\`)
5. Open a Pull Request
See [agents.md](agents.md) for architecture overview and coding conventions.
---
<a name="license"></a>
# License
This project is licensed under the **GPL-3.0 License** - see the [LICENSE](LICENSE) file for details.
---
<p align="center">
Made with ❤️ by <a href="https://ko-fi.com/binaricat">binaricat</a>
</p>