explaingit

buildsbybuchanan/kittine

Analysis updated 2026-05-18

1RustAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

A custom language that compiles to Rust web code, letting you write app logic and page layout together in one file.

Mindmap

mindmap
  root((repo))
    What it does
      Custom kitty language
      Compiles to Leptos Rust
      Runs via WebAssembly
    Tech stack
      Rust
      Leptos
      WebAssembly
      Vite
    Use cases
      Build web apps in one file
      Client rendered apps
      Server rendered apps
    Audience
      Developers
      Language enthusiasts
    Tooling
      VS Code extension
      Vite plugin
    Docs
      Language reference
      Formal grammar

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Write a client-side rendered Leptos web app using a simplified custom syntax.

USE CASE 2

Write a server-side rendered Leptos web app that shares the same source compiler.

USE CASE 3

Compile dot kitty files into idiomatic Rust code via the command line compiler.

USE CASE 4

Get syntax highlighting for dot kitty files using the provided VS Code extension.

What is it built with?

RustLeptosWebAssemblyViteTypeScript

How does it compare?

buildsbybuchanan/kittineabc3dz/mixxxabyo-software/ferro-stash
Stars111
LanguageRustRustRust
Setup difficultymoderatemoderatemoderate
Complexity4/52/54/5
Audiencedevelopergeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires the Rust toolchain and a wasm32-unknown-unknown target alongside Node.js for the Vite plugin.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Kittine is a small custom programming language with the file extension dot kitty. It lets you write both application logic and the visual layout of a web page in one file, using its own syntax for variables and state alongside a syntax similar to JSX for describing what appears on screen. Rather than building a whole new ecosystem from nothing, Kittine compiles down to Leptos, a real Rust web framework, and runs in the browser through WebAssembly. Plain HTML elements and pieces from the underlying Leptos framework can be used directly inside a dot kitty file right next to Kittine's own syntax. The project is a monorepo with five parts working together. The compiler is a command line tool written in Rust that turns dot kitty files into Leptos Rust code. A Vite plugin runs that compiler automatically, builds the resulting Rust project into WebAssembly, and serves it to the browser during development. Two example apps demonstrate the language in action: one rendered entirely in the browser with client side routing, and one server rendered using a separate Rust web server, showing that the same dot kitty source compiles identically either way. A Visual Studio Code extension adds syntax highlighting and a file icon for dot kitty files. The language itself has its own vocabulary for familiar programming concepts: declaring and updating state, conditional branches, loops over lists, functions that return values versus functions that render visual components, and importing pieces from other files. Full documentation is provided for the language reference, its formal grammar, a getting started guide, the command line tool, the VS Code extension, the internal architecture, and how to deploy either the client side or server side version. This is one project within a larger personal code portfolio, and it is released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through setting up the Kittine Vite plugin for a new client side rendered app.
Prompt 2
Explain the differences between Kittine's example-app and example-ssr projects.
Prompt 3
Show me how Kittine's if, orif, and spin control flow syntax compiles to Rust.
Prompt 4
Help me install the VS Code extension for Kittine syntax highlighting.

Frequently asked questions

What is kittine?

A custom language that compiles to Rust web code, letting you write app logic and page layout together in one file.

What language is kittine written in?

Mainly Rust. The stack also includes Rust, Leptos, WebAssembly.

What license does kittine use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is kittine to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is kittine for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.