Bitstillery · 2026

Between Mithril and Cartopolis

Jeroen van Veen, BitstilleryA year with AI, at work and at home

The Moving Spirits portal: the header 'Europa's grootste groothandel in merkdranken' over a dark red and teal background, with search, a price list download and the shop menu
Three phone screens of Cartopolis over a 3D map of Groningen: signing in, and the card for a building on the Grote Markt, before and after

At work

  • Risk: mistakes cost customer trust & money
  • Control: we review and add quality control
  • Trust: we own the outcome
The discussion on a mockup of a typical GitLab issue at work: Collin, 2 days ago, explains the fix Claude found and asks for a second pair of eyes; Jeroen, reviewing, a day later asks for one more test, for switching language while the results are still loading
CI workflow: issue → code → test → review → deploy

At work · the goal

A modern maintainable frontend

~160,000 lines of TypeScript

850+ files, ERP and portal

  1. Replace LiveScript with TypeScript
  2. Modernise Mithril upgrade, not replace
  3. Build a CMS on our own Mithril
  4. Add types trust the output
  5. Evolve how we review the process

At work · step 1 · Oct. 2024

Replace LiveScript

Before · LiveScript, hyperscript

view: ->
  m '.card',
    m 'h3', @title
    m 'p', @text

Niche, abandoned by its community around 2015

After · TypeScript, JSX

view() {
  return <div class="card">
    <h3>{this.title}</h3>
    <p>{this.text}</p>
  </div>
}

What every frontend developer, and every AI, knows

30,000+ lines

2 weeks, Cursor Composer

  1. Replace LiveScript with TypeScript
  2. Modernise Mithril upgrade, not replace
  3. Build a CMS on our own Mithril
  4. Add types trust the output
  5. Evolve how we review the process

At work · Mithril · since Mar. 2026

Modernise Mithril

  • Mithril: hardly developed further for years
  • Features were missing: usually a reason to switch frameworks
  • Instead, the AI modernised Mithril to fit our needs
  • 769 tests pin what it outputs
A joke: a made-up Q&A thread, 'Our framework is missing state management and server rendering. What should we do?' The answers say rewrite it in React and add Redux, in Vue, in Svelte, or in a framework released this morning; the accepted answer: 'Ask the AI to add them. 769 tests say it still works.'
  1. Replace LiveScript with TypeScript
  2. Modernise Mithril upgrade, not replace
  3. Build a CMS on our own Mithril
  4. Add types trust the output
  5. Evolve how we review the process

At work · our first real feature with AI · Mar. to Sept. 2026

Build a CMS

  1. Replace LiveScript with TypeScript
  2. Modernise Mithril upgrade, not replace
  3. Build a CMS on our own Mithril
  4. Add types trust the output
  5. Evolve how we review the process

At work · types · 2026

Add types

  1. Replace LiveScript with TypeScript
  2. Modernise Mithril upgrade, not replace
  3. Build a CMS on our own Mithril
  4. Add types trust the output
  5. Evolve how we review the process

At work · recap and outlook

Evolve how we review

  • The aim: modernizing whole modules, backend too
  • Not yet: backend without review
  • For now: proposal → business → small reviews
  • Meanwhile: automate more, AI review too
  • Puzzling helps us keep talking
The picture our team does as a jigsaw puzzle: a cat in a bishop's robes preaching 'Finish the work! Merge to main.' to AI companies in mitres, over a crowd and a pile of broken laptops
  1. Replace LiveScript with TypeScript
  2. Modernise Mithril upgrade, not replace
  3. Build a CMS on our own Mithril
  4. Add types trust the output
  5. Evolve how we review the process

At home

  • Risk: lower in open source, but bugs still affect users
  • Control: visual, mockups & screenshots
  • Trust: the AI and I learn to evolve the checks
A short discussion in a Midas session on Cartopolis, in minutes: the AI, 14 minutes ago, shows the new menu, light beside dark; Jeroen, 11 minutes ago: the + still floats over the conversations; the AI, 3 minutes ago, has fixed it, all 1622 tests pass, and asks whether step 1 may land; Jeroen, 2 minutes ago: land it, go on with the bridges
Midas workflow: verify design → check preview → land

At home · the goal

Cartopolis: an open metaverse

  • The metaverse: Google Earth meets Second Life
  • The world: the real planet, from open data
  • The app: Android, WASM and desktop
  • Step by step: add checks, adapt AI workflow, add build machines
  1. Add checks control & trust
  2. Adapt AI workflow let go
  3. Add build machines scale up
  4. The product where it is going

At home · step 1 of 3 · control and trust

Add checks

The avatar's walk getting better: the old avatar, a first try with motion capture, the zombie walk, a walk from a motion-capture library, and the final walk
The walk: frame by frame
A Midas session, 'Nieuw UI-ontwerp en mockups', waiting for an answer: four phone screens of the new menu in Cartopolis, light beside dark, signed out and signed in
The design: a mockup in a Midas session
The DUO tunnel mouths in Cartopolis before and after, beside the aerial photo matched to the same camera position
Reality: the DUO tunnel beside the aerial photo
  1. Add checks control & trust
  2. Adapt AI workflow let go
  3. Add build machines scale up
  4. The product where it is going

At home · step 2 of 3 · let go

Adapt AI workflow

  • Claude remote: steer code from phone
  • Midas: centralize workflow & deployment
  • Before landing: a small decision, on limited context
  • In parallel: several sessions at once; a new deploy, and I check a few things together
2,243 commits so far, since 30 Nov 2025 Nov 2025: 2 commits N 2025 Dec 2025: 2 commits D J 2026 F Mar 2026: 10 commits M A May 2026: 2 commits M Jun 2026: 26 commits J Jul 2026: 157 commits J 157 Aug 2026: 692 commits A 692 Sep 2026: 494 commits S Oct 2026: 612 commits O Nov 2026, to the 12th: 246 commits N 246 so far on my laptop on my server
Cartopolis commits per month: from 26 July on my server
Midas on the phone, in its dark theme: a Cartopolis session about the tunnel by DUO under the park, its steps and tests on mac-2, and the question 'Shall it land?' with 'Land it and finish' recommended, answered by jeroen
Midas on the phone
  1. Add checks control & trust
  2. Adapt AI workflow let go
  3. Add build machines scale up
  4. The product where it is going

At home · step 3 of 3 · scale up

Add build machines

Midas lends each session a node Mac mini Apple GPU node node Steam Deck AMD GPU node The server no GPU node My phone Snapdragon GPU
The machines it borrows: on the dining table, the server, my phone
On a wooden dining table: a Steam Deck in its dock on top of a Mac mini, a closed laptop and a monitor, with an orange and white cat sitting behind them
On the dining table
  1. Add checks control & trust
  2. Adapt AI workflow let go
  3. Add build machines scale up
  4. The product where it is going

At home · Cartopolis

Where it is going

Open questions and use cases:

  • Post about a broken bridge, and see it on that bridge?
  • Follow your neighbourhood from Mastodon or Lemmy?
  • Run your own simulator, linked to the same world?
The GPS-RTK receiver on a wooden table, beside one mixed photo on the roof of the Forum in Groningen: on the left the real selfie with the Martinitoren behind, on the right the avatar in Cartopolis with the same tower
A mixed GPS-RTK photo on the Forum's roof
  1. Add checks control & trust
  2. Adapt AI workflow let go
  3. Add build machines scale up
  4. The product where it is going