Cap Standalone is a self-hosted version of Cap's backend that allows you to spin up a server to validate and create challenges so you can use it with languages other than JS.
To install Cap Standalone, you need to have [Docker](https://docs.docker.com/get-docker/) installed on your server. Once you have it installed, you can run the following command to pull the image:
Then, to run the server, use the following command:
```bash
docker run \
-p 3000:3000 \
-v $(pwd)/cap-standalone:/usr/src/app/.data \
-e ADMIN_KEY=your_secret_key \
tiago2/cap:latest
```
This will start the server on port 3000 and create a `cap-standalone` folder in your current directory to store the data. Change the port if needed.
Make sure to replace `your_secret_key` with a strong secret key, as anyone with it will be able to log into the dashboard and create keys.
Then, you can access the dashboard at `http://localhost:3000`, log in, and create a key. The key ID and secret will be used to configure the widget and verify the token on your server. You'll also need to make the server publicly accessible from the internet, as the widget needs to be able to reach it.