gusreyes01 / reddit-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reddit-cli

Description

This CLI communicates with the public Reddit API, stores information about posts, and on subsequent executions can tell which posts are new, which posts have dropped off, and which had vote changes._

https://www.reddit.com/r/popular.json

Quickstart

Install CLI requirements:

$: pip install -r requirements.txt

Create the initial database:

$: python src/cli.py initdb

Run the CLI:

$: python src/cli.py updatedb

Docker

$: docker build -t redis-cli .

$: docker run redis-cli python cli.py initdb

$: docker run redis-cli python cli.py updatedb

About


Languages

Language:Python 92.5%Language:Dockerfile 7.5%