tlachialoni

Shipped
/tla-chia-LO-nee/‘instrument to see’

A minimal local browser for frontend development.

Devlog
Stack
  • electron
  • vue
  • typescript
  • vite
  • opencode
  • speckit

A frameless window that renders a local dev server edge to edge, with Chromium DevTools docked inside the same window.

This is the video I recorded for the "launch" of the project. Notably, there weren't any themed dev tools at that point.Watch on YouTube
All the features in one GIF.
The command palette. We control navigation, app settings, extensions and UI layout from here.
The browser supports 8 variations of Tlapalli, my own VSCode theme. Both in dark and light modes: Obsidian, Gold, Turquoise, Quartz, Lapis Lazuli, Amethyst, Jade and Fire Opal.
DevTools theme follows the overall browser's one. I originally didn't have this, but realized I could implement it later, and I think it looks great.
Use swipe gestures in your touchpad to navigate back and forth.
Also added after the release video, a reloading indicator lights the whole border of the window, and a little bit different one for the hard reloading was implemented too.
You can pick light or dark modes as well as follow the operating system's mode.
The title bar can be fixed or toggled on and off.
An Inspect Element picker triggered even if DevTools is not open at the moment.

The... what's its name again?

This is a Tlachialoni (or Tlachieloni), it was a staff that used to be depicted being used by High Priests or deities who would see through a circle made of some kind of mirror (obsidian or metal):

  • Line drawings of Tezcatlipoca and Huitzilopochtli from the Códice Tudela, Códice Magliabechiano and Códice Florentino, each holding a tlachialoni: a staff topped with a disc pierced by a hole.
  • A painted codex figure seated on a woven throne, holding up a tlachialoni with a red-ringed hole at the centre of its disc.
  • Xiuhtecuhtli painted in a codex page, carrying a serpent-headed shield and a tlachialoni.

But... why?

I really like the minimal experience that Arc browser has. But I just couldn't make it work as a dev browser for developing the front end of my apps. So after switching between a few other browsers including plain old Google Chrome and the Orion browser, I decided to give it a shot and create my own version of what a minimalist dev focused browser could be.

I think this also looks great on a video where I am showing the app I am working on and the chrome around it is not distracting, so I can actually focus the attention on the contents of the app itself.

Screenshots

Here are a few screenshots with a testing website, which we called "Test Card" like the ones for video production. The idea is you can see what the UI looks like when the browser is in use.

  • The Test Card page filling the frameless window edge to edge, with no browser chrome around it.
  • The command palette open over a dimmed window: recent localhost targets, then commands to toggle and dock DevTools, inspect, reload and go back, each with its shortcut.
  • The Inspect Element picker highlighting the accent swatch card on the Test Card page, with DevTools closed.
  • DevTools docked along the bottom of the window, themed to match the browser, under the Test Card page.
  • DevTools docked on the right, with the Test Card page reflowed into the narrower column beside it.
  • A back arrow at the left edge of the page, shown while swiping on the touchpad to go back.
  • The error card for an unreachable target: "Can't reach this target", http://localhost:3000, connection refused, with Retry, Edit URL and Go Back buttons.
  • The title bar pinned above the page, showing the address and window controls, with the window size in the corner.
  • The thin title strip across the top of the window, holding the address and window controls.The thin title strip across the top of the window, holding the address and window controls.

On how it is built

I really wanted to keep the Chromium DevTools because that's what I am used to. So I ended up creating an electron app and decided to also bring in Spec Kit to manage the whole process of building the application.

I mostly used OpenCode's models for this with the paid subscription, and it's been quite an interesting experience so far.