How to use GitHub Contribution Gravity Lens.
The simplest way to generate a Gravity Lens visualization is to use this web UI. Enter your GitHub username and click Generate.
You can also use the CLI tool directly:
npx github-contribution-gravity-lens --user <username> --token <GitHub Personal Access Token> --theme <theme-name>After generating your SVG, copy the embed code and paste it into your README.md:
<img src="https://gravity-lens.rujuu.com/api/svg/YOUR_USERNAME?theme=deep-space" alt="Gravity Lens" />Automate SVG generation with GitHub Actions for always up-to-date contribution visualizations.
View GitHub Actions setup guide →Six built-in themes are available, each designed for different aesthetics: