# Typebulb > Typebulb runs apps in markdown files called bulbs. Quick to make & share, runs online or locally, & can call an LLM at runtime. A bulb is a single markdown file with fenced code blocks (TypeScript/React code, notes, config). Every bulb page has a raw markdown version at the same URL with a `.md` suffix. ## Docs - [FAQ](https://typebulb.com/faq): what Typebulb is, the tb.* API, how inference works ## Sample bulbs - [OCR Highlighter](https://typebulb.com/u/samples/ocr-highlighter.md): Load an image and OCR reads the text automatically — then click any word, drag across a line, or type to highlight every match. Export as PNG or copy. - [Is It True?](https://typebulb.com/u/samples/is-it-true.md): Fact-check a claim across multiple AI models and see if they agree. - [Chess Arena](https://typebulb.com/u/samples/chess-arena.md): Let two AI models play a full game of chess against each other. - [Mind Reader](https://typebulb.com/u/samples/mind-reader.md): LLMs play the roles of predictor and agent in Newcomb's Problem, Parfit's Hitchhiker. - [Infinite Mandelbrot](https://typebulb.com/u/samples/infinite-mandelbrot.md): A Mandelbrot exlorer with 10^300 depth. Demonstrates Web workers, WebAssembly, WebGL2, custom urls. - [Transformer](https://typebulb.com/u/samples/transformer.md): Watch a transformer learn 2-digit addition from scratch in your browser. Type two numbers and see it predict the sum digit by digit. Built with tensorgrad (autograd + WebGPU). - [Image Classifier](https://typebulb.com/u/samples/image-classifier.md): Image classifier built with tensorgrad, running in your browser on WebGPU. Drop in photos, fix wrong guesses, and add new classes, live. - [It's a sine](https://typebulb.com/u/samples/its-a-sine.md): The smallest end-to-end tensorgrad training loop: a 3-layer MLP learns y = sin(x). - [NeRF](https://typebulb.com/u/samples/ne-rf.md): NeRF is a coordinate-network MLP learns the (x, y) → RGB mapping for one 64×64 image, using sinusoidal positional encoding so it can fit high-frequency detail. - [NN DNA](https://typebulb.com/u/samples/nn-dna.md): Diagram a neural network design with AI. Describe a model in plain English and see its architecture as a diagram. Built on tensorgrad. - [Neural Network](https://typebulb.com/u/samples/neural-network.md): Train a neural network to recognize handwritten digits (MNIST) live in your browser. Draw on the canvas and watch the model improve in real time. Built with tensorgrad (autograd + WebGPU). - [Tensors](https://typebulb.com/u/samples/tensors.md): The building blocks of neural networks explained interactively. Vectors, tensors, matmul, softmax, embedding, and more. - [XOR X-ray](https://typebulb.com/u/samples/xor-x-ray.md): A 2-2-1 neural network learns XOR. Step through the full training loop: forward arithmetic, chain-rule backward, optimizer update. - [Donut Life](https://typebulb.com/u/samples/donut-life.md): Conway's Game of Life rendered on a torus. - [Markdown to PDF](https://typebulb.com/u/samples/markdown-to-pdf.md): Markdown to PDF - Live preview and export markdown as a PDF. - [PDF Extractor](https://typebulb.com/u/samples/pdf-extractor.md): PDF Page Extractor - Select and extract specific pages into a new PDF. - [Hush](https://typebulb.com/u/samples/hush.md): Hush - Sound the alarm when noise gets out of hand - [Invoice Generator](https://typebulb.com/u/samples/invoice-generator.md): Invoice Generator - Create simple, professional invoices as PDF. - [Writing Buddy](https://typebulb.com/u/samples/writing-buddy.md): AI editor that critiques your arguments, highlights weak spots, and helps you fix them. - [LLM to LLM](https://typebulb.com/u/samples/llm-to-llm.md): A playground for two AI models to talk to each other, turn by turn, with user approval. - [Markov Drums](https://typebulb.com/u/samples/markov-drums.md): A Markov chain drum machine: stochastic beats with real-time state transition visualization. - [Messiness Index](https://typebulb.com/u/samples/messiness-index.md): How automatable is your job? The Messiness Index scores jobs across 6 dimensions of task complexity. Higher messiness = harder to automate. - [The Twits](https://typebulb.com/u/samples/the-twits.md): Dramatize any conversation: boring parts removed, subtext made overt, and honesty cranked up to 11. - [Prisoner's Dilemma](https://typebulb.com/u/samples/prisoners-dilemma.md): Prisoner's Dilemma simulator where different strategies vie for survival in different world setups. - [Veer Factor](https://typebulb.com/u/samples/veer-factor.md): Paste a quote, get a Veer Factor score. How far outside their expertise is the speaker? From 'In Lane' to 'Car Crash'. - [Video Clip Crop](https://typebulb.com/u/samples/video-clip-crop.md): FFmpeg Video Clipper & Cropper - [Earth](https://typebulb.com/u/samples/earth.md): CO2 emissions by country rendered on a globe. - [Plot](https://typebulb.com/u/samples/plot.md): Plot an equation you describe in plain English. - [Rhetorical Mirror](https://typebulb.com/u/samples/rhetorical-mirror.md): See how the same persuasion techniques can argue opposite positions. - [Redlined](https://typebulb.com/u/samples/redlined.md): Translate legalese into plain English and surface the hidden risks you need to watch out for. - [ffmpeg AI](https://typebulb.com/u/samples/ffmpeg-ai.md): AI-powered FFmpeg in your browser — describe what you want, AI creates the command, then process your video. - [Chart](https://typebulb.com/u/samples/chart.md): A simple demonstration of a chart. - [Primordial Soup](https://typebulb.com/u/samples/primordial-soup.md): A "primordial soup" simulation, as explained in the paper "Computational Life: How Well-formed, Self-replicating Programs Emerge from Simple Interaction. - [Bayes' Calculator](https://typebulb.com/u/samples/bayes-calculator.md): A very visual Bayesian calculator. - [Pacman](https://typebulb.com/u/samples/pacman.md): Classic pacman gmae - [Destroyed!](https://typebulb.com/u/samples/destroyed.md): Let AI judge who won the debate. - [Bach](https://typebulb.com/u/samples/bach.md): An AI composer that creates original music in any style, to help you find inspiration. - [Markdown Editor](https://typebulb.com/u/samples/markdown-editor.md): Markdown editor with auto-formatting. - [Waves](https://typebulb.com/u/samples/waves.md): Visual and sonic adding of two simple sine waves. - [Rocket Balancer](https://typebulb.com/u/samples/rocket-balancer.md): Linear Quadratic Regulator Control of Sliding-Base Inverted Rod, based on physics by Brian Beckman. - [Perfect Wordle](https://typebulb.com/u/samples/perfect-wordle.md): Perfect Wordle - Computes the Perfect World Moves. - [Self Portrait](https://typebulb.com/u/samples/self-portrait.md): Self-portrait by ChatGPT when asked to express itself with code visualisations. - [Deep Sea Jellyfish](https://typebulb.com/u/samples/deep-sea-jellyfish.md): Code snippet ported from the artist @yuruyurau. Check out his stuff! - [Spotify Data Parsing](https://typebulb.com/u/samples/spotify-data-parsing.md): Spotify data parsing example. Typebulb gives the AI assistant a summarized view of the data tab. This ensures the AI sees the structure of the data without wasting its context window. AIs are inc... - [Birds](https://typebulb.com/u/samples/birds.md): Boids Flocking Simulation using the Boids algorithm created by Craig Reynolds in 1986, simulating the flocking behavior of birds through emergent complexity from simple rules. - [Minesweeper](https://typebulb.com/u/samples/minesweeper.md): Classic Minesweeper game. - [Dr. Sous](https://typebulb.com/u/samples/dr-sous.md): Let Dr. Sous turn any recipe into a cooking timeline. - [Are you overconfident?](https://typebulb.com/u/samples/are-you-overconfident.md): Are you overconfident? Take the test! - [Purrvana](https://typebulb.com/u/samples/purrvana.md): Purrvana - Fall asleep to a cat purring - [Winter](https://typebulb.com/u/samples/winter.md): Code snippet ported from the artist @KilledByAPixel. Check out his stuff