
Built an open-source Nepali calendar API that computes dates astronomically
Been working on this for a couple months. It's called Project Parva, basically an API that computes Nepali calendar stuff (BS/AD conversion, festival dates, panchanga, muhurta) using real planetary position data from Swiss Ephemeris rather than storing hardcoded dates someone typed in from a government PDF.
The main thing that bothered me about existing stuff is they all assume Kathmandu. If you're building something for diaspora users, the sunrise-dependent calculations (tithi, muhurta windows) are just wrong for anyone outside KTM. This one takes actual lat/lon.
Verified against 65 dates from MoHA holiday PDFs across 2080-2082, passes all of them.
Here's my project,
GitHub: https://github.com/dantwoashim/Project_Parva
reddit seems to flag the direct link to the API
(AGPL, open source)
Happy to answer questions or take feedback on what's missing.









