Send tweet peridically to avoid ban from Elon
bin | ||
lib | ||
test | ||
.gitignore | ||
.ocamlformat | ||
dune-project | ||
pusk.opam | ||
README.md |
Pusk
Requirements
$ opam switch list
# switch compiler description
→ default ocaml-base-compiler.4.14.1 default
Install dependencies
dune describe external-lib-deps | awk '/external_deps/{flag=1;next}/))/{flag=0}flag' | tr -d '()' | tr -s '\n' ' ' | sed 's/required//g' | xargs opam install -y
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?