Liyfez

Pastime

Craft your perfect GitHub Activity Graph. Pick a single color and we'll automatically generate a beautifully scaled theme for both Light and Dark modes.

Detailed Setup Guide

Prerequisites: Fork & Token

  1. Fork the Pastime repository to your own account.
  2. Go to GitHub Settings > Developer Settings and generate a Personal Access Token (PAT) with read:user and repo permissions.
  3. In your forked repo, go to Settings > Secrets and variables > Actions. Add a secret named GH_TOKEN_FOR_GRAPH and paste your token.
  4. Go to Settings > Actions > General in your repo, and ensure Read and write permissions are enabled.

How to use this site

  • Use Step 1 below to design your perfect color theme.
  • Use Step 2 to copy the configuration code. Paste it exactly into the .github/workflows/update-graph.yml file in your forked repo.
  • Run the GitHub action manually to generate your image.
  • Use Step 3 to generate the Markdown code. Paste that into your main Profile README!

Step 1: Choose Your Theme Color

We'll calculate 4 precise intensity levels for your heat map.

Live Preview

Auto-Theme Enabled

This graph instantly reacts to your system's Dark/Light mode settings.

Step 2: Apply to GitHub Actions

Go to your forked Pastime repository on GitHub. Open the file located at .github/workflows/update-graph.yml.

Find the env: block and replace it completely with this code:

Step 3: Add to your Profile

Type your GitHub Username below to generate your image link.

Go to your main Profile README and paste this Markdown code exactly where you want it!

Username: