https://github.com/aeyoll/sukurappa
Watch for changes on a webpage and do anything with it!
https://github.com/aeyoll/sukurappa
notification parser rust
Last synced: 4 months ago
JSON representation
Watch for changes on a webpage and do anything with it!
- Host: GitHub
- URL: https://github.com/aeyoll/sukurappa
- Owner: aeyoll
- License: mit
- Created: 2022-08-14T09:36:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-23T08:57:34.000Z (almost 4 years ago)
- Last Synced: 2025-09-18T05:27:03.081Z (9 months ago)
- Topics: notification, parser, rust
- Language: Rust
- Homepage:
- Size: 39.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sukurappa
[](https://github.com/aeyoll/sukurappa/actions)
[](LICENSE)
[](#rust-version-requirements)
[](https://crates.io/crates/sukurappa)
[](https://conventionalcommits.org)
Watch for changes on a webpage and do anything with it!
Install
---
With cargo:
```shell
cargo install sukurappa
```
Or use the install-script and add `$HOME/.sukurappa/bin` to your `$PATH`.
````shell
curl -fsSL https://raw.githubusercontent.com/aeyoll/sukurappa/main/install.sh | bash
````
Usage
---
```shell
# Add an url + selector to watch
sukurappa add --url https://example.org --selector "h1"
# Remove an url + selector to watch
sukurappa remove --url https://example.org --selector "h1"
# List watched urls + selectors
sukurappa list
# Watch for changes every 5 seconds and send an email with the new content every times it changes
# URL will be replaced with the actual url
# NEW_CONTENT will be replaced with... the new content
sukurappa watch --command='mail -s "[Sukurappa] Content changed in URL" my@email.com <<< NEW_CONTENT' --frequency=5
```
Rust version requirements
---
Rust >= 1.57.0+