Projects for independent developers.
Problem it solves: as a solo / side-project developer you juggle VPS, domains, SSL, secrets, env files, and todos across notes and shell history. sw keeps them in one local CLI.
| What you get | Servers, domains + SSL, projects, todos, encrypted secrets/env, daily log, overview & optional TUI |
| Install | one-liner below → sw --version |
| Blog | ganhuo.dev |
| Contact / collab | shenyanbin1234@gmail.com |
| Category | Capability |
|---|---|
| 🖥️ Servers | List, add, update, delete, SSH into configured servers |
| 🌐 Domains | Track domains, check SSL certificates |
| 📁 Projects | CRUD with auto-increment IDs |
| ✅ Todos | Task management with edit, done/reopen (by ID); notes, statistics, manual archive after 2 weeks of inactivity |
| 🔐 Secrets | AES-256-GCM encrypted storage for API keys & tokens |
| 🌍 Env Vars | Centralized .env management with encryption support |
| 📝 Log | Quick timestamped daily log — sw log "fixed login bug" |
| 📧 Notify | SMTP email alerts (domain expiry, custom messages) |
| ⚙️ Config | YAML/JSON import/export, set/get/delete by path |
| 📋 Overview | sw with no args shows all resources at a glance |
| 🎮 TUI | Optional interactive menu (sw tui) |
| 📦 Completion | Bash / Zsh / PowerShell tab completion |
TUI interactive menu (sw tui) — optional; CLI commands are the recommended workflow:
# Add a server, domain, and project
sw server add my-vps --host 1.2.3.4 --user root --port 22
sw domain add example.com
sw project add my-saas --path ~/code/my-saas --desc "My SaaS product"
# Check SSL certs for all domains
sw ssl check
# Store an API key securely
sw secret set stripe_key "sk_live_xxx"
# See everything at a glance (sw with no args works too)
sw
# Manage todos by ID
sw todo add fix-bug --desc "Fix login issue"
sw todo update 1 --desc "Fix OAuth login"
sw todo note 1 "Root cause: cache not invalidated" # Add a note
sw todo done 1
sw todo stats # View summary statistics
sw todo archive run # Archive todos inactive for 2+ weeks
sw todo archive list # View archived todos (todos-archive.yaml)
# Quick daily log
sw log "Fixed login OAuth bug" # Timestamped entry
sw log today # Show today's entries
sw log since 3d # Show last 3 days
# Jump to a project directory (add to shell: swj() { cd "$(sw project path "$1")"; })
cd "$(sw project path 1)"
# Optional interactive menu
sw tuicurl -sSL https://github.com/shenyb/solo-workspace/releases/latest/download/install.sh | shThen add ~/bin to your PATH if it isn't already:
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc && source ~/.zshrcQuick verify:
sw --version
Download the latest sw-windows-amd64.exe from Releases, rename it to sw.exe, and place it somewhere in your PATH.
cd cli/go && go build -o ~/bin/sw . && cd -sw completion install bash # or zsh, fish, powershellSW loads config in this order (first found wins):
| Priority | Path | Use Case |
|---|---|---|
| 1 | -c <path> / --config <path> |
Manual override |
| 2 | .solo.yaml (cwd) |
Per-project config |
| 3 | ~/.solo/config.yaml |
Global settings (all projects) |
| 4 | (none) | Empty defaults |
Data files (env.local, secrets.enc) live alongside the active config file — when using the default ~/.solo/config.yaml they stay in ~/.solo/; when using -c /path/to/config.yaml they follow to /path/to/.
Minimal ~/.solo/config.yaml:
servers:
my-vps:
host: 123.123.123.123
user: root
port: 22
domains:
- example.com
notify:
email:
enabled: true
host: smtp.example.com
port: 587
username: user@example.com
password_secret: smtp_password # preferred: vault key via sw secret set
# password: app-password # or plaintext (not recommended)
from: user@example.com
to:
- admin@example.com📖 Full command reference: cli/docs/command.md
Each feature is a self-contained plugin — a Lego brick you can swap or extend:
cli/go/
├── cmd/ # CLI entry point (cobra + TUI)
├── internal/ # Config, output, plugin interface
├── plugins/
│ ├── ssl/ # SSL certificate management
│ ├── server/ # Server management
│ ├── domain/ # Domain management
│ ├── project/ # Project CRUD (including `path` for cd)
│ ├── todo/ # Todo management (notes, stats, archive)
│ ├── notify/ # Email notifications
│ ├── log/ # Quick daily time log
│ ├── config/ # Config import/export/set/get
│ ├── env/ # Environment variables
│ └── secret/ # AES-256-GCM encrypted secrets
└── main.go
Add a plugin in 3 steps:
- Create
cli/go/plugins/<name>/plugin.go - Implement the cobra command
- Register in
cli/go/cmd/root.go
| Project | Description |
|---|---|
| solo-spring-scaffold | Spring Boot 3.x project scaffold / generator |
| reviewbot | AI-powered code review bot (DeepSeek) |
| Version | Status | Highlights |
|---|---|---|
| v0.1 | ✅ Done | Plugin architecture, SSL check, server SSH, domains, todos, notifications |
| v0.2 | ✅ Current | Env vars, secrets, config import/export, ID-based project/todo CRUD, todo notes & stats, project path, time log, overview & TUI polish |
| v0.3 | 🔨 Planned | Todo stats enhancements, project relationships, cost tracking, SQLite backend |
| v0.4 | 📋 Planned | Docker integration, GitHub integration |
| v1.0 | 🚀 Future | Web dashboard, plugin marketplace |
📖 Full roadmap with backlog: cli/docs/roadmap.md
Contributions welcome! The plugin architecture makes it easy to add new features.
- Fork the repo
- Create a plugin under
cli/go/plugins/<name>/ - Register it in
cli/go/cmd/root.go - Open a PR
MIT © Solo Workspace
📬 About Me / More Content
- 📝 Blog: 干货·工程化复盘 — Production incident postmortems & engineering practices
- 💬 Juejin: @shenyb
- 🧑💼 Zhihu: @shen-bin-88-64
- ✉️ Email: shenyanbin1234@gmail.com — feedback, consulting, collab



