Skip to content

en Project Structure

haradakashiwa edited this page Jul 6, 2026 · 2 revisions

← README · Wiki · 中文

Overview · Features · Tech Stack · Quick Start · Deployment · Docker · Project Structure · Architecture · Widgets · API · Database · Settings · Security · Configuration · Roadmap · License

Project Structure

ternssh/
├── web/                    # Frontend (React + Vite)
│   ├── public/logo-light.png     # Logo (light)
│   ├── public/logo-dark.png      # Logo (dark)
│   ├── public/logo.png           # Logo source
│   ├── public/favicon-light.png  # Favicon (light)
│   ├── public/favicon-dark.png   # Favicon (dark)
│   └── src/
│       ├── components/     # UI, settings, credential fields, CodeEditor
│       ├── dashboard/      # Grid layout, dialogs
│       ├── widgets/        # Terminal, file manager, monitoring widgets
│       ├── i18n/           # Chinese / English
│       ├── lib/            # API client, sessions, SFTP
│       └── theme/          # Theme and personalization
├── server/                 # Cloudflare Workers backend
│   ├── src/
│   │   ├── routes/         # HTTP routes
│   │   ├── do/             # Durable Objects (SSH sessions)
│   │   ├── db/             # D1 queries
│   │   ├── ssh/            # SSH / SFTP protocol implementation
│   │   └── auth/           # Access JWT / default user
│   └── migrations/         # D1 database migrations
└── wrangler.jsonc          # Workers / D1 / DO config

Clone this wiki locally