Skip to content

Nymphium/pnyao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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