Sign inSign up

simeononsecurity/rss-display-web

By simeononsecurity

•Updated about 2 years ago

Designed to fetch and display the latest posts from a specified RSS feed as a webpage.

Image
0

2.8K

simeononsecurity/rss-display-web repository overview

⁠RSS Feed Display Docker Container

This Docker container is designed to fetch and display the latest posts from a specified RSS feed using Python, Flask, and feedparser.

Docker Image CI

⁠Usage

  1. Clone this repository:

    git clone https://github.com/simeononsecurity/docker-rss-display-web
    
  2. Build the Docker image:

    docker build -t rss-display .
    

    or pull it from dockerhub⁠

    docker pull simeononsecurity/rss-display-web
    
  3. Run the Docker container:

    docker run -p 8080:80 --name rss-container rss-display
    
  4. Visit http://localhost:8080⁠ in your web browser to view the latest posts from the specified RSS feed.

⁠Configuration

To change the RSS feed source, modify the RSS_FEED_URL environment variable in the Dockerfile:

ENV RSS_FEED_URL=https://simeononsecurity.com/index.xml

or

Pass it in at run time.

docker run -p 8080:80 --name rss-container -e RSS_FEED_URL=https://example.com/rss.xml rss-display

⁠Dependencies

  • Flask
  • Werkzeug
  • feedparser

These dependencies are listed in the requirements.txt file.

⁠Customization

Feel free to customize the Flask application (app.py) and HTML template (templates/index.html) to suit your needs. You can modify the number of displayed posts, the appearance of the webpage, and more.

simeononsecurity.com⁠

Tag summary

Content type

Image

Digest

sha256:f56257e74…

Size

52.8 MB

Last updated

about 2 years ago

docker pull simeononsecurity/rss-display-web