This project is currently on hiatus, due to recent changes in the duolingo fetch api. this branch should no longer run as expected.
duoAlertOxide is a programatic, function-oriented re-implimentation and overhaul of duoAlert by Seth Johnson, in rust - built on duolingo_rs
duoAlertOxide uses discord webhooks to send a message when a followed user starts, extends, or fails to keep a streak, based on their daily goal.
- rust (which we'd hope is obvious by now)
- clone this repository and change into the directory it was cloned in (default duo_alert_oxide)
- set up the JSON config
- run
cargo build
to produce a runnable executable (default pathtarget/debug/<executable>
) - run the aforementioned executable!*
DuoAlert reads a basic JSON configuration file to determine which users to follow and what the webhook URL is. If use_giphy
is true
then the phrases pulled from phrases will be used to search giphy and pull the top gif. If false
your predetermined gifs will be used.
place your config.json
file in the directory the command is ran from, and populate it:
{
"username":"<username_of_duolingo>",
"password":"<password_of_duolingo>",
"webhook_url": "<webhook_url>",
"users": ["exampleUser"],
// GIPHY INTEGRATION NOT CURRENTLY
// IMPLIMENTED. STAY TUNED
//"use_giphy": true,
//"giphy_apikey": "YOUR_API_KEY_HERE",
//"giphy_rating": "G"
}
- batch posting
- giphy integration
- multi-hook support
- argc- & argv-style input for custom paths and modularity
- packaging for:
- debian / fedora / etc... based linux distros
- the AUR
snapwe don't hate ourselves
check out the [](wiki page) // in progress :(
We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Duolingo, or any of its subsidiaries or its affiliates. The official Duolingo website can be found at http://duolingo.com. The name “Duolingo” as well as related names, marks, emblems and images are registered trademarks of Duolingo.