Swotmoor
About 15 minutes the first time

Quick start

These steps start Swotmoor on your own computer. You type a few commands into a terminal (Windows: Terminal or PowerShell; Mac: Terminal).

1. Install Docker

Install Docker Desktop and open it once so it is running. On Linux, install Docker Engine and the Compose plugin.

2. Unzip Swotmoor and make your settings file

Download the zip, unzip it somewhere that stays put, and open a terminal in the swotmoor folder:

Windows:      Copy-Item .env.example .env
Mac / Linux:  cp .env.example .env

3. Start Swotmoor

docker compose up --build

The first start builds the app and takes a few minutes. Then open http://localhost:8080 and choose Try 3 samples to see a complete path with no key. Leave the terminal open while you use it; press Ctrl+C to stop.

4. Build a path from your own notes

  1. Open .env in a text editor and put your key after LLM_API_KEY=. If your service is not OpenAI, also set LLM_BASE_URL and LLM_MODEL to the values it gives you.
  2. Stop Swotmoor and start it again with docker compose up.
  3. Drop your files on the shelf, press generate, and start with chapter 1.

Your key stays in .env on your computer. Only use material you wrote or have the right to use.

If something goes wrong

  • “Cannot connect to the Docker daemon”: open Docker Desktop and wait until it says it is running, then try again.
  • Port 8080 already in use: change the first 8080 in docker-compose.yml to another number, for example 8090:8080, and open that port instead.
  • “No model key is configured” after adding a key: stop and start Swotmoor again so it reads .env.
  • Everything Swotmoor keeps is in the data folder. Delete it to start fresh.

Still stuck? Email localreply+swotmoor@agentmail.to with what you typed and what you saw. Please don’t send your key.