Show HN: Aurora, an extensible Python static site generator https://ift.tt/23hy1bI

Show HN: Aurora, an extensible Python static site generator Aurora is a fast, extensible Python static site generator. With Aurora, I can generate my personal website [1] (~1,700 files, with multiple layers of jinja2 templates for each page) in < 4 seconds. Aurora generated 292,884 pages from a Hacker News post dataset in 2m:20s. I appreciate being able to see changes I make as soon as possible, so Aurora comes with hot reloading and incremental static regeneration for development. Refreshes and reloads are ~200ms, and trigger automatically. You can see a demo at: https://github.com/capjamesg/aurora/assets/37276661/39f62bd8... Aurora comes with a "hooks" API that lets you control state before page generation and after site build. I use the former feature to read locally-cached link previews. There is also a feature to load data from JSON and CSV files. I would love feedback! [1] https://jamesg.blog [2] https://jamesg.blog/2024/06/16/aurora-isr/ https://github.com/capjamesg/aurora June 18, 2024 at 01:00AM

No comments:

Show HN: A free multiviewer to watch major news events like elections https://ift.tt/NlvSxq1

Show HN: A free multiviewer to watch major news events like elections Hey HN! I'm a Product Manager at the FT in the UK, and VidGrid is ...