Nymphium / pnyao

pdf management system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pnyao

Build Status

ui

Pnyao is a pdf management system and can manipulate from the Web UI.

usage

Ready

Run server

$ sbt run

or install pnyao on your PC and run with systemd

$ ./install.sh
$ systemctl --user enable pnyao-server.service && \
  systemctl --user start pnyao-server.service

and go http://localhost:9000

Set

Put a directory name and click "add" button

add entry

GO

There are displayed contents. You can change title/author metadata of the PDF from the page, and add memo and tag.

new contents

tag

memo

DB

DB is located at ~/.pnyaodb by default, which is JSON file.

[
  {
    "path": "/path/to/directory/of/documents",
    "contents": [
      {
      "title": "PDF Title or empty string",
      "author": "Author or empty string",
      "path": "/absolute/path/to/pdf",
      "tag": ["tag list"],
      "memo": "memo or empty string"
      }
    ]
  }
]

DB file is updated when pnyao server shuts down, and simultaneously each titles and authors are wrote to the PDF's metadata.

Future work

  • Search and sort by Tags

license

MIT

About

pdf management system

License:MIT License


Languages

Language:Scala 56.6%Language:JavaScript 25.5%Language:CSS 9.3%Language:HTML 4.9%Language:Shell 3.6%