···11-# Glean.at
11+# Glean
22+33+A social RSS reader built on the AT Protocol. Sign in with your Bluesky/Atmosphere account, subscribe to feeds, and discover what like-minded readers are into.
44+55+**Try it at [glean.at](https://glean.at).**
66+77+Your subscriptions live as records on your PDS. You own them. If Glean goes away, your data doesn't.
88+99+## What you get
1010+1111+- RSS, Atom, and JSON Feed support with a keyboard-driven reading interface
1212+- Highlights, notes, tags, and ratings on articles
1313+- A trending page showing what's popular across all users
1414+- Feed and people recommendations based on reading overlap
1515+- OPML import and export
1616+- Sign in with Bluesky / Atmosphere account — no new account needed
1717+1818+## Self-hosting
21933-[See live](https://glean.at)
2020+### Docker
2121+2222+```bash
2323+docker run -p 8080:8080 -v glean-data:/data atcr.io/julien.rbrt.fr/glean:latest
2424+```
2525+2626+### From source
2727+2828+```bash
2929+git clone https://github.com/anomalyco/glean.git
3030+cd glean
3131+make build
3232+./glean
3333+```
3434+3535+Then open `http://localhost:8080`.
3636+3737+## Configuration
3838+3939+| Variable | Default | What it does |
4040+| -------------------------- | -------------------- | --------------------------------------------------------- |
4141+| `GLEAN_ADDR` | `:8080` | Listen address |
4242+| `GLEAN_DB` | `glean.db` | SQLite database path |
4343+| `GLEAN_RELAY` | `wss://bsky.network` | AT Relay WebSocket URL |
4444+| `GLEAN_OAUTH_CLIENT_ID` | _(empty)_ | OAuth client metadata URL (leave empty for localhost dev) |
4545+| `GLEAN_OAUTH_REDIRECT_URL` | _(empty)_ | OAuth redirect URL (leave empty for localhost dev) |
4646+4747+For production:
4848+4949+```bash
5050+export GLEAN_OAUTH_CLIENT_ID=https://yourdomain.com/oauth/client-metadata
5151+export GLEAN_OAUTH_REDIRECT_URL=https://yourdomain.com/auth/callback
5252+```
5353+5454+## Documentation
5555+5656+- [Technical specification](docs/specs.md) — architecture, database schema, AT Protocol lexicons, API endpoints, recommendations
5757+- [Design system](docs/design.md)
5858+5959+## Stack
6060+6161+Go, SQLite, htmx, TailwindCSS, AT Protocol OAuth.
6262+6363+## License
6464+6565+[MIT](license)