Skip to content

RvS-CdE/dpserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dpserv

work in progress

RESTful HATEOAS document server, with on-the-fly pdf to text and html conversion, support for collections and applying different service limit controls.

Goal: Provide an easy-to-use API for downloading and synchronizing collections of public documents in PDF format.

I've made and Example client.

Current state

  • Serves PDF files
  • Provides HATEOAS browsing from the root URL up to each different document
  • Extracts text from PDF files, and can serve it in text and html
  • Applies basic rate limiting (see config file )
  • Rate limiting can be client-specific (using a private client key)

Technology

  • Erlang/OTP
  • Rebar3, Cowboy2, Lager, Jiffy, iso8601
  • Integrates with Apache TIKA for document conversion, and pdfinfo (xpdf-utils in debian) for PDF file information

TODO

A lot.

Build

$ rebar3 compile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages