Send tweet peridically to avoid ban from Elon
  • OCaml 94%
  • Dockerfile 3.2%
  • Dune 2.8%
Find a file
Mylloon b441fad8d9
All checks were successful
Publish latest version / build (push) Successful in 47m21s
Update Dockerfile
2025-10-31 15:28:15 +01:00
.forgejo/workflows fix: ci 2025-10-31 13:47:54 +01:00
bin Update gecko version 2025-10-29 22:19:24 +01:00
config example .env 2024-07-11 09:29:57 +02:00
lib since tweet issue (#3) 2024-03-09 16:13:52 +01:00
test dune init 2023-05-12 08:30:56 +02:00
.gitignore example .env 2024-07-11 09:29:57 +02:00
.ocamlformat add ocamlformat 2023-05-12 09:52:22 +02:00
Dockerfile Update Dockerfile 2025-10-31 15:28:15 +01:00
dune-project update dependencies 2024-01-26 15:44:11 +01:00
LICENSE rename license 2024-07-11 10:25:52 +02:00
pusk.opam update dependencies 2024-01-26 15:44:11 +01:00
README.md use forgejo actions (#5) 2024-08-11 16:34:15 +02:00

Pusk status-badge

Send a tweet to prevent Twitter from closing your account, using a webdriver.

How to use?

With Docker

You can use this dockercompose template:

services:
  pusk:
    image: git.mylloon.fr/anri/pusk:latest
    container_name: Pusk
    environment:
      - TWITTER_USERNAME=yourusername # not your mail
      - TWITTER_PASSWORD=yourpassword # in dockercompose, you need to double $ signs in your password
      - TWITTER_TOTP=yourseed # optional if you don't have 2fa
      - PUSK_DEBUG=FALSE # optional
      - PUSK_HASHTAG=TRUE # optional, will add an hashtag to tweets
    restart: unless-stopped

Local

  • Firefox installed

  • You will need these dependencies:

    $ opam install cohttp-lwt-unix dotenv twostep lwt_ssl yojson core
    
  • Populate your credentials in config/.env

  • Then you can run the bot with:

    $ dune exec pusk
    

Name history

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