# ๐Ÿš€ Claude Code Project Tracker
![Claude Code Tracker Hero](https://img.shields.io/badge/Claude%20Code-Project%20Tracker-blue?style=for-the-badge&logo=anthropic&logoColor=white) **๐ŸŽฏ The Ultimate Development Intelligence System for Claude Code Users** *Transform your coding journey into data-driven insights with real-time tracking, comprehensive analytics, and seamless automation* [![Docker Ready](https://img.shields.io/badge/Docker-Ready-2496ED?style=flat-square&logo=docker&logoColor=white)](./docker-compose.yml) [![FastAPI](https://img.shields.io/badge/FastAPI-Python%203.12-009688?style=flat-square&logo=fastapi&logoColor=white)](https://fastapi.tiangolo.com/) [![Caddy Integration](https://img.shields.io/badge/Caddy-SSL%20Ready-1F88C0?style=flat-square&logo=caddy&logoColor=white)](https://caddyserver.com/) [![File Upload](https://img.shields.io/badge/File%20Upload-Drag%20%26%20Drop-4CAF50?style=flat-square&logo=files&logoColor=white)](#-data-import--file-upload) [![39+ Hooks](https://img.shields.io/badge/Hooks-39%2B%20Types-FF6B6B?style=flat-square&logo=webhook&logoColor=white)](#-hook-profiles--automation)
--- ## โœจ What Makes This Project AWESOME? ### ๐ŸŽญ **It's Like Having a Personal Data Scientist for Your Code** Stop wondering *"What did I work on last week?"* or *"How productive was I this month?"*. Claude Code Tracker automatically captures everything, analyzes your patterns, and presents beautiful insights about your development journey. ### ๐Ÿ”ฅ **Zero-Friction Setup That Just Works** ```bash # Literally 4 commands and you're tracking everything! git clone https://git.supported.systems/claude/claude-code-tracker.git cd claude-code-tracker docker-compose up -d ./setup-hooks ``` **That's it!** ๐ŸŽ‰ Your tracker is live, hooks are installed, and data is flowing. ### ๐Ÿง  **Smart Enough to Surprise You** - **File Upload with AI Preview** - Drag your `.claude.json`, get instant insights - **39+ Hook Types** - More comprehensive than any other Claude Code tracker - **7 User Profiles** - From beginners to teams, we've got your use case covered - **Language Detection** - Automatically figures out what you're coding in - **Timeline Visualization** - See your coding journey unfold over time --- ## ๐ŸŒŸ **Features That Will Blow Your Mind**
### ๐ŸŽฏ **Real-Time Intelligence** - **Live Session Tracking** - Watch your productivity in real-time - **Conversation History** - Never lose a brilliant Claude exchange again - **Project Analytics** - Deep insights per project with visual timelines - **Smart File Monitoring** - Know exactly what files you're touching ### ๐Ÿš€ **Next-Level Automation** - **One-Click Hook Install** - `./setup-hooks` and you're done - **7 Pre-Built Profiles** - Choose your adventure (basic โ†’ comprehensive) - **Auto-Domain Config** - Works with any domain instantly - **Self-Healing Setup** - Backups, verification, rollbacks included
### ๐Ÿ“Š **Beautiful Visualizations** - **Interactive Dashboards** - Bootstrap 5 + Chart.js magic - **Project Timelines** - See your development story unfold - **Productivity Heatmaps** - Identify your peak coding hours - **Conversation Search** - Full-text search through all interactions ### ๐Ÿ”’ **Privacy-First Design** - **100% Local** - Your data never leaves your server - **Docker Containerized** - Secure, isolated, professional - **HTTPS Ready** - Automatic SSL with Caddy integration - **User-Scope Only** - No system changes, completely reversible
--- ## ๐Ÿš€ **Get Started in 60 Seconds** ### ๐Ÿณ **Docker Deployment** (Recommended for Everyone)
*The fastest way to get a production-ready tracker with SSL, monitoring, and all the bells and whistles*
```bash # ๐ŸŽฌ Step 1: Get the goods git clone https://git.supported.systems/claude/claude-code-tracker.git claude-tracker cd claude-tracker # ๐Ÿ”ง Step 2: Configure your domain cp .env.example .env echo "DOMAIN=your-awesome-domain.com" >> .env # ๐Ÿš€ Step 3: Launch the beast docker-compose up -d # ๐ŸŽฏ Step 4: Install hooks (on your dev machine) export DOMAIN=your-awesome-domain.com ./setup-hooks # ๐ŸŽ‰ Step 5: Start coding and watch the magic happen! ```
**๐ŸŽŠ Boom! You now have a professional-grade development intelligence system!** Visit `https://your-awesome-domain.com/dashboard` and prepare to be amazed ๐Ÿคฉ
### ๐Ÿ’ป **Local Development** (For the Tinkerers) ```bash # Clone and setup git clone https://git.supported.systems/claude/claude-code-tracker.git claude-tracker cd claude-tracker # Python magic pip install -r requirements.txt python init_db.py python main.py # Hook installation export DOMAIN=localhost:8000 ./setup-hooks # Visit http://localhost:8000/dashboard ``` --- ## ๐ŸŽญ **Hook Profiles: Choose Your Adventure**
*Not all developers are the same. We've got 7 carefully crafted profiles to match your workflow*
Profile Hooks Perfect For What You Get
๐ŸŒฑ basic 5 New Users Essential session and conversation tracking. Clean, simple, effective.
โšก essential 8 Most Developers Core development tracking with file monitoring and tool usage.
๐ŸŽฏ comprehensive 39+ Data Lovers EVERYTHING! Complete tracking, analytics, performance, quality metrics.
๐Ÿ’ผ developer 15 Professionals Code quality, testing, deployment tracking for serious developers.
๐Ÿ”ฅ power_user 20 Advanced Users Performance monitoring, workflow optimization, productivity analytics.
๐Ÿ”ฌ research 25 Researchers Learning patterns, exploration tracking, knowledge gap analysis.
๐Ÿ‘ฅ team 18 Collaborative Teams Collaboration insights, sharing patterns, team productivity metrics.
**๐ŸŽฎ Switch profiles anytime:** `./install-hooks.sh power_user`
--- ## ๐Ÿ—๏ธ **Architecture That Actually Makes Sense**
*We built this right. Modern, scalable, maintainable.*
```mermaid graph TB A[๐ŸŒ Claude Code] --> B[๐ŸŽฏ Hooks System] B --> C[๐Ÿš€ FastAPI Backend] C --> D[๐Ÿ“Š SQLite Database] C --> E[๐ŸŽจ Bootstrap Dashboard] F[๐Ÿ“ File Upload] --> C G[๐Ÿณ Docker Container] --> H[๐Ÿ”’ Caddy Proxy] H --> I[๐ŸŒ Your Domain] style A fill:#e1f5fe style C fill:#f3e5f5 style E fill:#e8f5e8 style I fill:#fff3e0 ``` ### ๐Ÿ› ๏ธ **Tech Stack That Rocks** | Component | Technology | Why It's Awesome | |-----------|------------|------------------| | **Backend** | FastAPI + Python 3.12 | โšก Blazing fast, async everything, automatic OpenAPI docs | | **Database** | SQLite + SQLAlchemy 2.0 | ๐Ÿ—ƒ๏ธ Zero config, async ORM, perfect for single-user deployments | | **Frontend** | Bootstrap 5 + Jinja2 | ๐ŸŽจ Responsive, accessible, server-side rendered | | **Deployment** | Docker + Caddy | ๐Ÿš€ One command deploy, automatic SSL, reverse proxy magic | | **Package Manager** | uv | โšก 10-100x faster than pip, modern Python tooling | --- ## ๐Ÿ“ธ **Screenshots Worth a Thousand Words**
*Because seeing is believing*
### ๐ŸŽฏ **Dashboard Overview** > *See your development activity at a glance with beautiful charts and metrics* ### ๐Ÿ“Š **Project Analytics** > *Deep dive into individual projects with timelines, language breakdowns, and activity patterns* ### ๐Ÿ” **Conversation Search** > *Find any Claude Code interaction instantly with powerful full-text search* ### ๐Ÿ“ **File Upload Magic** > *Drag and drop your .claude.json file and watch the AI analyze and preview your data* --- ## ๐ŸŽฎ **Advanced Usage & Pro Tips**
๐Ÿ”ฅ Power User Tricks (Click to expand) ### ๐ŸŽฏ **Custom Hook Profiles** ```bash # Create your own profile by copying and modifying existing ones cp claude-hooks-comprehensive.json claude-hooks-myprofile.json # Edit the file to your needs ./install-hooks.sh myprofile ``` ### ๐Ÿ”„ **Profile Switching Made Easy** ```bash # Switch between profiles anytime ./install-hooks.sh basic # Start simple ./install-hooks.sh comprehensive # Go full power ./install-hooks.sh --verify # Check what's installed ``` ### ๐Ÿ› ๏ธ **Domain Management** ```bash # Switch domains without rebuilding ./install-hooks.sh -d new-domain.com comprehensive # Multiple environments ./install-hooks.sh -d localhost:8000 developer # Local dev ./install-hooks.sh -d staging.example.com team # Staging ./install-hooks.sh -d prod.example.com comprehensive # Production ``` ### ๐Ÿ” **Debugging & Troubleshooting** ```bash # Verify everything is working ./install-hooks.sh --verify # Check Docker logs docker-compose logs -f # Test connectivity curl https://your-domain.com/health # Uninstall cleanly ./install-hooks.sh --uninstall ```
๐Ÿณ Docker Deployment Deep Dive (Click to expand) ### ๐Ÿ—๏ธ **Production-Ready Features** - **Multi-stage builds** with uv for lightning-fast dependency installation - **Health checks** with automatic restart policies - **Resource limits** to prevent runaway processes - **Volume mounting** for data persistence - **Automatic SSL** via Caddy docker-proxy integration ### ๐Ÿ”ง **Environment Configuration** ```bash # .env file configuration DOMAIN=your-domain.com DATABASE_URL=sqlite+aiosqlite:////app/data/tracker.db DEBUG=false PYTHONPATH=/app ``` ### ๐Ÿ“Š **Monitoring & Maintenance** ```bash # Container health docker-compose ps docker-compose logs # Database backup cp ./data/tracker.db ./backups/tracker-$(date +%Y%m%d).db # Updates git pull docker-compose build --no-cache docker-compose up -d ```
--- ## ๐Ÿค **Contributing & Community**
*Join the revolution! Help make Claude Code tracking even more awesome*
### ๐ŸŽฏ **Ways to Contribute** - ๐Ÿ› **Bug Reports** - Found something broken? We want to know! - ๐Ÿ’ก **Feature Requests** - Got ideas? Share them! - ๐Ÿ“ **Documentation** - Help others discover the magic - ๐Ÿ”ง **Code Contributions** - PRs welcome and appreciated - ๐ŸŽจ **UI/UX Improvements** - Make it even more beautiful - ๐Ÿงช **Testing** - Help us ensure quality across environments ### ๐Ÿ† **Recognition Wall** *Contributors who made this project awesome:* - **You!** - For considering contributing to this amazing project --- ## ๐Ÿ“š **Documentation That Actually Helps**
*Comprehensive guides that get you from zero to hero*
| ๐Ÿ“– Guide | ๐ŸŽฏ Purpose | โฑ๏ธ Time | |----------|-----------|---------| | [๐Ÿš€ Getting Started](./app/dashboard/templates/docs/getting-started.html) | Your first steps to tracking mastery | 5 min | | [๐Ÿ“ Data Import Guide](./app/dashboard/templates/docs/data-import.html) | Master the file upload system | 3 min | | [๐Ÿณ Docker Deployment](./app/dashboard/templates/docs/docker-deployment.html) | Production deployment like a pro | 10 min | | [๐ŸŽฏ Hook Setup](./app/dashboard/templates/docs/hook-setup.html) | Automated and manual installation | 7 min | | [๐Ÿ“‹ Hook Reference](./app/dashboard/templates/docs/hook-reference.html) | Complete hook documentation | Reference | | [๐Ÿ”ง API Documentation](./docs) | Interactive API exploration | Reference | --- ## ๐ŸŽŠ **What Users Are Saying**
> *"I wish I had this when I started using Claude Code. The insights are incredible!"* > **- Future You** > *"The Docker setup just works. One command and I had a professional tracking system running."* > **- Developers Everywhere** > *"39+ hooks?! This tracks everything I didn't even know I wanted to track."* > **- Data Enthusiasts**
--- ## ๐Ÿ”ฎ **What's Coming Next**
*The future is bright! Here's what we're cooking up*
- ๐Ÿ“ฑ **Mobile Dashboard** - Check your stats on the go - ๐Ÿค– **AI Insights** - Let AI analyze your patterns and suggest improvements - ๐Ÿ”„ **Team Features** - Collaborative tracking and insights - ๐Ÿ“Š **Advanced Analytics** - Even more beautiful visualizations - ๐Ÿ”Œ **Plugin System** - Extend functionality with custom plugins - ๐ŸŒ **Multi-Language Support** - Because code is universal --- ## ๐Ÿšจ **FAQ: The Questions Everyone Asks**
โ“ Is my data safe and private? **Absolutely!** Everything runs on your server. No data ever leaves your infrastructure. It's like having your own private Google Analytics for coding.
โ“ Will this slow down Claude Code? **Nope!** Hooks are lightweight HTTP calls that run asynchronously. You won't notice any difference in Claude Code performance.
โ“ Can I use this with multiple domains? **Yes!** Switch domains anytime with `./install-hooks.sh -d new-domain.com`. Perfect for dev/staging/prod environments.
โ“ What if I want to stop tracking? **Easy!** Run `./install-hooks.sh --uninstall` and everything goes back to normal. No traces left behind.
โ“ Can I customize what gets tracked? **Totally!** Choose from 7 profiles or create your own by editing the JSON files. Full control over your data.
--- ## ๐Ÿ“„ **License & Legal**
**MIT Licensed** - Use it, modify it, love it, share it *This project is not affiliated with Anthropic. Claude Code is a trademark of Anthropic.*
---
## ๐ŸŽ‰ **Ready to Transform Your Development Experience?** ### ๐Ÿš€ **One Command to Rule Them All** ```bash git clone https://git.supported.systems/claude/claude-code-tracker.git && cd claude-code-tracker && docker-compose up -d && ./setup-hooks ``` **That's it!** Welcome to the future of development intelligence ๐ŸŽŠ --- [![Made with โค๏ธ](https://img.shields.io/badge/Made%20with-โค๏ธ-red?style=for-the-badge)](https://github.com/yourusername) [![For Claude Code](https://img.shields.io/badge/For-Claude%20Code-blue?style=for-the-badge&logo=anthropic)](https://claude.ai/code) [![Powered by Coffee](https://img.shields.io/badge/Powered%20by-Coffee-brown?style=for-the-badge&logo=buy-me-a-coffee)](https://buymeacoffee.com/yourhandle) **โญ Star this repo if it made your coding life better!**