https://github.com/iryna-vyshniak/github-report
๐งพ Your GitHub contribution statement! View your open-source balance, commit history, and activity stats as a printed receipt. Earn more stars, fork projects, and level up your GitHub journey! ๐พโก
https://github.com/iryna-vyshniak/github-report
html-to-image jsbarcode
Last synced: 10 months ago
JSON representation
๐งพ Your GitHub contribution statement! View your open-source balance, commit history, and activity stats as a printed receipt. Earn more stars, fork projects, and level up your GitHub journey! ๐พโก
- Host: GitHub
- URL: https://github.com/iryna-vyshniak/github-report
- Owner: Iryna-Vyshniak
- License: mit
- Created: 2024-11-20T19:25:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-25T09:48:54.000Z (over 1 year ago)
- Last Synced: 2025-05-30T06:21:42.246Z (about 1 year ago)
- Topics: html-to-image, jsbarcode
- Language: TypeScript
- Homepage: https://github-report.vercel.app
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ GitHub Report
GitHub Report is a **Next.js & React** app that generates a **printable GitHub contribution summary**. Using **GitHub API, html-to-image, and jsbarcode**, it creates a visually appealing report with key statistics such as repositories, stars, forks, and commits.
---
## ๐ Features
- ๐ **Dynamic Data Fetching** โ Retrieves user data from GitHub API.
- ๐ท **Barcode Generation** โ Encodes GitHub usernames into barcodes.
- ๐ผ **Export Options** โ Save your report as an image or share it.
- ๐จ **Styled as a Receipt** โ Unique transaction-style contribution summary.
- โฟ **Accessibility Optimizations** โ Semantic HTML and ARIA attributes.
- ๐ **Dark Mode Support** โ Adapts to system theme.
---
## ๐ฆ Tech Stack
- **Next.js 15** โ Server-side rendering & API routes.
- **React 19** โ Component-based UI.
- **GitHub API** โ Fetches user contribution stats.
- **html-to-image** โ Converts reports to images.
- **jsbarcode** โ Generates barcodes.
- **Tailwind CSS** โ Responsive and modern styling.
---
## ๐ Installation
1. **Clone the repository**
```sh
git clone https://github.com/Iryna-Vyshniak/github-report.git
cd github-report
```
2. **Install dependencies**
```sh
npm install
```
_or_
```sh
yarn install
```
3. **Set up environment variables**
- Create a `.env.local` file and add the following:
`env
NEXT_PUBLIC_GITHUB_API=https://api.github.com/users/
NEXT_PUBLIC_REPOS_URL=https://api.github.com/repos/
NEXT_PUBLIC_COMMITS_URL=https://api.github.com/search/commits?q=author:
NEXT_PUBLIC_GITHUB_TOKEN=your token
`
4. **Run the development server**
```sh
npm run dev
```
_or_
```sh
yarn dev
```
---
## ๐ธ Screenshots

---
## ๐ Usage
1. Enter a **GitHub username**.
2. Click the **Print button** to generate the report.
3. View your **GitHub contribution summary**.
4. **Download** or **share** your report as an image.
---
## ๐ Roadmap
- [ ] Add **multi-language support** ๐
- [ ] Allow **custom styling** for receipts ๐จ
- [ ] Improve **mobile responsiveness** ๐ฑ
- [ ] Implement **PDF export option** ๐
---
## ๐ค Contributing
Contributions are welcome! ๐ If you'd like to improve the project:
1. **Fork the repo**
2. **Create a feature branch** (`git checkout -b feature-name`)
3. **Commit your changes** (`git commit -m 'Add some feature'`)
4. **Push to the branch** (`git push origin feature-name`)
5. **Open a Pull Request** ๐
---
## ๐ License
MIT License ยฉ [Iryna-Vyshniak](https://github.com/Iryna-Vyshniak)
---
## ๐ก Inspiration
Inspired by the concept of **gamifying open-source contributions**, this project turns GitHub activity into a **receipt-style report** for a fun and interactive experience. ๐