LeaderboardStatisticsBadges
Get StartedSign in

Privacy Policy

Last updated: January 2026

Overview

StatsCode is an open-source project that tracks your AI coding statistics locally. We believe in transparency and user control over personal data.

Data Collection

Local Data (Default)

By default, all your coding statistics are stored locally on your machine:

  • Session duration and activity times
  • Lines of code generated
  • Programming languages used
  • Tool usage patterns

This data never leaves your device unless you explicitly choose to sync.

Cloud Sync (Opt-in)

If you choose to sync your stats to the cloud leaderboard, we collect:

  • GitHub username and avatar (via OAuth)
  • Aggregated coding statistics (hours, sessions, lines)
  • Country/region (if provided)

What We Don't Collect

  • Your actual code or prompts
  • File contents or project names
  • Personal information beyond GitHub profile
  • Browsing history or other apps data

Data Storage

Cloud data is stored securely on Google Cloud Platform (Firebase/Firestore) with industry-standard encryption. Local data is stored in your home directory at ~/.statscode/.

Your Rights

You can:

  • Delete your local data at any time
  • Request deletion of your cloud data
  • Export your data in JSON format
  • Opt out of cloud sync entirely

Contact

For privacy concerns or data deletion requests, open an issue on our GitHub repository.