itkach / slobber

Web service to find and retrieve slob content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slobber

Slobber is a web service that allows to find and retrieve content from slob files. Slobber is written in Java.

To build:

# clone slobj and slobber sources
git clone https://github.com/itkach/slobj.git
git clone https://github.com/itkach/slobber.git

#build fat jar in slobber directory
cd slobber
./gradlew uberJar

To run Slobber from the fat jar and have it serve a slob file located at ~/Downloads/enwiki-20230201.slob:

java -jar build/libs/slobber-0.11-all.jar ~/Downloads/enwiki-20230201.slob

By default Slobber listens on port 8013 at 127.0.0.1 interface. Specify slobber.port Java property to start on a different port and slobber.host to start on a different interface.

To find keys starting with letter A:

curl "http://localhost:8013/find?key=A"

Use URLs specified in the return JSON document to retrieve content.

About

Web service to find and retrieve slob content

License:GNU General Public License v3.0


Languages

Language:Java 94.8%Language:JavaScript 5.2%