MCPcopy
hub / github.com/sallar/github-contributions-chart

github.com/sallar/github-contributions-chart @main sqlite

repository ↗ · DeepWiki ↗
23 symbols 48 edges 9 files 0 documented · 0%
README

:octocat: GitHub Contribution Chart Generator GitHub license

Generates an image of all your GitHub contributions since you have signed up, so you can use it in social media.

The API for this project lives in the src/pages/api directory since GitHub doesn't provide a way to access user statistics through it's official API.

The drawing mechanism lives in the sallar/github-contributions-canvas repository.

Requirements

  • A valid github account.
  • Open activity in setting (Settings > Public profile > Contributions & Activity).
  • [ ] Make profile private and hide activity

Install

Install the packages using NPM:

$ npm install

How to run

Running locally:

$ npm run dev

Deployment

This project is deployed on Vercel.

Adding themes

Add your theme to sallar/github-contribution-canvas repo and also send a PR here to add the name of the theme to the list.

Example

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Changelog

Every release, along with the migration instructions, is documented on the GitHub Releases page.

License

MIT license

Powered by Vercel

Core symbols most depended-on inside this repo

cleanUsername
called by 2
src/utils/export.js
parseDay
called by 2
src/utils/api/fetch.js
fetchData
called by 1
src/utils/export.js
download
called by 1
src/utils/export.js
downloadJSON
called by 1
src/utils/export.js
share
called by 1
src/utils/export.js
copyToClipboard
called by 1
src/utils/export.js
fetchYears
called by 1
src/utils/api/fetch.js

Shape

Function 22
Class 1

Languages

TypeScript100%

Modules by API surface

src/pages/index.js9 symbols
src/utils/export.js6 symbols
src/utils/api/fetch.js4 symbols
src/components/themes.js2 symbols
src/pages/_document.js1 symbols
src/pages/_app.js1 symbols

Dependencies from manifests, versioned

@vercel/analytics0.1.6 · 1×
cheerio1.0.0-rc.3 · 1×
github-contributions-canvas0.8.0 · 1×
lodash4.17.19 · 1×
next13.1.1 · 1×
normalize.css8.0.1 · 1×
prop-types15.7.2 · 1×
react18.2.0 · 1×
react-dom18.2.0 · 1×
react-hot-toast2.4.0 · 1×
react-icons4.7.1 · 1×

For agents

$ claude mcp add github-contributions-chart \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact