Skip to content

A highly customizable GitHub stats SVG generator: Most readme card projects on GitHub look B-O-R-I-N-G, so I made a cool one myself. Cyberpunk style :)

License

Notifications You must be signed in to change notification settings

gh0stintheshe11/GitHub-Stats-SVG

Repository files navigation

Github Stats SVG

A highly customizable GitHub stats SVG generator

This project generates a visually appealing, highly customizable SVG image displaying GitHub user statistics. It's designed to be embedded in GitHub profiles or other web pages to showcase a user's GitHub activity and contributions.

Features

  • Fetches real-time GitHub user data using the GitHub GraphQL API
  • Generates a customizable SVG image with user stats, displaying various metrics including commits, language usage, and many more
  • Supports custom color schemes, configurations, and animated elements

Deployment

This project is configured for deployment on Vercel. Follow these steps to deploy your own instance of the GitHub Stats SVG generator:

  1. Generate a GitHub Personal Access Token (PAT):

    • Go to GitHub Settings > Developer settings > Personal access tokens
    • Click "Generate new token" and select the necessary scopes (at minimum, public_repo and read:user)
    • Copy the generated token
  2. Click the "Deploy" button below to clone and deploy the project on Vercel:

    Deploy with Vercel

  3. During the Vercel deployment process:

    • Set the GITHUB_TOKEN environment variable with your generated PAT
    • Update any other necessary configuration settings
  4. After deployment, update the SVG URL in your projects or profile README:

    ![GitHub Stats SVG](https://your-vercel-deployment-url.vercel.app/api/github-status?username=your-github-username)
    

    Replace your-vercel-deployment-url with your actual Vercel deployment URL and your-github-username with your GitHub username.

The vercel.json file includes the necessary settings for serverless function deployment and routing.

Customization

You can customize the appearance of the SVG by modifying the config.js file. This includes changing colors, dimensions, and other visual aspects of the generated image. If you want to modify the SVG code, you can do so in the /src/card/renderStats.js file.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request and open an issue. check [Intro] (intro.md) for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Enjoy showcasing your GitHub stats in cyberpunk style! 🚀

#Cyberpunk2077 #Cyberpunk:Edgerunners

GitHub Stats SVG

About

A highly customizable GitHub stats SVG generator: Most readme card projects on GitHub look B-O-R-I-N-G, so I made a cool one myself. Cyberpunk style :)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published