Giter Club home page Giter Club logo

papertrail's Introduction

Overview

Papertrail is a document management search engine that allows you to index your documents (OCR) and search both filenames and content The OCR is performed using doctr and typesense is used for the search engine functionality

Quick Start

Docker command line

docker create --name papertrail ghcr.io/ankurvdev/papertrail:main -v ./cache:/cache -v ./docs:/data

The website can be accessed via http://localhost:5000

Docker compose

version: "3"
services:
  papertrail:
    image: ghcr.io/ankurvdev/papertrail:main
    restart: unless-stopped
    ports:
      - 5000:5000
    volumes:
      - ./test:/cache
      - ./docs:/data

papertrail's People

Contributors

ankurvdev avatar

Watchers

 avatar

papertrail's Issues

Cant see files while its scanning

sqlite3.OperationalError: database is locked

Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: sqlite3.OperationalError: database is locked
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: c.execute('delete from fileinfo where path = ?', (fpath.as_posix(),))
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: File "/app/papertrail.py", line 217, in verify
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: ^^^^^^^^^^^^^^^^^^^^
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: if not self.verify(abspath):
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: File "/app/papertrail.py", line 151, in websvc_files
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: ^^^^^^^^^^^^^^^^^^^^^^
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: resp = await handler(request)
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: File "/app/venv/lib64/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: resp = await request_handler(request)
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: File "/app/venv/lib64/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: Traceback (most recent call last):
Jul 20 09:11:34 minerva.hogwarts papertrail_papertrail_1[685732]: ERROR:aiohttp.server:Error handling request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.