Commit graph

3 commits

Author SHA1 Message Date
fbdc4bbdf2
skip old events on first run 2025-04-01 13:45:34 -07:00
a584d3ed46
add AI generated whatever
I want a cli application written in zig 0.14.0 that continuously polls a syncthing events url (http://localhost:8384/rest/events?events=ItemFinished) by default. Syncthing uses the id in the json output to track the last event, so it will need to handle "since=<id>" in the query string after the first request. For all items returned, it should check all the events to see if they match anything configured by the user (the config file can be json, zon, or yaml format). The configuration must allow specification of the folder and path regular expression. If an event matches one of the configured items, the configuration will specify a system command that will be run synchronously, using stdout and stderr of the process. Tests should be written to verify accuracy of the parsing logic for both configuration and events, and the README must document the application. Also, please create a devfile.yaml for future use.
2025-03-31 16:54:36 -07:00
c2a99972be
initial commit 2025-03-31 15:45:23 -07:00