• Me standing in front of some tents
    I'm Alistair. I work at Anthropic on Bun and Claude Code. I'm interested in things like language specifications and type systems. I've been called a TypeScript wizard at least a few times. It's nice to meet you.
  • Me standing in front of some tents

    I try to write every now and then, often about stuff I've recently been working on. Hover your mouse here to see the list.

    Ambient Declarations

    Explaining ambient declarations with @types/bun as an example

    Avoiding homework with code (and getting caught)

    The eventful tale of me getting fed up with my homework

    The 0kb Next.js blog

    How I shipped a Next.js app with a 0kb bundle

    Serverless Discord OAuth with Next.js

    Implementing basic Discord OAuth on Vercel's serverless platform

    A strict TSConfig

    The strictest TypeScript configuration possible. "Look ma, no errors!"

  • Me standing in front of some tents

    Some things I've built or worked on.

    oven-sh/bun

    Zig

    Fast JavaScript runtime, bundler, and package manager. I work on this at Anthropic.

    alii/arc

    Gleam

    JavaScript on the BEAM. Run JS/TS on the Erlang VM.

    alii/al

    V

    A small, statically-typed, expression-oriented programming language.

    valtyr/prisma-kysely

    TypeScript

    Generate Kysely types directly from your Prisma schema.

    kaito-http/kaito

    TypeScript

    Type-safe HTTP framework for TypeScript.

    alii/use-lanyard

    TypeScript

    React hook for fetching Discord presence through Lanyard.

    alii/nextkit

    TypeScript

    Typesafe API routes for Next.js.

    alii/use-last-fm

    TypeScript

    React hook for grabbing Last.fm now playing data.

    alii/discord-jsx

    TypeScript

    Write Discord messages with JSX.

    alii/poimandres-terminal

    Poimandres theme for the terminal.

    alii/linear-style

    TypeScript

    CSS inspired by Linear's landing page.

    alii/azs

    TypeScript

    A URL shortener.

    alii/searchy

    TypeScript

    Full-text search, written in TypeScript.

    alii/permer

    TypeScript

    Bitfield-based permissions in TypeScript.

    alii/trisma

    TypeScript

    Prisma utilities.

    alii/typestr

    TypeScript

    TypeScript type-level string parser.

  • Me standing in front of some tents
    MapMap
    Avatar

    I'm currently in San Francisco, CA 📍

  • Me standing in front of some tents
    Find me online:
    I'm @alii on GitHub
    I'm @alistaiir on Twitter/X