Sign inSign up

lapicidae/feed-actions

By lapicidae

•Updated 14 days ago

Trigger action if Web-Feed (RSS or Atom) changes.

Image
0

4.6K

lapicidae/feed-actions repository overview

feed-actions

Trigger action (shell script) if Web-Feed (RSS or Atom) changes.

⁠lapicidae/feed-actions⁠

GitHub Repo stars Docker Pulls Docker Stars GitHub Workflow Status

The Feed Actions Docker image is based on Alpine Linux⁠, cron⁠ and rsstail⁠.

⁠Features

  • regular and timely application updates
  • BusyBox⁠ provides a subset of over two hundred utilities
  • schedule via cronjob
  • simple configuration
⁠Note

The image is automatically rebuilt when the alpine (latest)⁠ Official Docker Image receives an update.

⁠Getting Started

⁠Usage

Here are some example snippets to help you get started creating a container.

Compatible with docker-compose v2 schemas.

version: "2.1"
services:
  feed-actions:
    image: lapicidae/feed-actions
    container_name: feed-actions
    environment:
      - TZ=Europe/London
    volumes:
      - /path/to/config:/config
    restart: unless-stopped
⁠docker cli
docker run -d \
  --name=feed-actions \
  -e TZ=Europe/London \
  -v /path/to/config:/config \
  --restart unless-stopped \
  lapicidae/feed-actions
⁠Parameters

Container images are configured using parameters passed at runtime.

ParameterFunction
-e TZ=Europe/LondonSpecify a timezone⁠ to use (e.g. Europe/London)

⁠Configuration

Simply edit the two files provided.

⁠fa-cron:
2 3 * * * /bin/bash /usr/bin/feed-actions

Change the time at which the magic happens.
crontab exampels -> crontab.guru⁠
Do not change the /bin/bash /usr/bin/feed-actions part!

⁠config.cfg:
[test-project]
URL='http://www.test.org/feed.atom'
TRIGGER='curl -X POST https://hub.docker.com/api/build/v1/source/r2136542-9h8d-6rfd-5687-21fc6d2365tz/trigger/fe67d9a4-3d8b-5963-a5d8-25dc46cf5879/call/'
SectionFunction
[name]Section name - must be unique !!
URLRSS or Atom Feed URL
TRIGGERBash one-liner

⁠Note

Take a look at RSSHub⁠. 🍰 Everything is RSSible!

Tag summary

Content type

Image

Digest

sha256:febe75228…

Size

8.1 MB

Last updated

14 days ago

docker pull lapicidae/feed-actions