809 B
809 B
Pusk
Send a tweet to prevent Twitter from closing your account.
Requirements
$ opam switch list
# switch compiler description
→ default ocaml-base-compiler.4.14.1 default
$ opam install cohttp-lwt-unix tls-lwt dotenv twostep
Name history
Derived from Elon's name :D. Thanks, Elon, for destroying Twitter.
TODO list
- Download a driver
- Run a driver in background during the life of the app
- Figuring out how to use drivers
- Login to Twitter.com
- Check if latest tweet of user is more or less old than 30 days
- Then tweet if needed something like "Don't delete my account please"
- Close everything properly
- Maybe create a docker image for easy deployment?