diff --git a/README.md b/README.md index 5bbcab373..fdc91694a 100644 --- a/README.md +++ b/README.md @@ -1,43 +1,302 @@ -# Netcatty โ€” SSH workspace, SFTP, and terminals in one +

+ Netcatty +

-[![Netcatty UI](screenshot.png)](screenshot.png) +

Netcatty

-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. +

+ Modern SSH Client, SFTP Browser & Terminal Manager +

+ +

+ A beautiful, feature-rich SSH workspace built with Electron, React, and xterm.js.
+ Host management, split terminals, SFTP, port forwarding, and cloud sync โ€” all in one. +

+ +

+ GitHub Release +   + Platform +   + License +

+ +

+ + Support on Ko-fi + +

--- -## 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 + +- [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) + +--- + + +# 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 + +--- + + +# 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 + +--- + + +# Screenshots + + +## 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) | + + +## 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) + + +## SFTP + +Dual-pane SFTP browser with drag-and-drop transfers. + +![SFTP View](screenshots/sftp.png) + + +## Keychain + +Manage SSH keys, certificates, and identities in one place. + +![Key Manager](screenshots/key-manager.png) + + +## Port Forwarding + +Create and manage SSH tunnels with visual interface. + +![Port Forwarding](screenshots/port-forwadring.png) + + +## Cloud Sync + +Sync your configuration securely across devices. + +![Cloud Sync](screenshots/cloud-sync.png) + + +## Themes & Customization + +Personalize your workspace with themes, accent colors, and i18n. + +![Themes & i18n](screenshots/app-themes-i18n.png) + +--- + + +# Supported Distros + +Netcatty automatically detects and displays OS icons for connected hosts: + +

+ Ubuntu + Debian + CentOS + Fedora + Arch Linux + Alpine + Amazon Linux + Red Hat + Rocky Linux + openSUSE + Oracle Linux + Kali Linux +

+ +--- + + +# 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). + +# 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) +\`\`\` + +--- + + +# 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 | + +--- + + +# 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. + +--- + + +# License + +This project is licensed under the **GPL-3.0 License** - see the [LICENSE](LICENSE) file for details. + +--- + +

+ Made with โค๏ธ by binaricat +