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"],
  )
  .procedure(
    "notes.list",
    (_, { notes }) => {
      return Array.from(notes.values());
    },
    ["notes"],
  );

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

const notes = notesLab.execute(
  "notes.list",
  {},
);

console.log(notes);

Notable projects

Software out the wazoo!

jsonx

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

denojsr.iojsx/tsx

ht

Type-safe HTML rendering library for Deno. Visit the generated API documentation to learn more!

denohtmljsr.io

htx

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

denohtmljsr.iojsx/tsx

rt

Minimal HTTP router library based on the URLPattern API. Visit the generated API documentation to learn more!

denohttpjsr.io

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

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.

How do I join the community?

Join our Discord server to chat with us and other members of the community. Also, check out our GitHub org.