Files
rfd-notify/README.md
2020-06-21 02:36:29 -04:00

32 lines
931 B
Markdown

# rfd-notify
![](https://github.com/davegallant/rfd-notify/workflows/ci/badge.svg)
[![Dependabot](https://badgen.net/badge/Dependabot/enabled/green?icon=dependabot)](https://dependabot.com/)
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).