An open API service indexing awesome lists of open source software.

https://github.com/admonstrator/paperless-ai-next

Next-generation fork of Paperless-AI for Paperless-ngx, improving AI/OCR reliability with an OCR rescue queue (Mistral), a permanent-failure queue, and ignore filters. Adds history + one-click rescan, restore-original-metadata, and Date/Boolean custom fields support.
https://github.com/admonstrator/paperless-ai-next

documents-manager paperless-ai paperless-ngx

Last synced: 3 months ago
JSON representation

Next-generation fork of Paperless-AI for Paperless-ngx, improving AI/OCR reliability with an OCR rescue queue (Mistral), a permanent-failure queue, and ignore filters. Adds history + one-click rescan, restore-original-metadata, and Date/Boolean custom fields support.

Awesome Lists containing this project

README

          

Paperless-AI next logo with the text Paperless-AI next, shown as a clean modern project mark at the top of the page, conveying a welcoming and professional tone

# ๐Ÿ“„ Paperless-AI next

**An integration fork of Paperless-AI โ€“ picking up where the original left off.**

[![Latest Release](https://img.shields.io/github/v/release/admonstrator/paperless-ai-next?style=for-the-badge&logo=github&color=blue)](https://github.com/admonstrator/paperless-ai-next/releases/latest)
[![Docker Pulls](https://img.shields.io/badge/docker%20pulls-1.0k-brightgreen?style=for-the-badge&logo=docker)](https://hub.docker.com/r/admonstrator/paperless-ai-next)
[![License](https://img.shields.io/github/license/admonstrator/paperless-ai-next?style=for-the-badge)](LICENSE)
[![Stars](https://img.shields.io/github/stars/admonstrator/paperless-ai-next?style=for-the-badge)](https://github.com/admonstrator/paperless-ai-next/stargazers)
[![Docs](https://img.shields.io/badge/docs-paperless--ai--next.admon.me-blue?style=for-the-badge&logo=readthedocs)](https://paperless-ai-next.admon.me/)

---

## ๐Ÿ’– Support the Project

If you find this tool helpful, consider supporting its development:

[![GitHub Sponsors](https://img.shields.io/badge/GitHub-Sponsors-EA4AAA?style=for-the-badge&logo=github)](https://github.com/sponsors/admonstrator) [![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://buymeacoffee.com/admon) [![Ko-fi](https://img.shields.io/badge/Ko--fi-FF5E5B?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/admon) [![PayPal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/aaronviehl)

Also consider supporting the **original author**:

[![Patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge&logo=patreon&logoColor=white)](https://www.patreon.com/c/clusterzx)

---

## ๐Ÿ“– About

**Paperless-AI next** is an AI-powered extension for [Paperless-ngx](https://github.com/paperless-ngx/paperless-ngx) that brings automatic document classification, smart tagging, and semantic search using OpenAI-compatible APIs and Ollama.

This fork collects pending upstream PRs, applies security patches, and tests improvements. Since the upstream project is no longer actively maintained, it has grown into the most up-to-date version available.

> โ„น๏ธ **Upstream Credit** โ€“ All original work belongs to [clusterzx](https://github.com/clusterzx)

๐Ÿ“– **[Full documentation โ†’](https://paperless-ai-next.admon.me/)**

## โš ๏ธ Please notice

This fork may not be fully compatible with the original Paperless-AI nor with previous Paperless-AI-patched versions.

> โš ๏ธ **Important:** Upgrading or migrating from the original project can lead to **data loss** (including metadata, history, or local app data) - please create a full backup before any upgrade or migration. A fresh install and document reprocessing may still be required for the best experience.

I use this fork for my own setup, but every deployment is at your own risk. Keep regular Paperless-ngx backups, especially before any upgrade or migration, as data loss can still occur.

I am actively improving the upgrade path and will provide detailed migration instructions in the documentation. ๐Ÿ™

---

## โœจ Added Features

What makes this fork stand out:

- ๐Ÿš€ **Performance upgrades**
- Server-side history pagination
- Centralized tag caching with configurable TTL
- Faster dashboard loading with async/lazy stats

- ๐Ÿ›ก๏ธ **Security hardening**
- Regular dependency updates with security patches
- Improved input validation and error handling
- Container image optimizations for smaller attack surface

- ๐Ÿง  **Smarter OCR + AI fallback flow**
- Mistral OCR queue for weak/failed text extraction
- AI-only re-analysis from stored OCR text (no re-run OCR required)
- OCR output preview/info per document

- ๐Ÿงฐ **Advanced processing controls**
- Include + ignore tags for selective automation
- Better dashboard status visibility (processed / OCR-needed / failed)
- Dedicated permanently-failed queue with manual reset workflow

- ๐Ÿงช **Maintenance-focused development**
- Integrated upstream PRs and community patches
- Expanded regression tests for critical workflows
- Active docs/changelog tracking for every integrated fix

See the complete fix list in the documentation:
๐Ÿ“š **[Included Fixes & Changelog โ†’](https://paperless-ai-next.admon.me/changelog/)**

---

## ๐Ÿš€ Quick Start

### Docker Compose (Recommended)

Please check the docker variables [here](https://paperless-ai-next.admon.me/getting-started/configuration/#docker-environment-variables) for all configuration options.

**Lite version** โ€“ AI tagging & OCR only (~500โ€“700 MB):

```yaml
services:
paperless-ai-next:
image: admonstrator/paperless-ai-next:latest-lite
container_name: paperless-ai-next
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- data:/app/data
environment:
- PAPERLESS_API_URL=http://host.docker.internal:8000
- PAPERLESS_API_TOKEN=your_paperless_api_token

volumes:
data:
```

**Full version** โ€“ AI tagging + RAG semantic search (~1.5โ€“2 GB):

```yaml
services:
paperless-ai-next:
image: admonstrator/paperless-ai-next:latest-full
container_name: paperless-ai-next
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- data:/app/data
environment:
- PAPERLESS_API_URL=http://host.docker.internal:8000
- PAPERLESS_API_TOKEN=your_paperless_api_token

volumes:
data:
```

Then open [http://localhost:3000](http://localhost:3000) to complete setup.

> โš ๏ธ **First-time install:** Restart the container **after completing setup** to build the RAG index (Full version only).

### Container Images

| Image Tag | Size | RAG |
|---|---|---|
| `admonstrator/paperless-ai-next:latest-lite` | ~500โ€“700 MB | โŒ |
| `admonstrator/paperless-ai-next:latest-full` | ~1.5โ€“2 GB | โœ… |

**Docker Hub:** [admonstrator/paperless-ai-next](https://hub.docker.com/r/admonstrator/paperless-ai-next)

---

## โ„น๏ธ More

| | |
|---|---|
| ๐Ÿ“– Full documentation | [paperless-ai-next.admon.me](https://paperless-ai-next.admon.me/) |
| ๐Ÿ› Report issues | [GitHub Issues](https://github.com/admonstrator/paperless-ai-next/issues) |
| ๐Ÿ“œ License | MIT โ€“ original work by [clusterzx](https://github.com/clusterzx) |

---

**Made with โค๏ธ by the community, for the community**

โญ If you find this useful, please star the repository!

_Last updated: 2026-03-03_