CodeCrane

Your code, as a building

A small pixel-art building sits in the corner of your screen and grows as you and your coding agent write code.

The first release is being prepared. This command starts working the day it reaches npm.

0 lines in 0 folders, 0 floors

Software is invisible. This gives it a body.

A civil engineer can point at a bridge. A programmer has nothing to point at. CodeCrane reads your project folder and draws what is there, and the building above is that same drawing code running in your browser.

  • Write code and a floor goes up, wall by wall, with a tower crane hauling the material.
  • Delete code and floors come down.
  • Every few lines count: scaffolding climbs towards the next floor, and the day's work piles up as pallets by the crane.
  • Break a test and a crack runs down the facade.
  • It reads your files on your own machine. Nothing is sent anywhere.
The floating window: a mountain lodge with a tower crane beside it
The window floats above your other windows. Drag it wherever you like.

Each project gets the building that fits it

There are twenty-eight kinds: an office tower for a product that keeps growing, a lighthouse for a tool that does one thing, a castle for a game, a library for code other people build on. A project's own fingerprint picks its colors, windows, roof and surroundings, so no two look alike, and yours always comes back the same.

One of each of the twenty-eight kinds of building, from an office tower to a giant jukebox

From a thousand lines to a million

A building can only get so tall, so past a point the site around it grows instead: a yard past 5,000 lines, a compound past 30,000, a small district on the way to a million. Each row is one kind of project at a thousand, ten thousand, a hundred thousand and a million lines.

An office tower, a castle and a lighthouse, each drawn at a thousand, ten thousand, a hundred thousand and a million lines

Show it to someone

One command writes a picture of your building. Another replays your git history as an animation, from the first commit to today. This one is CodeCrane's own repository being built.

npx codecrane snapshot
npx codecrane timelapse
An animation of a building rising floor by floor as commits are replayed

Start it in a project folder

The building appears in the bottom-right corner of your screen. Drag it to move it, right-click it to change its size or quit. It works on macOS, Windows and Linux, and picks up where it left off the next day.

npx codecrane

To start it in the background and get your terminal back:

npx codecrane --detach
npx codecrane stop