Kladje

#kladje#rust#vercel

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");
}