{"id":28504681,"url":"https://github.com/heysagnik/diy-analytics","last_synced_at":"2026-03-10T04:31:46.666Z","repository":{"id":295356385,"uuid":"987896862","full_name":"heysagnik/diy-analytics","owner":"heysagnik","description":"Set up your analytics server before your coffee gets cold.","archived":false,"fork":false,"pushed_at":"2025-10-10T06:13:25.000Z","size":1289,"stargazers_count":23,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T01:31:59.802Z","etag":null,"topics":["2025","analytics","dashboard","diy","hacktoberfest","mongodb","nextjs","open-source","tailwindcss","web","web-analytics"],"latest_commit_sha":null,"homepage":"https://diy-analytics.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heysagnik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-21T18:46:46.000Z","updated_at":"2025-10-19T20:35:24.000Z","dependencies_parsed_at":"2025-05-25T05:40:46.450Z","dependency_job_id":"f370112e-61fd-4f07-96dc-3d4b5f3aeaea","html_url":"https://github.com/heysagnik/diy-analytics","commit_stats":null,"previous_names":["heysagnik/diy-analytics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heysagnik/diy-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heysagnik%2Fdiy-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heysagnik%2Fdiy-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heysagnik%2Fdiy-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heysagnik%2Fdiy-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heysagnik","download_url":"https://codeload.github.com/heysagnik/diy-analytics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heysagnik%2Fdiy-analytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30324408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2025","analytics","dashboard","diy","hacktoberfest","mongodb","nextjs","open-source","tailwindcss","web","web-analytics"],"created_at":"2025-06-08T18:30:30.462Z","updated_at":"2026-03-10T04:31:46.658Z","avatar_url":"https://github.com/heysagnik.png","language":"TypeScript","readme":"# DIY Analytics ✨\n\n[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Vercel](https://img.shields.io/badge/Vercel-Ready-black)](https://vercel.com/new/clone?repository-url=https://github.com/heysagnik/diy-analytics)\n[![GitHub Stars](https://img.shields.io/github/stars/heysagnik/diy-analytics?style=social)](https://github.com/heysagnik/diy-analytics)\n\n\u003e Privacy-friendly \u0026 Powerful website analytics in minutes — no coding, no complex setup , no fuss.\n\n\n\n\n![localhost_3000_projects_6831e67f66e2968bb78db4ba](https://github.com/user-attachments/assets/6fd0f55d-74ea-4027-aec0-d78739fbb157)\n\n\u003e ⚠️ Disclaimer: This project is in alpha. Not recommended for production use yet. Expect rapid changes and bugs.\n\n\n## 🚀 Instant Setup\n\nLaunch your own analytics tool in seconds:\n\nDeploy to Vercel with one click: \u003cbr/\u003e \u003cbr/\u003e\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/heysagnik/diy-analytics)  \u003cbr/\u003e \n\nPrefer manual setup? Follow the **Quick Setup** below.\n\n## ✨ What Makes It Awesome\n\n- **🔒 100% Privacy-Respecting** – No personal data, no cookies, no pop-ups.\n\n- **⚡ Super Lightweight** – Tracking script is under 2KB. Blazing fast.\n\n- **📈 Insightful Dashboard** – Get traffic data that actually matters.\n\n- **✅ GDPR \u0026 CCPA Friendly** – Compliance built-in, not bolted on.\n\n- **🛠️ Easy Self-Hosting** – Deploy and integrate with a single line of code.\n\n## 💻 Quick Setup\n\n\n### 1. Clone the repository\n```bash\ngit clone https://github.com/heysagnik/diy-analytics.git\ncd diy-analytics\n```\n### 2. Set up environment variables\nCreate a .env file similar to the .env.local.example\nThen, open .env.local and update MONGODB_URI with your actual MongoDB connection string.\nFor local development, the default value might work if you have MongoDB running locally.\nFor production, ensure you use your production database URI.\n\n### 3. Install dependencies\n```bash\nnpm install\n```\n### 4. Run the development server\n```bash\nnpm run dev\n# This will start the application on http://localhost:3000 (or the next available port).\n```\n\n## 📊 Add to Your Site\n\nCopy the snippet from your dashboard and paste it into your site’s `\u003chead\u003e`.\n\u003cimg src=\"https://github.com/user-attachments/assets/55b84635-32a3-48e5-aef4-8b9510090762\" width='500'/\u003e\n\n\n\n\n## 🤝 Join Our Community \u0026 Contribute\n\nWe're building DIY Analytics as a community effort and welcome contributions of all kinds! Whether it's reporting a bug, suggesting a feature, improving documentation, or writing code, we'd love your help.\n\n**How to contribute:**\n- **Found a bug?** [Open an issue](https://github.com/heysagnik/diy-analytics/issues).\n- **Have a feature idea?** [Start a discussion](https://github.com/heysagnik/diy-analytics/discussions) or open an issue.\n- **Ready to contribute code or documentation?** Fork the repository, create your feature branch, and then submit a pull request!\n\nCheck out our [open issues](https://github.com/heysagnik/diy-analytics/issues) to see where you can help.\n\nLet's build something amazing together!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheysagnik%2Fdiy-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheysagnik%2Fdiy-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheysagnik%2Fdiy-analytics/lists"}