13ty's profile picture
13ty

data-plugin

Public

16 Downloads

README

lmstudio-extensions

A starter monorepo for building LM Studio extensions.

  • Language: TypeScript
  • Package layout: Bun workspaces
  • Repo workflow: jj with Git compatibility

Why TypeScript?

For an LM Studio extension monorepo, TypeScript is the safest default because it gives you:

  • Shared types across packages
  • Easier refactors as the repo grows
  • Good support in the Node.js ecosystem
  • Cleaner boundaries between extensions and shared utilities

If you later need model helpers, data processing, or automation scripts, you can add a Python package alongside the TypeScript packages.

Layout

  • apps/example-extension — a starter extension package
  • packages/shared — shared utilities used by multiple packages
  • tsconfig.base.json — shared compiler configuration
  • tsconfig.json — root project references

Commands

After installing dependencies:

  • bun install — install dependencies
  • bun run build — build all packages
  • bun run clean — remove build output

Notes about jj

This repo was initialized with jj in colocated mode, so normal Git-compatible workflows still work.

A simple day-to-day flow is:

  • Make your changes
  • Check status
  • Commit with jj
  • Push to the GitHub remote

If you want, I can next turn this starter into a real LM Studio extension package structure with a manifest, API wiring, and a proper dev/build pipeline.