{"id":15931190,"url":"https://github.com/karl-horning/github-api-with-d3","last_synced_at":"2025-12-30T23:09:23.219Z","repository":{"id":216887330,"uuid":"742609536","full_name":"Karl-Horning/github-api-with-d3","owner":"Karl-Horning","description":"The \"GitHub API with D3\" project is a web application that leverages the GitHub API to fetch and visualize repository topics for a specified GitHub user (Karl-Horning as the default). The frontend is built using D3.js, providing an interactive and informative chart for the user's GitHub repositories.","archived":false,"fork":false,"pushed_at":"2024-01-15T19:32:05.000Z","size":249,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T03:15:49.193Z","etag":null,"topics":["api","backend","d3","github","javascript","node-js","npm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Karl-Horning.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}},"created_at":"2024-01-12T21:29:57.000Z","updated_at":"2024-02-21T16:15:33.000Z","dependencies_parsed_at":"2024-01-13T12:48:41.068Z","dependency_job_id":"e0008d42-7c3b-43e6-9378-e77cc5f36c90","html_url":"https://github.com/Karl-Horning/github-api-with-d3","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"3a027469bca5cd42cbc111e1125bee78b7dc770e"},"previous_names":["karl-horning/github-api-test","karl-horning/github-api-with-d3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karl-Horning%2Fgithub-api-with-d3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karl-Horning%2Fgithub-api-with-d3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karl-Horning%2Fgithub-api-with-d3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karl-Horning%2Fgithub-api-with-d3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karl-Horning","download_url":"https://codeload.github.com/Karl-Horning/github-api-with-d3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247014578,"owners_count":20869399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","backend","d3","github","javascript","node-js","npm"],"created_at":"2024-10-07T01:04:22.882Z","updated_at":"2025-12-30T23:09:23.214Z","avatar_url":"https://github.com/Karl-Horning.png","language":"JavaScript","readme":"# 🧠 GitHub API with D3\n\n---\n\n## 📖 Table of Contents\n\n- [🧠 GitHub API with D3](#-github-api-with-d3)\n  - [📖 Table of Contents](#-table-of-contents)\n  - [🤓 Overview](#-overview)\n  - [📸 Demo](#-demo)\n  - [🛠️ Tech Stack](#️-tech-stack)\n  - [📦 Installation](#-installation)\n  - [🚀 Scripts](#-scripts)\n  - [📁 Project Structure](#-project-structure)\n  - [📌 To Do](#-to-do)\n  - [🧪 Known Issues](#-known-issues)\n  - [🤝 Contributing](#-contributing)\n  - [📚 Acknowledgements](#-acknowledgements)\n  - [📄 Licence](#-licence)\n  - [👤 Author](#-author)\n\n---\n\n## 🤓 Overview\n\nA simple D3-powered web app that fetches and visualises GitHub repository topics using the GitHub API. It defaults to [Karl-Horning](https://github.com/Karl-Horning) but can be adapted to display any GitHub user's public repos.\n\n---\n\n## 📸 Demo\n\n![Preview of topic visualisation](./src/public/img/preview.png)\n\nRuns locally at: [http://localhost:3000](http://localhost:3000)\n\n---\n\n## 🛠️ Tech Stack\n\n- **Frontend**: D3.js, Bootstrap\n- **Backend**: Express\n- **API**: GitHub REST API via `@octokit/core`\n- **Languages**: JavaScript (Node.js)\n- **Tooling**: Chalk, Dotenv\n\n---\n\n## 📦 Installation\n\n```bash\ngit clone https://github.com/Karl-Horning/github-api-with-d3.git\ncd github-api-with-d3\nnpm install\n```\n\n---\n\n## 🚀 Scripts\n\n| Command     | Description              |\n| ----------- | ------------------------ |\n| `npm start` | Start the Express server |\n\n---\n\n## 📁 Project Structure\n\n```bash\n/\n├── public/              # Static assets (if applicable)\n├── src/\n│   ├── public/img/      # Visual assets for the UI\n│   ├── routes/          # Express routes\n│   ├── utils/           # Utility functions\n│   └── views/           # HTML and D3 code\n├── .env.example         # Example environment file\n└── index.js             # Entry point\n```\n\n---\n\n## 📌 To Do\n\n- [ ] Add user input to customise GitHub username\n- [ ] Refactor into reusable chart components\n- [ ] Add tests and CI config\n\n---\n\n## 🧪 Known Issues\n\n- Does not yet support private repositories\n- Chart styling can break on very small screens\n\n---\n\n## 🤝 Contributing\n\nPull requests are welcome! Please fork the repo and use a feature branch.\n\n```bash\ngit checkout -b your-feature-name\n```\n\nOnce your changes are ready, open a pull request with a clear description.\n\n---\n\n## 📚 Acknowledgements\n\n- [D3.js](https://d3js.org/)\n- [Express](https://expressjs.com/)\n- [@octokit/core](https://github.com/octokit/core.js)\n- [Chalk](https://www.npmjs.com/package/chalk)\n- [Dotenv](https://www.npmjs.com/package/dotenv)\n- [Bootstrap](https://getbootstrap.com/)\n\n---\n\n## 📄 Licence\n\nMIT © 2025 Karl Horning\n\n---\n\n## 👤 Author\n\nMade with ❤️ by [Karl Horning](https://github.com/Karl-Horning)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarl-horning%2Fgithub-api-with-d3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarl-horning%2Fgithub-api-with-d3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarl-horning%2Fgithub-api-with-d3/lists"}