Giter Site home page Giter Site logo

verifiedjoseph / vigilant Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 569 KB

PHP script for monitoring RSS/ATOM/JSON feeds and sending push notifications on new entries.

License: MIT License

PHP 99.05% Shell 0.51% Dockerfile 0.44%
gotify json-feed notifications ntfy php push-notifications rss

vigilant's Issues

Re-implement docker installation

Currently Vigilant can only be installed manually, installation with a docker container would be greatly appreciated.

I can see this was originally an option. But I couldn't find any information on why it was removed, other than the docker image it's self was taken down. Alternatively, guidance on how to build the docker image (as you do currently for your dev workspace) and the appropriate docker compose configuration would also be useful. Thank you!

Feature request: Feed monitoring time window/cron in docker

Feature Request

Summary

Add a new parameter for feeds which allows specifying the window of time during the day in which a feed is actively monitored.

Examples

cron: 0 9-22 * * *        (would probably have to override 'interval')

or

start_time: 9am
end_time: 10pm

or

active_hours: 9am-10pm

or

time_window: 9am-10pm

Motivation

Everything I currently monitor is based on people doing something. So being able to set a window of time, and pause monitoring a feed at night would be useful. It can prevent sending loud notifications during the evening, but keeping the ntfy priority high for use during the day. Also reduces the likelihood of being rate limited with feeds, as I could cut the number of requests per day in half.

Can't start docker container "Feeds error: Indentation problem"

Thank you for providing the docker installation option and it's documentation!

Following the docker compose and feeds setup provided, I'm unable to start the docker container. Getting the following error:

Starting Vigilant 1.1.0 daemon...
Loading feeds.yaml (feeds.yaml)
Feeds error: Indentation problem at line 3 (near "name: Met Office weather warnings").

I had originally tried to start the container with my own feeds.yaml file. But as you can see, even when creating a new feeds file and copy/pasting the provided example, the error still occurs.

Feature request: Prefix ntfy title

Feature Request

Summary

Add a new parameter for feeds which allows adding a prefix to the automatically created title of notifications.

Example

feeds.yaml:

- name: GitHub Status
  url: https://www.githubstatus.com/history.rss
  interval: 600
  ntfy_topic: github-status
  prefix: GitHub status change!

Sent ntfy notification title:

GitHub status change! {Title normally generated by vigilant remains here}

Motivation

Previously I was using vigilant to just send myself notifications. However a situation arised today where I now need to monitor a feed and send notifications to friends and family. However the notifications sent don't currently make it clear to them what the notification means. Hence the need to add additional information in the title.

Additional Information

How this would apply to gotify's usage I'm not sure.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.