finds.dev← search

// the find

hakimel/forkit.js

★ 849 · JavaScript · MIT · updated Nov 2022

an animated GitHub ribbon

A JavaScript animated ribbon widget that replaces the static GitHub corner badge with one that opens a curtain of extra content when clicked. It's a UI novelty from 2017, not a utility library. If you want a slick 'Fork me on GitHub' corner decoration with a bit more personality, this is it.

The animation effect is genuinely well-executed — CSS-based curtain reveal is smooth and the open/close events give you enough hooks to do something useful with the panel. MIT licensed, zero dependencies, single JS file you can just drop in. Hakim El Hattab (the reveal.js author) knows his way around browser animation, and it shows in the polish.

Last touched in 2022 and the linked demo is dead (lab.hakim.se is gone), so you're adopting blind unless you run it locally first. The README is five lines — no install instructions, no browser support matrix, no explanation of how to customize the content inside the curtain. It's also a solved problem: most projects just use a static SVG ribbon, and this adds JS overhead for a purely cosmetic effect. The 849 stars are mostly nostalgia from the GitHub ribbon era.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →