Skip to content

mattcroat/github-contributions-api

Repository files navigation

GitHub Contributions API

The SvelteKit GitHub contributions API scrapes the data from GitHub and returns the GitHub contributions data as JSON.

If you want to use the API in a real project, host it yourself on Vercel which takes a minute but gives you peace of mind in case it ever goes down.

You can watch the video how I made this API on YouTube if you want to learn more about web scraping with SvelteKit.

Local Development

🧑‍🤝‍🧑 Clone the project

https://github.com/joysofcode/github-contributions-api.git

📦️ Install dependencies

pnpm i

💿️ Run the development server

pnpm run dev