Skip to content
🍩 A lambda function to notify me of when District Doughnuts announces new flavors
Rust Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.cargo
src
.gitignore
Cargo.lock
Cargo.toml
README.md
template.yaml
upload.sh

README.md

District Doughnut

A lambda function to scape the District Doughnut website and look for new flavors

Sends a notification to an SNS topic for both newly released and discarded flavors

Setup

For local compilation: (YMMV)

rustup target add x86_64-unknown-linux-musl
brew install filosottile/musl-cross/musl-cross
mkdir .cargo

echo '[target.x86_64-unknown-linux-musl]
linker = "x86_64-linux-musl-gcc"' > .cargo/config'

Otherwise, install Docker

Building and deploying

For compiling in Docker and deploying:

# Edit upload.sh first to change parameters to suit you
# Then run upload.sh
./upload.sh
You can’t perform that action at this time.