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-mythryl-app

v0.1.11

Published

Start a Mythryl mini app: npm create mythryl-app@latest.

Readme

create-mythryl-app

Start a Mythryl mini app.

npm create mythryl-app@latest

or with another package manager:

pnpm create mythryl-app
yarn create mythryl-app
bun create mythryl-app

It asks where to put the app, which template to use, the domain the app will be served from, and its name, then writes the project, installs its dependencies and starts a git repository. It finishes by printing what to do next, with links into the developer console that already have your domain filled in.

Options

Anything given as an option is not asked.

create-mythryl-app [folder] [options]

  -t, --template <name>        react-vite (default), nextjs
  -d, --domain <domain>        the domain the app will be served from, such as my-game.example
      --title <name>           the app's display name (default: from the folder name)
  -p, --package-manager <pm>   npm, pnpm, yarn, bun (default: the one that ran this)
      --install, --no-install  install dependencies afterwards (default: yes)
      --git, --no-git          start a git repository (default: yes, unless already inside one)
  -y, --yes                    ask nothing and use defaults, for scripts and AI coding tools
  -f, --force                  write into a folder that is not empty, replacing files with the same names
  -h, --help
  -v, --version

--yes is for anything that cannot answer questions, such as a script or an AI coding tool:

npx create-mythryl-app lanternfall --template react-vite --domain my-game.example --yes

Nothing is sent anywhere, and nothing is committed to git: that first commit is yours.

Package managers

npm, pnpm, yarn and bun all work, and every template is installed, typechecked, linted, tested and built with each of them in CI (yarn 1 and yarn 4 both). The tool uses whichever one ran it, so pnpm create mythryl-app makes a pnpm project, and the commands in the README and next steps are written for it. --package-manager picks one explicitly. For yarn 2 and later the project gets a .yarnrc.yml asking for node_modules (not Plug'n'Play) and an empty yarn.lock, so it installs the way the templates expect. The project does not pin a packageManager version.

Node 22.12 or later is needed by the templates' tooling (Vite and Vitest); odd-numbered Node releases such as 25 are refused by Vitest, and yarn 1 treats that as an error where the others only warn.

Templates

| Template | What you get | | --- | --- | | react-vite | A small React app with a card for each part of the SDK: who the player is and how the app was opened, a cloud save, sharing a post, notifications, the Library, signing in to your server, and links out. Static: deploys anywhere. | | nextjs | The same app on Next.js, with API routes that verify the player's token (/api/me), receive Mythryl's signed webhooks (/api/mythryl) and send the player a notification (/api/notify), using @mythryl/server-sdk. Sets the frame-ancestors header Mythryl needs. |

Every template includes:

  • public/.well-known/mythryl.json, the manifest, filled in with your name and domain, and placeholder icon.png and hero.png at the sizes the console wants.
  • A dev:tunnel script that exposes the dev server over https for the App tester.
  • AGENTS.md, CLAUDE.md and .cursor/rules, which tell an AI coding tool what a mini app can and cannot do.
  • Typecheck, lint, test and build scripts.

The new project depends on the same version of @mythryl/app-sdk as this tool, because the packages are released together.

License

MIT