Skip to content

coderustle/peakread

Repository files navigation

PeakRead: An NLP-Powered Article Summarizer.

A simple tool to get quick summaries of online articles. It uses typer to make commands easy and newspaper3k to grab and shorten articles, so you can understand the main points fast.

Features:

  1. Swift Summaries: Get to the heart of articles in mere seconds.
  2. NLP-Powered: Leverages advanced Natural Language Processing algorithms.
  3. Simple CLI Interface: Easy-to-use, perfect for both beginners and advanced users.

Installation

  1. Clone the repository and cd to project directory
$ git clone https://github.com/coderustle/peakread && cd peakread
  1. Create and activate a virtual environment
$ python3 -m venv .venv && source .venv/bin/activate
  1. Install the required packages
$ pip install -r requirements.txt
  1. Install locally
$ pip install -e .

Requirements

The following libraries are needed to be installed.

  • PIL: libjpeg-dev zlib1g-dev libpng12-dev
  • lxml: libxml2-dev libxslt-dev
  • Python Development version: python-dev

Debian/Ubuntu

# Needed by lxml
$ sudo apt-get install libxml2-dev libxslt-dev

# needed by PIL
$ sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev

OSX

$ brew install libxml2 libxslt

$ brew install libtiff libjpeg webp little-cms2

Usage

# download the NLTK models and corpora
$ peak init

# read and summarize an article
$ peak read url

About

An NLP-Powered Article Summarizer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages