{"id":28278231,"url":"https://github.com/cvega/gh-stats-visualizer","last_synced_at":"2026-05-05T14:32:02.618Z","repository":{"id":292398036,"uuid":"980282351","full_name":"cvega/gh-stats-visualizer","owner":"cvega","description":"Visualize GitHub statistics and collaboration patterns.","archived":false,"fork":false,"pushed_at":"2025-05-12T06:34:16.000Z","size":5172,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T13:21:57.373Z","etag":null,"topics":["github","migration","react","typescript","vite"],"latest_commit_sha":null,"homepage":"https://mona-actions.github.io/gh-stats-visualizer/","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/cvega.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-08T21:54:00.000Z","updated_at":"2025-07-08T17:11:34.000Z","dependencies_parsed_at":"2025-05-09T19:04:11.357Z","dependency_job_id":null,"html_url":"https://github.com/cvega/gh-stats-visualizer","commit_stats":null,"previous_names":["cvega/gh-stats-visualizer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cvega/gh-stats-visualizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvega%2Fgh-stats-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvega%2Fgh-stats-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvega%2Fgh-stats-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvega%2Fgh-stats-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvega","download_url":"https://codeload.github.com/cvega/gh-stats-visualizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvega%2Fgh-stats-visualizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["github","migration","react","typescript","vite"],"created_at":"2025-05-21T07:15:14.933Z","updated_at":"2026-05-05T14:32:02.601Z","avatar_url":"https://github.com/cvega.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Stats Visualizer\n\nA static web application that visualizes GitHub statistics and collaboration patterns. \n\n\u003c!-- Option 1: Local image (recommended) --\u003e\n![GitHub Stats Analyzer Upload](./assets/gh-stats-visualizer-upload.png)\n\n![GitHub Stats Analyzer Dashboard](./assets/gh-stats-visualizer-dashboard.png)\n\n\n## Features\n\n- 📊 Interactive dashboard with multiple visualization types\n- 📈 Time-based analysis of repository activity\n- 👥 Collaboration pattern insights\n- 🎨 Modern, responsive UI\n- ⚡ Fast performance with Vite, React and Typescript\n\n## Getting Started\n\n1. Clone the repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n4. Open [http://localhost:5173](http://localhost:5173) in your browser\n\n## Adding a New Dashboard Chart\n\nThe application is designed to be easily extensible. Here's how to add a new chart component:\n\n1. Add your chart component to `src/components/Dashboard/Components.tsx`:\n   ```typescript\n   // Inside src/components/Dashboard/Components.tsx\n   \n   // Add your chart component\n   function NewChart({ data }: ChartProps) {\n     return (\n       \u003cdiv className=\"chart-container\"\u003e\n         {/* Your chart implementation */}\n       \u003c/div\u003e\n     );\n   }\n   \n   // Add it to the DashboardComponents object\n   export const DashboardComponents = {\n     // ... existing components\n     newChart: NewChart,\n   };\n   ```\n\n2. The chart will automatically be available in the dashboard through the `DashboardComponents` object.\n\n3. Style your chart using the shared styles in `src/styles.ts`\n\n### Available Chart Types\n\nThe application provides several generic chart components that you can use:\n\n1. **Bar Chart** (`GenericBarChart`)\n   ```typescript\n   interface BarChartProps {\n     title: string;\n     data: { name: string; value: number }[];\n     bars: { dataKey: string; name: string; fill: string }[];\n     formatter?: (value: ValueType) =\u003e string;\n     XAxisProps?: object;\n   }\n   ```\n\n2. **Pie Chart** (`GenericPieChart`)\n   ```typescript\n   interface PieChartProps {\n     title: string;\n     data: { name: string; value: number }[];\n     colors: string[];\n     formatter?: (value: ValueType) =\u003e string;\n   }\n   ```\n\n3. **Line Chart** (`GenericLineChart`)\n   ```typescript\n   interface LineChartProps {\n     title: string;\n     data: { name: string; value: number }[];\n     lines: { dataKey: string; name: string; stroke: string }[];\n     formatter?: (value: ValueType) =\u003e string;\n   }\n   ```\n\n4. **Table** (`GenericTable`)\n   ```typescript\n   interface TableProps {\n     title: string;\n     data: any[];\n     columns: { key: string; label: string; render?: (value: any) =\u003e ReactNode }[];\n     limit?: number;\n     fullWidth?: boolean;\n   }\n   ```\n\n### Chart Component Guidelines\n\n- Use TypeScript for type safety\n- Follow the existing chart component patterns\n- Implement responsive design\n- Include loading and error states\n- Add tooltips for data points\n- Use the shared color palette from `CHART_COLORS`\n\n## Project Structure\n\n```\n.\n├── src/\n│   ├── components/\n│   │   ├── Charts/             # Chart visualization components\n│   │   │   ├── Bar.tsx         # Bar chart component\n│   │   │   ├── Line.tsx        # Line chart component\n│   │   │   ├── Pie.tsx         # Pie chart component\n│   │   │   ├── Table.tsx       # Table visualization\n│   │   │   ├── Utils.tsx       # Shared chart utilities\n│   │   │   └── index.ts        # Chart exports\n│   │   ├── Dashboard/          # Dashboard components\n│   │   │   └── Visualization.tsx  # Dashboard layout and components\n│   │   ├── Dashboard.tsx       # Main dashboard container\n│   │   ├── Footer.tsx          # Application footer\n│   │   ├── GitHubLogo.tsx      # GitHub logo component\n│   │   ├── Header.tsx          # Application header\n│   │   └── Upload.tsx          # File upload component\n│   ├── utils/\n│   │   ├── calculateStats.ts   # Statistics calculation utilities\n│   │   ├── generateTestData.ts # Test data generation\n│   │   └── parseCsv.ts         # CSV parsing utilities\n│   ├── App.tsx                 # Main application component\n│   ├── main.tsx               # Application entry point\n│   ├── styles.ts              # Shared styles\n│   └── types.ts               # TypeScript type definitions\n├── public/                    # Static assets\n├── index.html                # HTML entry point\n├── package.json              # Project dependencies\n├── tsconfig.json            # TypeScript configuration\n└── vite.config.ts           # Vite configuration\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create a Pull Request\n\n## License\n\nMIT License - feel free to use this project for your own purposes.\n\n## Credits\n\nBuilt with ❤️ by the :octocat: Expert Services Team","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvega%2Fgh-stats-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvega%2Fgh-stats-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvega%2Fgh-stats-visualizer/lists"}