GitHunt

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

Languages

Scala56.6%JavaScript25.5%CSS9.3%HTML4.9%Shell3.6%

Contributors

MIT License
Created May 15, 2018
Updated October 28, 2018
Nymphium/pnyao | GitHunt