# WriteBook
Self-hosted web application for publishing content on the web, built by Basecamp. Content is authored in [[Markdown]]. Books can contain picture pages, chapters, and title pages. Supports private and public publishing with built-in search. MIT licensed.
## Installation
Distributed as a [[Docker]] image (`ghcr.io/basecamp/writebook`). Simplest install via ONCE (Basecamp's self-hosting platform):
```bash
curl https://get.once.com/writebook | sh
```
Or use `docker run` / [[Docker Compose]] directly. Mount a volume to `/rails/storage` for persistence. Route traffic to ports 80/443.
## SSL configuration
- `SSL_DOMAIN` — enable automatic SSL via Let's Encrypt for a given domain
- `DISABLE_SSL` — serve over plain HTTP
## References
- https://github.com/basecamp/writebook
## Related
- [[Markdown]]
- [[Docker]]
- [[Docker Compose]]