audit-reports will check https://code4rena.com/reports/ and https://app.sherlock.xyz/audits/contests for new reports and inform you via discord / log.
git clone git@github.com:zaskoh/audit-reports.git
make build
With the flag --config you can define the path to the config file.
If you want to get informed via discord you need the token and channel (add them to your config or set as environment variables DISCORD_TOKEN + DISCORD_CHANNEL).
If you just want to get the log in your terminal, use --no-discord flag.
Examples
go run main.go --config=config.yml --no-discord
DISCORD_TOKEN=xyz DISCORD_CHANNEL=zzz ./build/audit-reports
DISCORD_TOKEN=xyz DISCORD_CHANNEL=zzz ./build/audit-reports --config=/path/to/config.yml
If you want to get informed in discord, you need a token and channel env. How to get them you can checkout https://github.com/zaskoh/discordbooter