Sign inSign up

alexiob/flashfeed-python

By alexiob

•Updated about 7 years ago

Image
0

50K+

alexiob/flashfeed-python repository overview

⁠Flashfeed (Python version)

News feed for Alexa (and maybe friends).

⁠Local Build

docker build -t flashfeed-python:latest .

⁠Local Start

Python:

gunicorn --bind 0.0.0.0:41384 "flashfeed.__main__:server"

Docker:

docker stop flashfeed-python
docker run --name flashfeed-python --rm -p 41384:41384 -t flashfeed-python:latest

⁠Start

docker stop flashfeed-python
docker run \
 -v /etc/letsencrypt/live/flashfeed.iob.toys/fullchain.pem:/ssl/fullchain.pem \
 -v /etc/letsencrypt/live/flashfeed.iob.toys/privkey.pem:/ssl/privkey.pem\
 --name flashfeed-python --rm -d -p 443:41384 -t \
 alexiob/flashfeed-python:latest

⁠Deploy

On the Ubuntu server, open the 443 port, if needed:

ufw allow 443/tcp

⁠Endpoint Test

curl -X GET https://flashfeed.iob.toys/v1/api/alexa/flashfeed/rainews/rainews/it/fvg/gr

Tag summary

Content type

Image

Digest

Size

41.6 MB

Last updated

about 7 years ago

docker pull alexiob/flashfeed-python