Coder Social home page Coder Social logo

mondei1 / docsort Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 384 KB

Program to scan your documents, search for them and find them physically in your chaos.

TypeScript 91.00% JavaScript 5.03% CSS 0.66% HTML 3.32%
doc document find pdf scan search sort

docsort's Introduction

whoami

My name is Nicolas and I would describe myself as a hobby full-stack developer (backend and frontend stuff).

  • ๐Ÿ˜  The MEAN-stack is my passion
  • ๐Ÿง Linux Mint [...] Pop!_OS Arch Fedora ๐ŸŽฉ and Windows ๐ŸชŸ
  • ๐Ÿ”ญ Currently working on "never getting finished"-projects
  • ๐ŸŽ“ Still trying to get the hang out of C++ but I could never betray my beloved Rust
  • ๐Ÿฟ My favorite movies/series are Mr. Robot, Chappie, Rick and Morty, Final Space, Lackadaisy and Helluva Boss
  • ๐ŸŽฎ My favorite games are Ori and the Will of the Wisps, Portal 2 and Minecraft
  • ๐Ÿ’ฌ You have a problem or a cool idea for a crypto project that will make a lot of money (please don't, I dare you) then don't hesitate to contact me:

Hope this short summary could tell you a bit about me.

docsort's People

Contributors

mondei1 avatar

Stargazers

 avatar

Watchers

 avatar

docsort's Issues

replace SYNC functions with ASYNC

Before relase we should replace most of the SYNC functions (fs.writeFileSync etc) with async functions (await).
If the original functions don't support this yet, i will just write small wrapper-functions for the used functions.

put title in filename

Putting the title into the filename (<filename>_<uid>_<primaryNumber>.>secondaryNumber>.<fileExtension>) offers the ability to make the document files itself human readable. This would be maybe a good idea if the storage is taken elsewhere without the software or on datacrash within the database.
But in doing this, the file must be renamed every time the user changes the title of a document. But from the expected use-case, this should be not often, if any.

utils in each separate file

For the future we should put the separate functions from lib/utils into their own files.
Makes it easier to read and easier to understand changes in git.

cleanup app.ts

Most functions in app.ts can/should be extracted into separate functions.

Backup technique

DocSort should offer the ability to backup all documents inclusive database into a cloud or on a external drive. There are some question open:

  • Should be the backup encrypted?
  • Which compression? (zip, gzip, xz, ..)
  • Which file structure? Like this?
backup_24.02.2019.tar.gz
โ”œโ”€โ”€ backup_meta.json
โ”œโ”€โ”€ database.sqlite
โ””โ”€โ”€ documents
    โ”œโ”€โ”€ invoice_foobar_xxxxxxx.2.0.pdf
    โ””โ”€โ”€ reminder_to_pay_bill_xxxx.1.0.pdf
  • Which meta data to save?
    • Creation time of the backup (unix timestamp)
    • More?
  • Which cloud services we should support first?

License for DocSort

A very important point is to choose the right license for a project. Because this is a open source project we can choose GPLv2/3, MIT and Apache 2.0.

I personally prefer the GPLv3 license. Currently the project is unlicensed and this is not good for a open source project, this is why we have to resolve this issue till release.

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.