# DOCAT

DOCAT is a self-hosted documentation hosting server that lets you host multiple documentation projects in multiple versions.

Canonical page: https://ourlocalhost.com/app/8418/docat

## Description

Docat is a self-hosted documentation hosting server that lets you host multiple documentation projects in multiple versions. It works alongside static documentation generators such as MkDocs and Sphinx, solving the problem of users still needing older documentation versions by keeping every build available and browsable. It is designed for development teams and homelabbers who publish generated docs and want a simple, central place to serve them with version selection.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

65/100 (Good), based on 4 of 5 factors.
- Maintained: 79 (last commit 26 days ago)
- Popular: 59 (914 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 82 (no serious findings, 3 minor, CI, tests)

## Links

- GitHub: https://github.com/docat-org/docat

## Common questions

### How do I persist DOCAT's data when running it in Docker?

Run the container with a volume mounted at /var/docat/, which stores the docs, nginx configs, and tokens database. Without it, state is lost when the container is recreated.

### How does authentication for uploading documentation work?

By default anyone can upload documentation, but you can claim a project to get a token that's required to add or delete versions. For public instances, HTTP basic auth (via the built-in NGINX) is recommended for all POST, PUT, and DELETE requests.

### Which port does the DOCAT container expose?

The container listens on port 80, which the docs map to a host port such as 8000 using `--publish 8000:80`.

### Can DOCAT write or generate documentation for me?

No, DOCAT only hosts documentation. You generate it with tools like MkDocs, Sphinx, or mdBook, then upload the output to DOCAT.

## Alternatives

- Docusaurus: Docusaurus is a project for easily building, deploying, and maintaining open source project websites.
- Read the Docs (OSS)
- mike

---
Source: Our Local Host (https://ourlocalhost.com/app/8418/docat), the self-hosted and open-source app directory.
