# ByteStash

ByteStash is a self-hosted web application designed to store, organise and manage your code snippets efficiently. With support for creating, editing and filtering snippets, ByteStash helps you keep track of your code in one secure place.

<ServiceNotice hasMigrated={false} />

### References

<ReferenceLinks references={frontmatter.references} />

---

## Make directory

```sh wrap preserveIndent
mkdir -p {{DOCKER_PATH_VAR}}/bytestash && cd {{DOCKER_PATH_VAR}}/bytestash
```

## compose.yml

```sh
nano compose.yml
```

```yml title="compose.yml"
yaml
```

## .env

```sh
nano .env
```

```dotenv title=".env"
env
```

## Start container

```sh
docker compose up -d
```

## Open web ui

<OpenWebUI port="5000" />
