Send tweet peridically to avoid ban from Elon
Find a file
2023-05-13 18:03:30 +02:00
bin use only pusk lib 2023-05-13 18:03:30 +02:00
lib use the Any exception everywhere so we never close the app without closing properly the driver 2023-05-13 18:02:46 +02:00
test dune init 2023-05-12 08:30:56 +02:00
.gitignore add .env in config directory to load credentials, also always unload backend properly in case of a failwith 2023-05-13 18:00:57 +02:00
.ocamlformat add ocamlformat 2023-05-12 09:52:22 +02:00
dune-project dune init 2023-05-12 08:30:56 +02:00
pusk.opam dune init 2023-05-12 08:30:56 +02:00
README.md add .env in config directory to load credentials, also always unload backend properly in case of a failwith 2023-05-13 18:00:57 +02:00

Pusk

WIP: It's not working

TODO: (as you can see, nothing has been done yet!)

  • 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?

Requirements

$ opam switch list
#  switch   compiler                    description
→  default  ocaml-base-compiler.4.14.1  default
$ opam install cohttp-lwt-unix tls-lwt dotenv

Name history

Derived from Elon's name :D. Thanks, Elon, for destroying Twitter.