RSS Feed Reader

From KG7QIN's Wiki
Jump to navigation Jump to search

Notes on setting up your own RSS Feed Reader using FreshRSS

Installation

FreshRSS

Source: https://github.com/FreshRSS/FreshRSS

docker-compose.yml

version: "3" 

services:
  freshrss-db:
    image: postgres:12-alpine
    container_name: freshrss-db
    hostname: freshrss-db
    restart: unless-stopped
    volumes:
      - ./db:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: freshrss
      POSTGRES_PASSWORD: freshrss
      POSTGRES_DB: freshrss

  freshrss-app:
    image: freshrss/freshrss:latest
    container_name: freshrss-app
    hostname: freshrss-app
    restart: unless-stopped
    ports:
      - "8080:80"
    depends_on:
      - freshrss-db
    volumes:
      - ./data:/var/www/FreshRSS/data
      - ./extensions:/var/www/FreshRSS/extensions
    environment:
      CRON_MIN: '*/20'
      TZ: America/Los_Angeles

volumes:
  db:
  data:
  extensions:

RSS Bridge

RSS-Bridge generated RSS and Atom feeds for websites that don't have one.

Source: https://github.com/RSS-Bridge/rss-bridge

docker-compose.yml

Source: https://github.com/RSS-Bridge/rss-bridge/wiki/Docker

  version: '2'
  services:
    rss-bridge:
      volumes:
        - ./whitelist.txt:/app/whitelist.txt
      image: rssbridge/rss-bridge:latest
      ports:
        - 3000:80
      restart: unless-stopped

Additional configuration:

  • Create a whitelist.txt file (touch whitelist.txt)

Configuration

Initial setup

  1. Point your browser at http://<url>
  2. Follow the prompts
  3. When asked for the type of database choose Postgres
  4. When asked for the location use freshrss-db
  5. Use the username and password you used in the docker-compose.yml file

RSS Feeds

Reddit

Reddit has various RSS feeds available for use.

/new on a specific subreddit

Replace {subreddit} with the name of the subreddit you wish to use.

  https://www.reddit.com/r/{subreddit}/new/.rss?sort=new

Example:

  https://www.reddit.com/r/amateurradio/.rss?sort=new

All comments from a subreddit

  https://www.reddit.com/r/{subreddit}/comments/.rss

All comments from a certain post

Replace {poatid} with the id of the Reddit post you wish to view.

  https://www.reddit.com/r/{subreddit}/comments/{postid}/.rss

Bot/Friend stalking

Replace {username} with the name of the Reddit user you wish to view.

  https://www.reddit.com/user/{username}/.rss            #All posts and comments
  https://www.reddit.com/user/{username}/comments/.rss   #Just comments
  https://www.reddit.com/user/{username}/submitted/.rss  #Just submissions