# eclipse-web
The local web dashboard: the same conversation as the terminal, in a browser on your own machine.
`eclipse-web` serves one page and a small JSON API over it. It binds to loopback, signs you in with
a token from your config, and runs one `Agent` for the whole process — which is why a live choice in
the dashboard (the model, the reasoning effort) lasts until it stops and never writes `config.toml`.
## Install and run
```sh
cargo install eclipse-web
eclipse-web # http://127.0.0.1:8787
eclipse-web --port 9000 # somewhere else
```
The page reads `~/.eclipse/config.toml` like every other front end. `eclipse-gateway` serves this
same dashboard alongside an OpenAI-compatible API if you want both on one pid.
## What is in the page
The transcript with its reasoning folds and tool rows, the composer with the `/` verb menu and a `+`
menu for attachments, a session sidebar with search and archive, and a settings window over
`config.toml` and the three context files (`AGENT.md`, `USER.md`, `MEMORY.md`).
## As a dependency
The crate is also a library: `app::routes(state)` is the whole API as an `axum::Router<Shared>` and
`app::router(state)` wires it up to serve on its own, where the state is `app::AppState` (a session
store, an optional agent, and what the page needs to describe them). That is how `eclipse-gateway`
mounts the dashboard next to its own routes instead of starting a second process.
## Licence
Apache-2.0. The full text is in `LICENSE` in this package.