https://github.com/karl-horning/github-api-with-d3
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.
https://github.com/karl-horning/github-api-with-d3
api backend d3 github javascript node-js npm
Last synced: 29 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/karl-horning/github-api-with-d3
- Owner: Karl-Horning
- License: mit
- Created: 2024-01-12T21:29:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T19:32:05.000Z (about 2 years ago)
- Last Synced: 2025-02-09T03:15:49.193Z (12 months ago)
- Topics: api, backend, d3, github, javascript, node-js, npm
- Language: JavaScript
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ง GitHub API with D3
---
## ๐ Table of Contents
- [๐ง GitHub API with D3](#-github-api-with-d3)
- [๐ Table of Contents](#-table-of-contents)
- [๐ค Overview](#-overview)
- [๐ธ Demo](#-demo)
- [๐ ๏ธ Tech Stack](#๏ธ-tech-stack)
- [๐ฆ Installation](#-installation)
- [๐ Scripts](#-scripts)
- [๐ Project Structure](#-project-structure)
- [๐ To Do](#-to-do)
- [๐งช Known Issues](#-known-issues)
- [๐ค Contributing](#-contributing)
- [๐ Acknowledgements](#-acknowledgements)
- [๐ Licence](#-licence)
- [๐ค Author](#-author)
---
## ๐ค Overview
A 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.
---
## ๐ธ Demo

Runs locally at: [http://localhost:3000](http://localhost:3000)
---
## ๐ ๏ธ Tech Stack
- **Frontend**: D3.js, Bootstrap
- **Backend**: Express
- **API**: GitHub REST API via `@octokit/core`
- **Languages**: JavaScript (Node.js)
- **Tooling**: Chalk, Dotenv
---
## ๐ฆ Installation
```bash
git clone https://github.com/Karl-Horning/github-api-with-d3.git
cd github-api-with-d3
npm install
```
---
## ๐ Scripts
| Command | Description |
| ----------- | ------------------------ |
| `npm start` | Start the Express server |
---
## ๐ Project Structure
```bash
/
โโโ public/ # Static assets (if applicable)
โโโ src/
โ โโโ public/img/ # Visual assets for the UI
โ โโโ routes/ # Express routes
โ โโโ utils/ # Utility functions
โ โโโ views/ # HTML and D3 code
โโโ .env.example # Example environment file
โโโ index.js # Entry point
```
---
## ๐ To Do
- [ ] Add user input to customise GitHub username
- [ ] Refactor into reusable chart components
- [ ] Add tests and CI config
---
## ๐งช Known Issues
- Does not yet support private repositories
- Chart styling can break on very small screens
---
## ๐ค Contributing
Pull requests are welcome! Please fork the repo and use a feature branch.
```bash
git checkout -b your-feature-name
```
Once your changes are ready, open a pull request with a clear description.
---
## ๐ Acknowledgements
- [D3.js](https://d3js.org/)
- [Express](https://expressjs.com/)
- [@octokit/core](https://github.com/octokit/core.js)
- [Chalk](https://www.npmjs.com/package/chalk)
- [Dotenv](https://www.npmjs.com/package/dotenv)
- [Bootstrap](https://getbootstrap.com/)
---
## ๐ Licence
MIT ยฉ 2025 Karl Horning
---
## ๐ค Author
Made with โค๏ธ by [Karl Horning](https://github.com/Karl-Horning)