Most writing apps are built to keep you inside them. I wanted one that lets you go. 1k.gg is a single page where you write 1,000 characters a day. When you reach the thousandth one, a quiet note appears: Today's 1k is written. One thousand characters. The rest of the day is yours. No confetti and no particle layer. You can keep writing if you like, but the day is done.
That small idea turned out to need some careful engineering. Here is how it works, taken straight from the source.
Why a writing app should end
A goal that never ends isn't really a goal. A fixed daily target makes starting cheap: you know how much is "enough" before you write the first word. So the app has one constant, GOAL = 1000, and one moment that matters, when the count crosses it. Completion is recorded once (completedAt) and stays recorded. If you delete a sentence afterwards, the day doesn't become unfinished.
That puts all the pressure on one function. If the count is wrong or easy to game, the f
Discussion
Your thoughts matter!
Your input is valuable—be the first to share it!