pusk/README.md

31 lines
773 B
Markdown
Raw Normal View History

2023-05-12 09:43:21 +02:00
# Pusk
2023-05-14 23:00:15 +02:00
**WIP: It's not working yet**
2023-05-12 09:43:21 +02:00
2023-05-13 18:07:55 +02:00
TODO:
2023-05-12 10:54:14 +02:00
2023-05-13 16:02:06 +02:00
- [x] Download a driver
- [x] Run a driver in background during the life of the app
- [x] [Figuring out how to use drivers](https://w3c.github.io/webdriver/#endpoints)
2023-05-14 22:37:14 +02:00
- [x] Login to Twitter.com
2023-05-12 10:54:14 +02:00
- [ ] Check if latest tweet of user is more or less old than 30 days
2023-05-12 20:36:14 +02:00
- [ ] Then tweet if needed something like "Don't delete my account please"
2023-05-13 16:02:06 +02:00
- [x] Close everything properly
2023-05-12 10:54:14 +02:00
- [ ] Maybe create a docker image for easy deployment?
2023-05-12 09:43:21 +02:00
## Requirements
```opam
$ opam switch list
# switch compiler description
→ default ocaml-base-compiler.4.14.1 default
2023-05-12 09:43:21 +02:00
```
```sh
2023-05-14 01:57:29 +02:00
$ opam install cohttp-lwt-unix tls-lwt dotenv twostep
2023-05-12 09:43:21 +02:00
```
## Name history
Derived from Elon's name :D. Thanks, Elon, for destroying Twitter.