NewsPage banner

NewsPage

3 devlogs
6h 2m 56s

A simple, but effective static blog generator written in Typescript in the Bun runtime. Utilizing the internal bun build function, the website is generated deployment ready within milliseconds.

This project uses AI

Github Copilot was used for inline completion and build command generation

Demo Repository

Loading README...

jonas.gaden

Shipped this project!

Hours: 6.04
Cookies: 🍪 129
Multiplier: 21.44 cookies/hr

A simple, but effective static blog generator written in Typescript in the Bun runtime. Utilizing the internal bun build API, the website is generated deployment ready within milliseconds.

On the more exciting side - Flavortown API integration is now a thing. Drop flavortown.exe into your project directory, punch in your API key, and it’ll pull all your devlogs and serialize them into articles automatically.

jonas.gaden

I added another theme: redshift, as well as updating the “tagesschau” design. My personal favourite theme is still the “tech” theme which has the clean, technical look with lime green as accent color.

Attachment
Attachment
Attachment
0
jonas.gaden

Alright, so a couple of things happened today that are worth talking about.

First off, the CLI got some love. The interactive prompts are cleaner, the configure flow is smoother, and the overall experience of setting up a site feels a lot smoother. Some code cleanup was done along the way too - nothing glamorous, just the usual “why did I write it like that” moments.
On the more exciting side - Flavortown API integration is now a thing. Drop flavortown.exe into your project directory, punch in your API key, and it’ll pull all your devlogs and serialize them into articles automatically.

In addition, i built a advanced installer for the app, which also registers the newspage command using Inno Setup Compiler

Attachment
Attachment
0
jonas.gaden

NewsPage is a static blog generator and in-browser editor focused on news-style articles (or flavortown devlogs => Next devlog). Authors write content as Markdown files in articles and look-and-feel is provided by the CSS themes in themes. The CLI (cli.ts) converts bundles the articles into a static website using the templates in src and applies the chosen theme. A local dev server and live editor preview (editor.html) let you iterate quickly while build helpers in lib/ handle image normalization and output generation. The typical workflow is: serve the local server, edit Markdown, click save, click rebuild site in the editor, preview locally, then publish the static output.

Attachment
Attachment
0