Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Steellow/calendary

Repository files navigation

Calendary

Calendary as in calendar and legendary. A web app for generating printable wall calendars.

Super work-in-progress, no ETA for release :D Current version which might or might now work, and is available at git.hanki.dev/calendary.

❗ Printing in the current version does not work properly, there are some versions in the commit history where it works. I gave up on this project as I realized that using a physical calendar is too much of a inconvinience for me. Leaving this repo here in case someone wants to fork and continue it :)

Inspo

I want to create something as smooth and customizable as flowcv.io, but for calendars!

FAQ

How printing works?

By using javascript's own window.print(). To see how the calendar gets printed and not the whole page, check app.css.

How preview works?

By setting fixed size for the div where the calendar gets drawn. For A4 paper it's width: 3508px; height: 2480px;. Since nobody has that big monitor it needs to be scaled down using transform: scale(). The scale factor gets calculated from your window size, check calculateScaleFactor().

aspect-ratio doesn't work in this case since we need to scale font sizes inside the div.

Coventions

  • In the code date related numbers start from 1, not 0
    • When using 0-based parameter it's always with index
    • For example, month = 9 and monthIndex = 8 would both be September
    • It's easier for me to wrap my head around in date loops when counting starts from 1

About

Web app for generating beautiful printable calendars

Resources

Stars

Watchers

Forks

Contributors