mirror of
https://github.com/davegallant/rfd-notify.git
synced 2025-08-05 08:13:39 +00:00
30 lines
844 B
Markdown
30 lines
844 B
Markdown
# rfd-notify
|
|
|
|

|
|
|
|
This tool looks for regular expressions from [RedFlagDeals.com forums](https://forums.redflagdeals.com/hot-deals-f9/) and will send emails based on matches.
|
|
|
|
|
|
## requirements
|
|
|
|
- a free [SendGrid API key](https://sendgrid.com/pricing/)
|
|
|
|
## use
|
|
|
|
Declare a configuration. An example can found in [config.toml](./examples/config.toml)
|
|
|
|
```shell
|
|
rfd-notify ./examples/config.toml
|
|
```
|
|
|
|
## cross compile
|
|
|
|
I had motivations to run this on a Raspberry Pi Zero:
|
|
|
|
```shell
|
|
alias rust-musl-builder='docker run --rm -it -v "$(pwd)":/home/rust/src messense/rust-musl-cross:arm-musleabihf'
|
|
rust-musl-builder cargo build --release
|
|
```
|
|
|
|
The above can be substituted for [other architectures](https://github.com/messense/rust-musl-cross#prebuilt-images).
|