Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.52 KB

README.md

File metadata and controls

67 lines (40 loc) · 1.52 KB

Service for fast subtitle searching.

Chrome extension sources.

Web application sources.

Parser sources.

Api

For search send GET request like:

http://subman.io/api/search/?query=file-name

Available params:

  • lang — language, by default used english;
  • source — source id, by default used -1 (equals all);
  • limit — limit of result, by default used 100;
  • offset — result offset, by default used 0.

For bulk search send POST request to http://subman.io/api/bulk-search/ with transit-encoded body with:

  • queries — list of queries to search;
  • source — source id, by default used -1 (equals all);
  • limit — limit of result, by default used 100;
  • offset — result offset, by default used 0.

All languages with subtitles count available in:

http://subman.io/api/list-languages/

All sources with names available in:

http://subman.io/api/list-sources/

You can get total subtitles count in:

http://subman.io/api/count/

For decoding api response you should use transit.

Deploy

For running:

docker-compose up web parser nginx

Major migrations

2015-01-10 Presentation db support

In separate shells run:

docker-compose run maintain

And execute in REPL:

(from-index-to-raw-db!)