從“紙堆”到“電子化”文檔:用這個開源系統打造你的智能文檔管理系統
大家好,我是星哥。公司的項目文檔存了一堆 PDF,想找某份去年的供應商協議,搜半天都沒結果 ——“紙質亂、電子散”,簡直是當代人的文檔管理痛點。
今天就給大家推薦一款能徹底解決這個問題的開源工具 ——paperless-ngx,它能把你的紙質文檔 “變” 成可搜索的線上檔案,從此告別 “翻箱倒柜找文件” 的麻煩,還能自己掌控數據安全,關鍵是完全免費!
paperless-ngx 是什么?
首先得明確一點,paperless-ngx 不是憑空冒出來的 “新工具”—— 它是經典項目 Paperless、Paperless-ng 的官方繼任者。原來的項目因為維護精力問題逐漸停滯,現在由一個團隊接手迭代,不僅延續了核心功能,還修復了不少舊問題、加了新特性,穩定性和實用性都更上一層。
paperless-ngx正是為了解決這個痛點而生的:
?掃描歸檔:將紙質文件數字化,統一存儲。
?全文檢索:內置 OCR(光學字符識別),支持快速搜索。
?標簽與分類:靈活的標簽體系,讓文件管理更直觀。
?多語言支持:社區驅動,持續更新,國際化完善。
一句話總結:它就是你的私人文檔 Google。
開源地址:https://github.com/paperless-ngx/paperless-ngx
![]()
安裝部署 環境要求
Linux 系統或者支持Docker和Docker Compose的環境。
1.使用docker安裝
2. Docker Compose(不建議)1.新建一個網絡
docker network create paperless-net2.生成一個redis
docker run -d --name redis --network paperless-net redis:7
3.鏡像安裝
docker run -d --name paperless-ng \
-e PUID=1000 -e PGID=1000 \
-e TZ=Asia/Shanghai \
-e PAPERLESS_OCR_LANGUAGES=eng+deu \
--network paperless-net \
-e PAPERLESS_REDIS=redis://redis:6379 \
-p 8000:8000 \
-v /data/docker/paperless/data:/data \
-v /data/docker/paperless/media:/media \
ghcr.io/paperless-ngx/paperless-ngx:latest
網絡環境的問題下載很慢
如果你是 Linux 系統(或 Docker 環境已裝好的 Windows/macOS),直接在終端執行這條命令:
Docker Compose:
不要用root來運行bash -c "$(curl -L https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)"
使用
[root@node3 ~]# bash -c "$(curl -L https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12089 100 12089 0 0 22681 0 --:--:-- --:--:-- --:--:-- 22681
Do not run this script as root.
[root@node3 ~]# su -l www
[www@node3 ~]$ bash -c "$(curl -L https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12089 100 12089 0 0 9749 0 0:00:01 0:00:01 --:--:-- 9749
WARN: It look like the current user does not have Docker permissions.
WARN: Use 'sudo usermod -aG docker www' to assign Docker permissions to the user (may require restarting the shell).
#############################################
### paperless-ngx docker installation ###
#############################################
This script will download, configure and start paperless-ngx.
1. Application configuration
============================The URL paperless will be available at. This is required if the
installation will be accessible via the web, otherwise can be left blank.
Example: https://paperless.example.com
最后卡在這一步了
https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/docker-compose.postgres.yml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 功能
OCR 識別
自動識別掃描件文字,支持多語言。
全文搜索
輸入關鍵詞即可秒級定位文檔。
標簽/元數據
自定義標簽、日期、類型,輕松分類。
Web 界面
基于 Django + Angular,操作直觀。
Docker 部署
一行命令即可快速啟動。
社區活躍
3w+ Star,持續迭代,生態豐富。
適用場景
?個人用戶:賬單、合同、證件掃描件集中管理。
?小型團隊:共享文檔庫,支持權限管理。
?企業內部:搭建私有化文檔歸檔系統,避免敏感信息外泄。
??注意:官方建議不要在不可信的公網主機上直接運行,因為默認存儲未加密。最佳實踐是自建本地服務器 + 定期備份。
總結
如果你正被紙質文件和掃描件困擾,paperless-ngx是一個值得嘗試的開源解決方案。它不僅能幫你實現“無紙化”,更能讓文檔管理進入可搜索、可分類、可擴展的新時代。
特別聲明:以上內容(如有圖片或視頻亦包括在內)為自媒體平臺“網易號”用戶上傳并發布,本平臺僅提供信息存儲服務。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.