Kletse Blog

A developer with too many open tabs, linking to the ones worth keeping.

How Kladje works

Kladje has no database. It keeps a snapshot of this repo in memory and renders pages from it.

Reading

  • The app checks the head of main at most every 30 seconds.
  • When it changes, the posts are fetched again with GraphQL.
  • Pages are cached by Vercel's CDN, and publishing purges that cache.

Writing

Editors sign in with GitHub. Saving a post commits it with the editor's own name:

fn main() {
    println!("Hello from Kladje");
}

Hello world mlkjm lkjmljk

This is the first post on Kladje, a lightweight blog written in Rust and hosted on Vercel.

A plain cover image

Posts live in a GitHub repo as Markdown files with frontmatter, and every save in the admin becomes a commit.