← All posts

· 4 min read

Turn your GitHub profile into a page people remember

Make your GitHub profile prettier: a beginner's guide, beside a board of live GitHub numbers and a contribution graph

Most GitHub profiles are a grid of green squares and a list of repos. Mine has its own header, my colours and a board of live numbers that redraws itself once a day:

My GitHub profile: a header card, then an On GitHub board with contributions, streaks, repos, stars and downloads

Here's how to make yours like that, for free. Where a step is code, give the prompt to your coding agent (I use Claude Code) and check what it made.

1. Make the profile repo

On GitHub, click +, then New repository. Name it exactly your username, make it Public, turn on Add README and create it. That README is now the top of your profile.

2. Make it look good

GitHub strips CSS and JavaScript from a README, but it keeps images. So images are your design tool: a header with your name and what you do, badges for where you post, cards with your stats. Keep them in the repo, in a light and a dark version, and GitHub shows the one that matches the visitor's theme.

Prompt: a header for light and dark
In my GitHub profile repo <username>/<username>, draw a wide header image as SVG in my colours (<your colours>),
with my name and the line "<one line about you>", in a light and a dark version, and show it at the top of
README.md with a <picture> element. Keep every image in the repo, no outside card services.

Long lists can fold away with <details>. I fold my contribution graph for each past year, so only the last 6 months are open.

3. Keep it fresh by itself

A GitHub Action is a small job that runs on GitHub's computers on a schedule, free on public repos. Mine redraws the board once a day. Here's its workflow file:

The workflow file on GitHub: name, a schedule with a cron line, workflow_dispatch, push paths, and permissions: contents: write

Prompt: keep it fresh twice a day
In my GitHub profile repo, add a Python script, standard library only, that writes my five most recently updated
public repos into README.md between <!-- latest-repos:start --> and <!-- latest-repos:end -->. Add a GitHub
Actions workflow that runs it twice a day at minute 17, has workflow_dispatch, has permissions: contents: write and
nothing more, uses the built-in GITHUB_TOKEN (no personal tokens, no secrets), and runs git pull --rebase before
it pushes. Show me the README it produces. Don't push until I say so.

Before it pushes, check the workflow file: permissions says contents: write and nothing else, there's no personal token or new secret, and the cron line reads like 17 6,18 * * * (twice a day, in UTC). Log in to GitHub yourself with gh auth login in your own terminal, and never paste a token into the chat.

4. Run it and check it

In the Actions tab, open the workflow and click Run workflow. Green tick, it worked. Red cross, open the step that failed and read its last lines.

The Actions tab of my profile repo: eight runs, seven with a green tick and one red cross, each with its trigger: pushed, scheduled or manually run

My red one was a push I made while the scheduled run was working, so GitHub refused its out-of-date copy. That's what the git pull --rebase is for.

The catch

Scheduled runs can start late or get dropped when GitHub is busy. Mine started about nine hours late two days in a row. So run it twice a day, at a minute that isn't 00, and if your repo sits untouched for 60 days, turn the workflow back on in the Actions tab.

Mine is a bigger version of the same idea, and its code is public: https://github.com/ZazaGdev/ZazaGdev

Sources

First published on X and LinkedIn.