Turn your GitHub history into a visual timeline and embeddable stats cards for README files, portfolios, and personal sites.
Generate your timeline | Get embed access
Replace YOUR_EMBED_KEY with your own key from githubtimeline.com.
<div id="gh-timeline"></div>
<script
src="https://githubtimeline.com/embed.js"
data-key="YOUR_EMBED_KEY"
data-view="active"
data-theme="auto"
data-mode="interactive"
data-target="gh-timeline"
data-height="420"
></script>Endpoint: /api/embed/svg/:key
view:first|active|range(default:range)theme:light,dark,skyline,hacker,edgerunner,wicked,cherry-blossom,deep-waters,forest,neon-purple,grayscale,retrowidth:400to1200(default:800)
Endpoint: /api/embed/stats/:key
theme: same set as timelinewidth:400to1200(default:800)
data-key: your embed key (required)data-view:first|active|range(default:active)data-theme:light|dark|auto(default:auto)data-mode:static|interactive(default:static)data-target: container id (default:gh-timeline)data-width: optional fixed width in pxdata-height: optional height in px (default:400)
- Use a keyword-first repo name like
github-timeline-readme-embeds. - Keep
GitHub timeline,README stats, andGitHub README embedin headings. - Keep visuals above the fold so visitors instantly see output quality.
- Add internal links between sections and external links to your product page.
- Update screenshots/themes periodically to keep the repo active.
- The embed key may be invalid.
- Timeline data may not be generated yet for that key.
- One of your query params may be misspelled.
No. GitHub README supports image embeds, not custom scripts.
Not affiliated with GitHub, Inc.