Giter VIP home page Giter VIP logo

juicer's Introduction

Juicer

Juicer is a web API for extracting text, meta data and named entities from HTML "article" type pages.

For more info visit: http://juicer.herokuapp.com/

Install

On debian / ubuntu

Install from our PPA

sudo add-apt-repository ppa:juicer-server/juicer
sudo apt-get update
sudo apt-get install juicer

This will start juicer running as a service on port 9000, try http://localhost:9000

sudo service juicer start|stop|restart|status

You can run the server directly also:

usage: juicer-server [options]

options:
  -h, --help         Print this message and exit
  --version          Print program version and exit
  --port       PORT  Port to run on, default 9000
  --pidfile    FILE  Write process pid to pidfile
  --logfile    FILE  Write logs to logfile
  --daemonize        Daemonize and exit

See also man juicer-server

On Heroku

  • Clone the repo
  • Install the Heroku tools; be sure heroku is on your path
  • Type these commands inside the application's git clone:
    • heroku create -s cedar --buildpack http://github.com/heroku/heroku-buildpack-scala.git
    • git push heroku master
    • heroku open

Using a fat jar

Build a fat jar for use anywhere ...

  • Run sbt assembly
  • Run java -Xmx1g -jar juicer-web/target/scala-2.9.1/juicer-web-assembly-1.0.jar

Running the app (Developers)

  • Install sbt brew install sbt
  • Run sbt test to test the app (sbt must be sbt 0.11, not 0.7)
  • Run sbt stage to stage the app
  • Run JAVA_OPTS="$JAVA_OPTS -Xmx1g" juicer-web/target/start to run the server
  • Now open http://localhost:8080 in a browser

juicer's People

Contributors

moustaki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.