verifiedjoseph / vigilant Goto Github PK
View Code? Open in Web Editor NEWPHP script for monitoring RSS/ATOM/JSON feeds and sending push notifications on new entries.
License: MIT License
PHP script for monitoring RSS/ATOM/JSON feeds and sending push notifications on new entries.
License: MIT License
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!
Add a new parameter for feeds which allows specifying the window of time during the day in which a feed is actively monitored.
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
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.
I don't see any option to turn on logging or debugging to get more details. I'm trying to pull feeds from CVE and it's not working. It works just fine via wget/curl/browser.
Checking...CVE Security Vulnerability Feed (https://www.cvedetails.com/rss-feed/v1?feedId=###&check=........)
Failed to fetch: https://www.cvedetails.com/rss-feed/v1?feedId=###&check=....... (returned internal server error)
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.
Add a new parameter for feeds which allows adding a prefix to the automatically created title of notifications.
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}
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.
How this would apply to gotify's usage I'm not sure.
I'd prefer to configure this to use a Token for sending to my ntfy.sh server rather than using Basic Auth username/password. Are there any plans to support this, like your PHP library?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.