Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
<div align="center">
|
|
|
|
|
|
|
|
|
|
# 🚀 Tolo
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|

|
|
|
|
|

|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
### Lightning-fast command alias manager for the modern terminal
|
|
|
|
|
|
|
|
|
|
[Install](#-installation) • [Features](#-features) • [Usage](#-usage) • [Contributing](#-contributing)
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## ✨ Features
|
|
|
|
|
|
|
|
|
|
- 🚀 **Blazing Fast** - Written in Go, executes in milliseconds
|
|
|
|
|
- 💾 **Lightweight** - Only ~2MB binary, minimal RAM footprint
|
|
|
|
|
- 🎨 **Beautiful UI** - Colorful, icon-rich terminal output
|
|
|
|
|
- 🔍 **Search** - Find aliases instantly with fuzzy search
|
|
|
|
|
- 🔄 **Update** - Modify aliases on the fly
|
|
|
|
|
- 🗑️ **Delete** - Remove unwanted aliases
|
|
|
|
|
- 📋 **List** - View all saved aliases in a formatted table
|
|
|
|
|
- ⚡ **Shortcuts** - Use short commands like `ls`, `rm`, `s`, `r`
|
|
|
|
|
- 🔧 **Shell Completion** - Bash and Zsh auto-completion
|
|
|
|
|
- 📦 **Single Binary** - No dependencies, just copy and run
|
|
|
|
|
- 🌐 **Cross-platform** - Linux, macOS, and Windows support
|
|
|
|
|
|
|
|
|
|
## 🎯 Why Tolo?
|
|
|
|
|
|
|
|
|
|
Tired of typing long SSH commands, gcloud commands, or complex terminal commands? Tolo saves them as simple aliases you can run with a single command.
|
|
|
|
|
|
|
|
|
|
**Before:**
|
|
|
|
|
```bash
|
|
|
|
|
ssh user@192.168.1.10 -p 2222 -i ~/.ssh/mykey.pem
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**After:**
|
|
|
|
|
```bash
|
|
|
|
|
tolo run myserver
|
|
|
|
|
# or shorter
|
|
|
|
|
tolo r myserver
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 📦 Installation
|
|
|
|
|
|
|
|
|
|
### Quick Install (Linux/macOS)
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
curl -fsSL https://raw.githubusercontent.com/selamanapps/tolo/main/install.sh | bash
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Manual Install
|
|
|
|
|
|
|
|
|
|
#### Download Binary
|
|
|
|
|
|
|
|
|
|
Visit the [Releases](https://github.com/selamanapps/tolo/releases) page and download the binary for your platform.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Linux
|
|
|
|
|
wget https://github.com/selamanapps/tolo/releases/download/v1.0.0/tolo-linux-amd64
|
|
|
|
|
sudo cp tolo-linux-amd64 /usr/local/bin/tolo
|
|
|
|
|
sudo chmod +x /usr/local/bin/tolo
|
|
|
|
|
|
|
|
|
|
# macOS
|
|
|
|
|
curl -L https://github.com/selamanapps/tolo/releases/download/v1.0.0/tolo-darwin-amd64 -o tolo
|
|
|
|
|
sudo cp tolo /usr/local/bin/
|
|
|
|
|
sudo chmod +x /usr/local/bin/tolo
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Build from Source
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
git clone https://github.com/selamanapps/tolo.git
|
|
|
|
|
cd tolo
|
|
|
|
|
go build -ldflags="-s -w" -o tolo
|
|
|
|
|
sudo cp tolo /usr/local/bin/
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Shell Completion
|
|
|
|
|
|
|
|
|
|
Enable auto-completion for your shell:
|
|
|
|
|
|
|
|
|
|
**Bash:**
|
|
|
|
|
```bash
|
|
|
|
|
echo 'source <(tolo --bash-completion)' >> ~/.bashrc
|
|
|
|
|
source ~/.bashrc
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Zsh:**
|
|
|
|
|
```bash
|
|
|
|
|
echo 'source <(tolo --zsh-completion)' >> ~/.zshrc
|
|
|
|
|
source ~/.zshrc
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 🎮 Usage
|
|
|
|
|
|
|
|
|
|
### Basic Commands
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Save a new alias
|
|
|
|
|
tolo save server1:ssh user@192.168.1.10
|
|
|
|
|
|
|
|
|
|
# Run a saved alias
|
|
|
|
|
tolo run server1
|
|
|
|
|
|
|
|
|
|
# List all aliases
|
|
|
|
|
tolo list
|
|
|
|
|
|
|
|
|
|
# Delete an alias
|
|
|
|
|
tolo delete server1
|
|
|
|
|
|
|
|
|
|
# Search aliases
|
|
|
|
|
tolo search ssh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Shortcuts (Power User Commands)
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Short aliases for all commands
|
|
|
|
|
tolo s # save
|
|
|
|
|
tolo r # run
|
|
|
|
|
tolo u # update
|
|
|
|
|
tolo d # delete (also: del, rm)
|
|
|
|
|
tolo ls # list (also: l)
|
|
|
|
|
tolo sh # show (also: info)
|
|
|
|
|
tolo se # search (also: find)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Examples
|
|
|
|
|
|
|
|
|
|
#### SSH Connections
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Save SSH connection
|
2026-03-27 06:54:43 +03:00
|
|
|
tolo save myserver:ssh user@192.168.1.10
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
|
|
|
|
|
# Use it
|
2026-03-27 06:54:43 +03:00
|
|
|
tolo r myserver
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Cloud Commands
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Save gcloud command
|
2026-03-27 06:54:43 +03:00
|
|
|
tolo save cloud-server:gcloud compute ssh --zone us-central1-a instance-1 --project my-project
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
|
|
|
|
|
# Execute it
|
2026-03-27 06:54:43 +03:00
|
|
|
tolo r cloud-server
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Docker Commands
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Save complex docker command
|
|
|
|
|
tolo save dev:docker-compose up -d --build
|
|
|
|
|
|
|
|
|
|
# Run it
|
|
|
|
|
tolo r dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Update Existing Alias
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Update to change connection details
|
2026-03-27 06:54:43 +03:00
|
|
|
tolo u myserver:ssh admin@192.168.1.20
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Show Alias Details
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
tolo show mypc
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Search Aliases
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Find all SSH aliases
|
|
|
|
|
tolo se ssh
|
|
|
|
|
|
|
|
|
|
# Find all docker aliases
|
|
|
|
|
tolo find docker
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 📸 Screenshots
|
|
|
|
|
|
|
|
|
|
<div align="center">
|
|
|
|
|
|
|
|
|
|
**List Command**
|
|
|
|
|
```
|
|
|
|
|
╔════════════════════════════════════════════════════════════════╗
|
|
|
|
|
║ 📋 Saved Aliases ║
|
|
|
|
|
╚════════════════════════════════════════════════════════════════╝
|
|
|
|
|
|
2026-03-27 06:54:43 +03:00
|
|
|
1 myserver → ssh user@192.168.1.10
|
|
|
|
|
2 gcloud → gcloud compute ssh instance-1 --project my-project
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
3 dev → docker-compose up -d --build
|
|
|
|
|
|
2026-03-27 06:54:43 +03:00
|
|
|
─────────────────────────────────────────────────────────────────
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
Total: 3
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Save Command**
|
|
|
|
|
```
|
|
|
|
|
💾 Alias saved successfully
|
|
|
|
|
|
2026-03-27 06:54:43 +03:00
|
|
|
Alias: myserver
|
|
|
|
|
Command: ssh user@192.168.1.10
|
|
|
|
|
─────────────────────────────────────────────────────────────────
|
Initial release: Tolo v1.0.0
- Add core CLI functionality (save, run, update, delete, list, show, search)
- Implement JSON-based storage in ~/.tolo/tolo.db.json
- Add beautiful terminal UI with colors and icons
- Support command shortcuts (s, r, u, d, ls, l, sh, se, h, v)
- Add Bash and Zsh shell completion
- Include comprehensive documentation (README, CONTRIBUTING, SECURITY)
- Set up CI/CD workflows with GitHub Actions
- Add installation script and Makefile for build automation
- MIT License
Made with ❤️ at Zemenawi Lab
2026-03-27 06:44:03 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
## 🛠️ Development
|
|
|
|
|
|
|
|
|
|
### Build
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Build for current platform
|
|
|
|
|
make build
|
|
|
|
|
|
|
|
|
|
# Build for all platforms
|
|
|
|
|
make build-all
|
|
|
|
|
|
|
|
|
|
# Install to system
|
|
|
|
|
make install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Project Structure
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
tolo/
|
|
|
|
|
├── cmd/ # Command handlers
|
|
|
|
|
├── storage/ # JSON file operations
|
|
|
|
|
├── executor/ # Command execution
|
|
|
|
|
├── pretty/ # Terminal formatting
|
|
|
|
|
├── completion/ # Shell completions
|
|
|
|
|
├── main.go # Entry point
|
|
|
|
|
├── Makefile # Build automation
|
|
|
|
|
└── install.sh # Installation script
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 🤝 Contributing
|
|
|
|
|
|
|
|
|
|
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details.
|
|
|
|
|
|
|
|
|
|
1. Fork the repository
|
|
|
|
|
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
|
|
|
|
|
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
|
|
|
|
|
4. Push to the branch (`git push origin feature/AmazingFeature`)
|
|
|
|
|
5. Open a Pull Request
|
|
|
|
|
|
|
|
|
|
## 📝 Roadmap
|
|
|
|
|
|
|
|
|
|
- [ ] Export/Import aliases
|
|
|
|
|
- [ ] Alias categories/tags
|
|
|
|
|
- [ ] Configuration file support
|
|
|
|
|
- [ ] Interactive mode
|
|
|
|
|
- [ ] Alias history/undo
|
|
|
|
|
- [ ] Sync across devices
|
|
|
|
|
- [ ] GUI application
|
|
|
|
|
|
|
|
|
|
## 🐧 Requirements
|
|
|
|
|
|
|
|
|
|
- Go 1.21 or higher (for building from source)
|
|
|
|
|
- Linux, macOS, or Windows
|
|
|
|
|
|
|
|
|
|
## 📄 License
|
|
|
|
|
|
|
|
|
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
|
|
|
|
|
|
|
|
## 🙏 Acknowledgments
|
|
|
|
|
|
|
|
|
|
- Inspired by tools like [alias](https://wiki.archlinux.org/title/Alias) and [gnu stow](https://www.gnu.org/software/stow/)
|
|
|
|
|
- Built with [Go](https://golang.org/)
|
|
|
|
|
- Icons and colors for better UX
|
|
|
|
|
|
|
|
|
|
## 📞 Support
|
|
|
|
|
|
|
|
|
|
- 📖 [Documentation](https://github.com/selamanapps/tolo/wiki)
|
|
|
|
|
- 🐛 [Issue Tracker](https://github.com/selamanapps/tolo/issues)
|
|
|
|
|
- 💬 [Discussions](https://github.com/selamanapps/tolo/discussions)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<div align="center">
|
|
|
|
|
|
|
|
|
|
Made with ❤️ at Zemenawi Lab
|
|
|
|
|
|
|
|
|
|
[⬆ Back to top](#-tolo)
|
|
|
|
|
|
|
|
|
|
</div>
|