Where imagination becomes great software

FartLabs logo animation

Build modern software solutions in seconds

import { Lab } from "labs/labs.ts";

interface Note {
  title: string;
  content: string;
}

const notesLab = new Lab()
  .variable("notes", new Map<string, Note>())
  .procedure(
    "notes.add",
    (note: Note, { notes }) => {
      const id = crypto.randomUUID();
      notes.set(id, note);
      return { id };
    },
    ["notes"],
  )
  .procedure(
    "notes.get",
    ({ id }: { id: string }, { notes }) => {
      return notes.get(id);
    },
    ["notes"],
  );

const noteID = notesLab.execute(
  "notes.add",
  { title: "Hello", content: "World" },
);

const note = notesLab.execute(
  "notes.get",
  { id: noteID.id },
);

console.log(note);

Notable projects

jsonx

JSX runtime and compiler for composing JSON data. Visit the official jsonx website to play with JSON like never before!

denojsr.iojsx/tsx

htx

Library of @fartlabs/jsonx components for composing HTML content. Visit the generated API documentation to learn more!

denohtmljsr.iojsx/tsx

rtx

Library of @fartlabs/jsonx components for composing @fartlabs/rt routers. Visit the generated API documentation to learn more!

denohttpjsr.iojsx/tsx

Labs

Labs are data structures designed for composable and type-safe management of variables and procedures at scale.

codegendenotypescript

Deno Blocks

Blockly IDE integration with Fresh and Deno Subhosting. Winner of Deno Subhosting Hackathon (Ryan Dahl's favorite). Visit Deno Blocks!

blocklydenofreshsubhosting

fart.css

CSS library reusable across fart-tastic frontends. Visit css.fart.tools to learn more!

css

Rise to the occasion

L
F
A
A
B
R
S
T

FAQs

What is FartLabs?

We maintain ethical, economically-sustainable, built-to-last, organic, open-source software… out the wazoo! We specialize in imagination-driven development. Learn more about us on our Blog.

How do I join the community?

Join our Chat to hang out with us and other members of the community. Also, check out our org on GitHub.