{"id":50911518,"url":"https://github.com/daemonless/papra","last_synced_at":"2026-06-16T10:31:39.541Z","repository":{"id":364299450,"uuid":"1266723933","full_name":"daemonless/papra","owner":"daemonless","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-12T12:23:37.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-12T14:17:41.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daemonless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-11T22:31:18.000Z","updated_at":"2026-06-12T12:23:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/daemonless/papra","commit_stats":null,"previous_names":["daemonless/papra"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/daemonless/papra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daemonless%2Fpapra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daemonless%2Fpapra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daemonless%2Fpapra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daemonless%2Fpapra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daemonless","download_url":"https://codeload.github.com/daemonless/papra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daemonless%2Fpapra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34402648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-16T10:31:38.791Z","updated_at":"2026-06-16T10:31:39.532Z","avatar_url":"https://github.com/daemonless.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nTHIS FILE IS AUTOGENERATED - DO NOT EDIT MANUALLY\nSource: dbuild templates\n--\u003e\n\n# Papra\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/daemonless/papra/build.yaml?style=flat-square\u0026label=Build\u0026color=green)](https://github.com/daemonless/papra/actions)\n[![Last Commit](https://img.shields.io/github/last-commit/daemonless/papra?style=flat-square\u0026label=Last+Commit\u0026color=blue)](https://github.com/daemonless/papra/commits)\n\nMinimalist self-hosted document management platform (Paperless alternative) on FreeBSD.\n\n| | |\n|---|---|\n| **Registry** | `ghcr.io/daemonless/papra` |\n| **Source** | [https://github.com/papra-hq/papra](https://github.com/papra-hq/papra) |\n| **Website** | [https://papra.app](https://papra.app) |\n\n## Version Tags\n\n| Tag | Description | Best For |\n| :--- | :--- | :--- |\n| `latest` | **Upstream Binary**. Built from official release. | Most users. Matches Linux Docker behavior. |\n\n## Prerequisites\n\nBefore deploying, ensure your host environment is ready. See the [Quick Start Guide](https://daemonless.io/guides/quick-start) for host setup instructions.\n\n## Deployment\n\n### Podman Compose\n\n```yaml\nservices:\n  papra:\n    image: \"ghcr.io/daemonless/papra:latest\"\n    container_name: papra\n    environment:\n      - PUID=1000  # User ID for the application process\n      - PGID=1000  # Group ID for the application process\n      - TZ=Etc/UTC  # Timezone for the container\n      - NODE_ENV=production  # Node runtime mode; leave as 'production'\n      - PORT=1222  # Internal node backend port (nginx proxies to it); leave as 1222\n      - SERVER_HOSTNAME=127.0.0.1  # Internal bind address for the node backend; leave as 127.0.0.1\n      - SERVER_SERVE_PUBLIC_DIR=false  # Whether the node backend serves the SPA itself; 'false' (nginx serves it)\n      - DATABASE_URL=file:/app-data/db/db.sqlite  # SQLite database URL (file:/app-data/db/db.sqlite)\n      - DOCUMENT_STORAGE_FILESYSTEM_ROOT=/app-data/documents  # Filesystem path where uploaded documents are stored (under the /app-data volume)\n      - PAPRA_CONFIG_DIR=/app-data  # Directory Papra reads its config from (under the /app-data volume)\n      - INGESTION_FOLDER_ROOT=/ingestion  # Watched folder for drop-in document ingestion\n      - EMAILS_DRY_RUN=true  # If 'true', emails are logged instead of sent (no SMTP configured by default)\n      - BETTER_AUTH_TELEMETRY=0  # better-auth telemetry; '0' disables it\n      - AUTH_SECRET=${PAPRA_AUTH_SECRET}  # better-auth session signing secret, \u003e=32 chars. Optional: if unset, the container generates a strong secret on first boot and persists it under /app-data. Set one you control with `openssl rand -hex 48` to manage it yourself.\n      - AUTH_IS_REGISTRATION_ENABLED=true  # Set to false after creating your account to lock down signups\n    volumes:\n      - \"/path/to/containers/papra/app-data:/app-data\"\n    restart: unless-stopped\n```\n\n### AppJail Director\n\n**.env**:\n\n```\nDIRECTOR_PROJECT=papra\nPUID=1000\nPGID=1000\nTZ=Etc/UTC\nNODE_ENV=production\nPORT=1222\nSERVER_HOSTNAME=127.0.0.1\nSERVER_SERVE_PUBLIC_DIR=false\nDATABASE_URL=file:/app-data/db/db.sqlite\nDOCUMENT_STORAGE_FILESYSTEM_ROOT=/app-data/documents\nPAPRA_CONFIG_DIR=/app-data\nINGESTION_FOLDER_ROOT=/ingestion\nEMAILS_DRY_RUN=true\nBETTER_AUTH_TELEMETRY=0\nAUTH_SECRET=${PAPRA_AUTH_SECRET}\nAUTH_IS_REGISTRATION_ENABLED=true\n```\n\n**appjail-director.yml**:\n\n```yaml\noptions:\n  - virtualnet: ':\u003crandom\u003e default'\n  - nat:\nservices:\n  papra:\n    name: papra\n    options:\n      - container: 'boot args:--pull'\n    oci:\n      user: root\n      environment:\n        - PUID: !ENV '${PUID}'\n        - PGID: !ENV '${PGID}'\n        - TZ: !ENV '${TZ}'\n        - NODE_ENV: !ENV '${NODE_ENV}'\n        - PORT: !ENV '${PORT}'\n        - SERVER_HOSTNAME: !ENV '${SERVER_HOSTNAME}'\n        - SERVER_SERVE_PUBLIC_DIR: !ENV '${SERVER_SERVE_PUBLIC_DIR}'\n        - DATABASE_URL: !ENV '${DATABASE_URL}'\n        - DOCUMENT_STORAGE_FILESYSTEM_ROOT: !ENV '${DOCUMENT_STORAGE_FILESYSTEM_ROOT}'\n        - PAPRA_CONFIG_DIR: !ENV '${PAPRA_CONFIG_DIR}'\n        - INGESTION_FOLDER_ROOT: !ENV '${INGESTION_FOLDER_ROOT}'\n        - EMAILS_DRY_RUN: !ENV '${EMAILS_DRY_RUN}'\n        - BETTER_AUTH_TELEMETRY: !ENV '${BETTER_AUTH_TELEMETRY}'\n        - AUTH_SECRET: !ENV '${AUTH_SECRET}'\n        - AUTH_IS_REGISTRATION_ENABLED: !ENV '${AUTH_IS_REGISTRATION_ENABLED}'\n    volumes:\n      - papra_app-data: /app-data\nvolumes:\n  papra_app-data:\n    device: '/path/to/containers/papra/app-data'\n```\n\n**Makejail**:\n\n```\nARG tag=latest\n\nOPTION overwrite=force\nOPTION from=ghcr.io/daemonless/papra:${tag}\n```\n\n### Podman CLI\n\n```bash\npodman run -d --name papra \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Etc/UTC \\\n  -e NODE_ENV=production \\\n  -e PORT=1222 \\\n  -e SERVER_HOSTNAME=127.0.0.1 \\\n  -e SERVER_SERVE_PUBLIC_DIR=false \\\n  -e DATABASE_URL=file:/app-data/db/db.sqlite \\\n  -e DOCUMENT_STORAGE_FILESYSTEM_ROOT=/app-data/documents \\\n  -e PAPRA_CONFIG_DIR=/app-data \\\n  -e INGESTION_FOLDER_ROOT=/ingestion \\\n  -e EMAILS_DRY_RUN=true \\\n  -e BETTER_AUTH_TELEMETRY=0 \\\n  -e AUTH_SECRET=${PAPRA_AUTH_SECRET} \\\n  -e AUTH_IS_REGISTRATION_ENABLED=true \\\n  -v /path/to/containers/papra/app-data:/app-data \\\n  ghcr.io/daemonless/papra:latest\n```\n\n### Ansible\n\n```yaml\n- name: Deploy papra\n  containers.podman.podman_container:\n    name: papra\n    image: \"ghcr.io/daemonless/papra:latest\"\n    state: started\n    restart_policy: always\n    env:\n      PUID: \"1000\"\n      PGID: \"1000\"\n      TZ: \"Etc/UTC\"\n      NODE_ENV: \"production\"\n      PORT: \"1222\"\n      SERVER_HOSTNAME: \"127.0.0.1\"\n      SERVER_SERVE_PUBLIC_DIR: \"false\"\n      DATABASE_URL: \"file:/app-data/db/db.sqlite\"\n      DOCUMENT_STORAGE_FILESYSTEM_ROOT: \"/app-data/documents\"\n      PAPRA_CONFIG_DIR: \"/app-data\"\n      INGESTION_FOLDER_ROOT: \"/ingestion\"\n      EMAILS_DRY_RUN: \"true\"\n      BETTER_AUTH_TELEMETRY: \"0\"\n      AUTH_SECRET: \"${PAPRA_AUTH_SECRET}\"\n      AUTH_IS_REGISTRATION_ENABLED: \"true\"\n    volumes:\n      - \"/path/to/containers/papra/app-data:/app-data\"\n```\n\n## Parameters\n\n### Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `PUID` | `1000` | User ID for the application process |\n| `PGID` | `1000` | Group ID for the application process |\n| `TZ` | `Etc/UTC` | Timezone for the container |\n| `NODE_ENV` | `production` | Node runtime mode; leave as 'production' |\n| `PORT` | `1222` | Internal node backend port (nginx proxies to it); leave as 1222 |\n| `SERVER_HOSTNAME` | `127.0.0.1` | Internal bind address for the node backend; leave as 127.0.0.1 |\n| `SERVER_SERVE_PUBLIC_DIR` | `false` | Whether the node backend serves the SPA itself; 'false' (nginx serves it) |\n| `DATABASE_URL` | `file:/app-data/db/db.sqlite` | SQLite database URL (file:/app-data/db/db.sqlite) |\n| `DOCUMENT_STORAGE_FILESYSTEM_ROOT` | `/app-data/documents` | Filesystem path where uploaded documents are stored (under the /app-data volume) |\n| `PAPRA_CONFIG_DIR` | `/app-data` | Directory Papra reads its config from (under the /app-data volume) |\n| `INGESTION_FOLDER_ROOT` | `/ingestion` | Watched folder for drop-in document ingestion |\n| `EMAILS_DRY_RUN` | `true` | If 'true', emails are logged instead of sent (no SMTP configured by default) |\n| `BETTER_AUTH_TELEMETRY` | `0` | better-auth telemetry; '0' disables it |\n| `AUTH_SECRET` | `${PAPRA_AUTH_SECRET}` | better-auth session signing secret, \u003e=32 chars. Optional: if unset, the container generates a strong secret on first boot and persists it under /app-data. Set one you control with `openssl rand -hex 48` to manage it yourself. |\n| `AUTH_IS_REGISTRATION_ENABLED` | `true` | Set to false after creating your account to lock down signups |\n\n### Volumes\n\n| Path | Description |\n|------|-------------|\n| `/app-data` | Application data — SQLite database, stored documents, and config |\n\n**Architectures:** amd64\n**User:** `bsd` (UID/GID via PUID/PGID, defaults to 1000:1000)\n**Base:** FreeBSD 15.0\n\n---\n\nNeed help? Join our [Discord](https://discord.gg/Kb9tkhecZT) community.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaemonless%2Fpapra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaemonless%2Fpapra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaemonless%2Fpapra/lists"}