# Build your own

> Start an extension in one command, try it on your own server, and share it.

Page: https://songstress.app/docs/extensions/build/

This page is the short version. The whole guide is [Build extensions](/docs/develop/): the manifest field by field,
every hook, provider and component, the host API, the command line, testing, publishing, and the API reference.

## Start one [#start-one]

```sh title="Terminal"
npm create songstress-extension@latest
```

It makes a working extension to build on. The `songstress` package it uses gives you:

- the APIs for your extension's server code and its parts in the apps;
- a checker for your extension's manifest, and a pretend Songstress to test against;
- helpers for themes.

Your extension's server code runs in a sandbox on the server, with up to 64 MiB of memory and 30 seconds for each
call.

## Try it on your server [#try-it-on-your-server]

```sh title="Terminal"
SONGSTRESS_PASSWORD='your password' npx songstress dev --server http://music.local:8090 --email you@example.com
```

`songstress dev` installs your extension on your own server, for you alone, and puts each change there as you make
it.

## Check, build and pack [#check-build-and-pack]

- `songstress check` checks it the way Songstress will before it runs. `songstress check --profile listing` says
  what a listing in the directory still needs.
- `songstress build` builds it.
- `songstress pack` makes the `.songstress` file people can install.

## Share it [#share-it]

People can install it straight from your GitHub repository, or from its `.songstress` file. To list it in the
directory everyone sees, read the [guidelines](/extensions/guidelines/) and
[submit it](/extensions/submit/).
