Skip to content

Install Spondere ​

Spondere runs as two programs on your machine or your network. A server stores the data and talks to model providers.

A client runs the engine and serves the UI you work in.

You start both and then open a browser.

There are two ways to install it: the released version, which is the quickest, and running from code, which is what you want if you are working on Spondere itself.

Install the released version ​

Linux and macOS ​

bash
curl -fsSL https://raw.githubusercontent.com/nanush-net/spondere/main/install.sh | sh

Windows ​

powershell
irm https://raw.githubusercontent.com/nanush-net/spondere/main/install.ps1 | iex

The install script detects your operating system and architecture, downloads the latest release from GitHub, and extracts it:

  • Client: ~/.spondere/bin/client/
  • Server: ~/.spondere-server/bin/server/

Both are added to your PATH.

Start Spondere ​

Open a new terminal so the PATH change takes effect, then:

  1. Run spondere-server in one terminal.
  2. Run spondere-client in another terminal.
  3. Your browser opens automatically to http://localhost:9191.

The server listens on https://localhost:9192. The client listens on http://localhost:9191. The server keeps its data in ~/.spondere-server/server-data. The client keeps its device data in ~/.spondere.

Both terminals must stay open while you use Spondere. Closing either one stops that half of the system.

Run from code ​

Use this path if you are developing Spondere or want to run the latest source.

What you need ​

  • The .NET 10 SDK. Spondere targets net10.0.
  • Node.js, version 20.19 or newer, or 22.12 or newer. The interface build needs it.

Check both before going further:

bash
dotnet --version
node --version

The first command prints a version starting with 10. The second prints a version at or above the numbers above. If either falls short, install it before going further.

Get the code ​

bash
git clone git@github.com:nanush-net/spondere.git
cd spondere

The source root holds Spondere.sln and the src folder, with Spondere.Client, Spondere.Server and Spondere.Client.Web inside it.

Build the interface ​

The client serves a prebuilt interface from disk, so build it before starting the client.

bash
cd src/Spondere.Client.Web
npm install
npm run build
cd ../..

The build writes its output to Spondere.Client/wwwroot, which the client serves as static files. If that folder is missing or empty when you open the browser later, the build did not run from this folder.

Start the server and client ​

The repository includes Tooling/dev.sh, which manages both processes:

bash
bash Tooling/dev.sh start

This launches the server and the client in the background and writes their output to server.log and client.log in the repository root. To manage them separately:

bash
bash Tooling/dev.sh server start
bash Tooling/dev.sh client start
bash Tooling/dev.sh stop

If you would rather run them in the foreground, open two terminals at the repository root:

bash
dotnet run --project src/Spondere.Server
dotnet run --project src/Spondere.Client

The server reports that it is listening on https://localhost:9192. The client reports that it is listening on http://localhost:9191. Both terminals must stay open while you use Spondere.

First run ​

These steps are the same whether you installed the release or built from code.

Note the pairing token ​

On its first start, while the installation has no account yet, the server prints a line containing a pairing token. It starts with spondere://pair.

Copy that whole line somewhere you can reach it in a moment. It is single use and it expires, and the server tells you how many minutes you have left when it prints it.

The line begins Pair this client within N minutes:, followed by the token.

If the terminal has scrolled, scroll back. The server prints this once, when it starts, and does not repeat it.

Pair a client with the server ​

Pairing is how the client learns to trust the server. The server's certificate is self-signed, so your browser and your operating system will not vouch for it, and the client will not send credentials to a server it cannot verify.

Pairing screen

  1. In the pairing screen, paste the token you copied from the server terminal into the Pairing token field.
  2. Select Pair.

The screen closes and the account form appears.

Three things about the token:

  • It works once. After a successful pairing the server will not accept it again.
  • It expires. If it lapses, restart the server while the installation still has no account, and it prints a fresh one.
  • The client checks the server's certificate against the fingerprint carried inside the token before it sends anything. If they do not match, nothing is sent and you are told to confirm with whoever runs the server that it was not replaced.

You do this once per installation. Later runs of the client reuse the trust that pairing established.

Create your account ​

With pairing done, Spondere asks you to create the account that owns this installation. This first account is the administrator.

  1. Fill in Name.
  2. Fill in Email. This is what you will sign in with.
  3. Fill in Password.
  4. Select Create account.

You are signed in and the workspace opens.

The password is used for two separate jobs. The client derives an encryption key from it to protect the credentials stored on this machine, and the server keeps a verifier rather than the password itself. This form is the only place your password exists in the browser; it is sent once and not kept there.

Sign in on later runs ​

  1. Open http://localhost:9191
  2. Enter your email and password.
  3. Select Sign in.

The workspace opens.

A session lasts as long as the client process keeps running. Restart the client and you sign in again. Pairing is not repeated.

Set up a model ​

Spondere does not know about any model provider until you describe one. Inference runs in two modes:

  • Local. The client dispatches the request to a local OpenAI-compatible endpoint, such as Ollama, LM Studio or llama.cpp-server. The API key stays on your machine.
  • Cloud. The server dispatches the request to a server-scope endpoint. The key lives on the server, which suits a provider account shared across the installation.

You configure endpoints and models through the pool system in the interface, not through config files. An endpoint entry carries the base URL and the adapter key. A model entry references an endpoint entry. Credentials are stored per host: local-scope credentials in ~/.spondere/secrets, server-scope credentials in the server's secrets directory.

The archetype template ships without a model bound. You select a model when you start a stream, after the endpoint and model entries exist.

See Connect a model for the full walkthrough.

When something does not come up ​

What you seeWhat to check
The page does not load at allThe client must be running and listening on port 9191. If the port is taken, an older copy is probably still running; stop it and start again.
The page loads but nothing worksThe server must be running and listening on port 9192. The client expects it there.
The interface loads with no stylingThe interface was not built, or the build did not write to Spondere.Client/wwwroot. Rebuild it.
The pairing screen appears again after pairingThe client lost its stored trust, which happens if the server was reinstalled and generated a new certificate. Get a fresh token from the server terminal, or from the administrator if accounts already exist.
Pairing is refusedThe message names the reason. A malformed token means part of the string was missed. A refused token means it expired or was already used. A certificate mismatch means the server is not the one the token describes.
You are asked to create an account againThe server's data folder was removed or replaced. Check that you are starting the same installation.

If the server has an account already, it does not print a pairing token at startup. In that case a new client gets its token from whoever administers the server.

Next ​

The workspace opens with no models configured. Continue to Connect a model to add one.