A powerful Terminal User Interface (TUI) for Redis, built with Go. RediCLI provides an intuitive, interactive way to manage your Redis databases with features like command suggestions, data import/export, and connection management.
- 🚀 Interactive terminal interface
- 💡 Command auto-completion and suggestions
- 📊 Built-in analytics dashboard
- 📁 Import/Export data from CSV and XLSX files
- 🔑 Advanced key management with TTL support
- 🔄 Connection management for multiple Redis instances
- 🎨 Color-coded interface for better readability
Download the latest binary for your platform from the releases page:
- Linux:
redicli-linux - macOS (Intel):
redicli-mac - macOS (Apple Silicon):
redicli-mac-arm64 - Windows:
redicli.exe
Make the binary executable (Unix-based systems):
chmod +x redicli-*# Clone the repository
git clone https://github.com/Amrit02102004/RediCLI.git
# Navigate to the project directory
cd RediCLI
# Build the project
go build
# Run RediCLI
./rediclisnap install redicliget <key>- Retrieve the value of a keyset <key> <value>- Set the string value of a keydel <key>- Delete a keykeys <pattern>- Find all keys matching a patternttl <key>- Get the time to live for a keyexpire <key> <seconds>- Set a key's time to live in seconds
key filter set- Open form to set a key with TTL in millisecondskey filter update- Open form to update a key with KEEPTTL optionflushall- Delete all keys (use with caution)see analytics- Open analytics dashboard in browser
import- Import data from CSV/XLSX fileexport- Export data to CSV fileimport ./path/to/file.csv- Direct import from file pathexport ./path/to/file.csv- Direct export to file path
add connection- Add and connect to a new Redis instanceview all connections- List all saved Redis connectionsconnect <name>- Connect to a saved Redis connectiondel connection <name>- Delete a specific saved connectiondel all connections- Delete all saved connections
clear all- Clear console and logs screenclear logs- Clear logs screenclear display- Clear display screenhelp- Display help informationquit- Exit RediCLI
Tab- Cycle through command suggestions↑/↓- Navigate command historyEnter- Execute command
- Go 1.23 or higher
- Redis server
require (
github.com/gdamore/tcell/v2 v2.7.1
github.com/gorilla/websocket v1.5.3
github.com/lithammer/fuzzysearch v1.1.8
github.com/redis/go-redis/v9 v9.7.0
github.com/rivo/tview v0.0.0-20241227133733-17b7edb88c57
github.com/xuri/excelize/v2 v2.9.0
)- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
