Send tweet peridically to avoid ban from Elon
Find a file
2023-05-14 22:55:18 +02:00
bin comment 2023-05-14 22:55:18 +02:00
lib use css selector instead of xpath 2023-05-14 22:52:36 +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 happy 2023-05-14 22:37:14 +02:00

Pusk

WIP: It's not working

TODO:

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

Name history

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