Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 803 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 803 Bytes

TextAI

REST API for Text Summarization and Keywords Extraction from a given URL

Project contains two major pieces:

  1. REST API - built on top of Python's Klein/Twisted server framework
  2. Frontend - written in pure jQuery which utilizes HN realtime feed to generate summaries with help of REST endpoint

Everything has been wrapped into Docker container (See Dockerfile) and can be deployed using simple Docker CLI tool:

git clone https://github.com/bexp/textai.git && cd textai
docker build -t bexpace/hntop .
docker run -d -p 8000:8080 --restart on-failure --ulimit nofile=4096:4096 bexpace/hntop

To run without Docker:

Python 2.7.12+ required

git clone https://github.com/bexp/textai.git && cd textai
pip install -r requirements.txt
python app.py