@vp21/t-store
v1.0.0
Published
Terminal Command Store - Save and run commands with aliases
Maintainers
Readme
🚀 T-Store
Terminal Command Store - Save frequently used terminal commands with easy-to-remember aliases.
✨ Features
- 🎯 Command Aliases - Save long commands as short, memorable names
- 📦 Interactive Dashboard - Beautiful TUI to manage all commands
- 🔧 PATH Integration - Run aliases directly without
tstoreprefix - 📝 Full CRUD - Add, edit, delete, and view stored commands
- 🚀 Zero Config - Works out of the box
- 💻 Cross Platform - Works on Linux, macOS, and Windows
📦 Installation
Via npm (Recommended)
npm install -g @vp21/t-store
# or
bun install -g @vp21/t-storeVia GitHub Releases (Standalone Binary)
Download the latest binary for your platform from GitHub Releases.
# Linux/macOS
chmod +x tstore-linux
cp tstore-linux /usr/local/bin/tstore
# Windows
# Add tstore-windows.exe to your PATH🚀 Quick Start
1. Setup PATH (One-time)
Add this to your ~/.bashrc, ~/.zshrc, or ~/.config/fish/config.fish:
export PATH="$HOME/.tstore/bin:$PATH"Then reload your shell:
source ~/.zshrc # or source ~/.bashrc2. Open Dashboard
tstore3. Add Your First Command
tstore addOr use the dashboard to add commands interactively!
📖 Usage
Dashboard
tstoreOpens an interactive TUI to manage all commands.
Add Command
tstore add
# Follow the prompts to enter name, command, and descriptionExample:
- Name:
tqnpm - Command:
clear; export AWS_PROFILE=tq; npm run dev - Description:
Run dev with tq AWS profile
List Commands
tstore listRun Command
# Via tstore
tstore tqnpm
# Or directly (after PATH setup)
tqnpmEdit Command
tstore editDelete Command
tstore deleteSetup Help
tstore setup💡 Use Cases
- Environment Switching:
dev,staging,prodprofiles - Project Commands:
start,build,deploywith project-specific settings - Complex Commands: Multi-step commands with environment variables
- Workflow Automation: Repeated terminal workflows
📁 Storage
Commands are stored in:
- JSON Database:
~/.tstore/commands.json - Executable Scripts:
~/.tstore/bin/
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
⭐ Show Your Support
If you find T-Store helpful, please give it a star on GitHub!
Made with ❤️ for the terminal-loving developer
