npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-freestyle-plugin

v0.0.2

Published

Create a Freestyle voice plugin from a starter template.

Readme

create-freestyle-plugin

Scaffold a new Freestyle voice plugin from a starter template. Freestyle is the local-first voice dictation app; plugins extend its dictation pipeline — rewrite transcripts, inject cleanup prompts, transform the final text, and add UI pages. See the plugin SDK for the full plugin contract.

Usage

Run it with your package manager's create command — no install needed:

npm create freestyle-plugin@latest
# or
pnpm create freestyle-plugin
# or
yarn create freestyle-plugin
# or
bun create freestyle-plugin

You can also pass the target directory directly:

npm create freestyle-plugin@latest my-plugin

With no flags, the CLI prompts for the target directory, template, package manager, and whether to install dependencies. Pass flags to skip the prompts.

Templates

| Template | Description | | --- | --- | | basic | Hook-only plugin (no UI) | | with-ui | Plugin with a React UI page |

Templates are pulled from templates/ in the Freestyle monorepo.

Options

| Flag | Description | | --- | --- | | [target] | Target directory (positional). Use . for the current directory. | | -t, --template <template> | Template to use: basic or with-ui. | | -p, --pm <pm> | Package manager: pnpm, npm, bun, or yarn. Defaults to the one that invoked the CLI. | | -i, --install | Install dependencies after scaffolding. | | -o, --offline | Use giget's offline cache instead of downloading the template. | | -V, --version | Print the CLI version. | | -h, --help | Print help. |

Non-interactive example:

npm create freestyle-plugin@latest my-plugin -- --template with-ui --pm pnpm --install

The scaffolder sets the package name (slugified from the target), the plugin's displayName, its UI page title, and the plugin name in src/index.ts to match your project.

Next steps

After scaffolding:

cd my-plugin
pnpm install        # if you didn't pass --install
pnpm run build      # build the plugin (and UI, for with-ui)
pnpm run link       # symlink it into Freestyle for local testing

Use pnpm run build / pnpm run link (the run form) rather than pnpm build / pnpm link — the bare build and link commands collide with built-in package-manager commands and would run the wrong thing.

link drops a -dev copy of your plugin into Freestyle's user-data plugins/ directory, symlinked to your dist/. Restart Freestyle, then enable the plugin under Settings → Plugins to activate its hooks and middleware. Rebuild to pick up changes; run pnpm run unlink to remove the dev copy.

Full walkthrough: Build your first plugin, and the plugin SDK reference.

License

MIT