# PineDocs

> PineDocs is a self-hosted, open-source file viewer for Markdown, HTML, code, images, PDFs, and media — no database needed. Runs via Docker or PHP with dark mode.

- **Category:** Documentation Management
- **Licence:** GPL-3.0
- **Latest version:** 1.2.5
- **Open source:** oss
- **Languages:** JavaScript, PHP, CSS
- **Platforms:** Docker, Docker Compose, Build from Source
- **Tags:** Markdown, Wikis, Lightweight, Responsive, No Database, Documentation, Yaml, Website, Php, Syntax highlighting, Dark mode, Self Hosted, Foss, Mathjax, File viewer, Floss, Selfhosted, Php8

## Description

PineDocs is a fast, lightweight, self-hosted site for viewing files from a directory. It renders Markdown, plaintext, HTML, and code with syntax highlighting for many languages, plus images, vector graphics, animated images, mathematical notation, PDFs, audio, and short video clips — essentially anything a browser can display. No database is required; files are cached in the browser after first view for instant loads. It supports responsive layouts with several color schemes including a dark variant, quick filtering, hidden folders accessible via direct links, and remembers scroll position per page. The project is read-only — content is edited on the server or via git, not through a web UI. It can be deployed via Docker Compose (recommended), plain Docker, or manually on any PHP 8.0+ web server with Composer. Configuration is done through a YAML file controlling title, content directory, layout, color scheme, code highlighting theme, file exclusions, and more. The latest release is 1.2.5 from May 2022; the repository was last pushed in March 2023.

## Links

- [Homepage](https://github.com/xy2z/PineDocs)
- [Docker](xy2z/pinedocs)
- [GitHub Repository](https://github.com/xy2z/PineDocs)
- [Docker Hub](https://hub.docker.com/r/xy2z/pinedocs/)

---
Source: https://selfhost.directory/project/pinedocs