Menu

1 / 2

I built a 'life in weeks' poster generator in one HTML file

DEV Community·Ali Alp·6 months ago
#tuyN2r5X
#productivity#javascript#life#software#const
Reading 0:00
15s threshold

I made a tool that draws every week of your life on a single sheet of paper.

A long human life is roughly 5,200 weeks. That's a 100-row × 52-column grid — small enough to fit on one A4 page, big enough that you instinctively try to count them. The tool fills in the weeks you've already lived, leaves the rest empty, and exports a PDF you can print.

Live: https://alicommit-malp.github.io/life-in-weeks/

Source: https://github.com/alicommit-malp/life-in-weeks

It's also a quiet experiment in restraint:

One file ( index.html — HTML, CSS, JS, all of it)

No framework, no bundler, no package.json

Two CDN deps: jsPDF and Google Fonts

No backend, no analytics, no localStorage

$0 hosting, $0 forever

This post is about the design decisions. There's just enough code to show what's interesting; the rest is on GitHub.

Why one file?

Because the surface area is small.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.