Git Product home page Git Product logo

kartka's Introduction

Kartka

Kartka is a tool for people who hate paper. It provides a workflow for scanning, indexing, and then uploading letters you receive for later retrieval.

Kartka uses (your own) Google Drive for storage, and Sonic for efficient and simple indexing.

How it works

Kartka

positional arguments:
  {check,ingest,scan,search,hydrate}
                        The mode to use
    check               check connections
    ingest              ingest a letter
    scan                start a scan 
    search              search for letters
    hydrate             hydrate sonic from drive

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG       Kartka configuration file location

./kartka.py ingest scan_page_1.png scan_page_2.png

> ./kartka.py search mortgage

2020-12-22 1512  -> https://drive.google.com/file/d/<id>/view?usp=sharing
2020-11-18 1048  -> https://drive.google.com/file/d/<id>/view?usp=sharing
2020-11-12 1142  -> https://drive.google.com/file/d/<id>/view?usp=sharing

There are 3 basic commands:

ingest: Ingest one or more files from the command line, index them, and then upload them.

scan: Begin a 'scan' workflow where you can scan your pages into a configured directory, and then ingest once finished.

search: Search for letters that contain all of the provided keywords. Supports search suggestions via autocomplete.

Installation

To use kartka, you will need the following:

Then copy kartka.cfg.example to kartka.cfg and configure it with your preferred settings. I personally like to run my Sonic instance on a Raspberry Pi (for convenience), but it can be ran locally as well.

Move the credentials.json to your data_dir (configured in the cfg above).

Now you're ready to go! On first run kartka will run the auth-flow on your new drive-app. After this, it will re-use the stored token.

kartka's People

Contributors

tetigi avatar

Stargazers

Niklas Rosenstein avatar  avatar

Watchers

James Cloos avatar  avatar

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.