Beautiful Timewarrior summaries in your terminal
Transform your time tracking data into stunning, colorful terminal displays
Installation • Usage • Themes • Contributing
|
🚀 Lightning Fast 🎨 Beautiful Themes ⏱ Flexible Ranges |
💻 Clean Installation 🎯 Consistent Colors 📊 Rich Formatting |
Perfect for personal use - installs in your home directory without touching system files.
git clone https://github.com/yourusername/timsum.git
cd timsum
bash install.sh💡 Pro tip: The installer will guide you through local vs system-wide options
For system administrators or multi-user setups.
git clone https://github.com/yourusername/timsum.git
cd timsum
sudo bash install.shAdd to your shell configuration (~/.bashrc or ~/.zshrc):
export PATH="$HOME/.local/bin:$PATH"# Weekly summary with Mocha theme
timsum --theme mocha --range :week
# Monthly overview with custom theme
timsum --theme kanagawa --range :month
# Complete history with Latte theme
timsum --theme latte --range :all| Option | Description | Examples |
|---|---|---|
--theme |
Color theme | mocha, latte, frappe, macchiato, kanagawa |
--range |
Time period | :day, :week, :month, :all |
TimSum reads configuration from:
| Installation | Config Path |
|---|---|
| Local | ~/.config/timsum/timsum.conf |
| System | /etc/timsum/timsum.conf |
Example configuration:
[timsum]
theme = mocha
range = :week🔄 Override: Command-line arguments always take precedence
There are 22 Built-in themes but you can add your own. (See Below)
1. Choose your theme directory:
| Installation | Theme Directory |
|---|---|
| Local | ~/.config/timsum/themes/ |
| System | /etc/timsum/themes/ |
2. Create a JSON theme file:
{
"base": "#1f1f28", // Background color
"text": "#dcd7ba", // Primary text
"accent": "#7e9cd8", // Headers & totals
"highlight": "#ff9e3b" // Emphasis & highlights
}3. Save and use:
# Save as ~/.config/timsum/themes/mytheme.json
timsum --theme mytheme --range :week# Create the theme
cat > ~/.config/timsum/themes/kanagawa.json << 'EOF'
{
"base": "#1f1f28",
"text": "#dcd7ba",
"accent": "#7e9cd8",
"highlight": "#ff9e3b"
}
EOF
# Use it immediately
timsum --theme kanagawa --range :monthgit clone https://github.com/yourusername/timsum.git
cd timsum
# Create development environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Run locally
python timsum.py --theme mocha --range :week# Test with different themes
python timsum.py --theme latte --range :day
python timsum.py --theme frappe --range :month
python timsum.py --theme macchiato --range :allWe love contributions! Here's how to get started:
Open an issue with details and steps to reproduce.
Start a discussion about new features.
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to your branch:
git push origin feature/amazing-feature - Open a Pull Request
📋 Style Guide: We follow PEP 8 for Python code
- Config file support
- Custom theme system
- Consistent tag coloring
- Virtual environment installation
- 📊 Export to CSV/JSON
- 🖥 Interactive TUI mode
Released under the MIT License - see LICENSE for details.
Built with amazing open-source projects
Inspired by terminal productivity tools like tldr, glances, and bat
Made with ❤️ for the terminal