2023-05-12 09:43:21 +02:00
|
|
|
# Pusk
|
|
|
|
|
|
|
|
**WIP: It's not working**
|
|
|
|
|
2023-05-12 10:54:14 +02:00
|
|
|
TODO: (as you can see, nothing has been done yet!)
|
|
|
|
|
2023-05-12 18:41:29 +02:00
|
|
|
- [x] Download selenium
|
2023-05-12 20:32:38 +02:00
|
|
|
- [x] Run Selenium in background during the life of the app
|
2023-05-12 10:54:14 +02:00
|
|
|
- [ ] Figuring out how to use selenium
|
|
|
|
- [ ] 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-12 10:54:14 +02:00
|
|
|
- [ ] Close everything properly
|
|
|
|
- [ ] Maybe create a docker image for easy deployment?
|
|
|
|
|
2023-05-12 09:43:21 +02:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
```opam
|
|
|
|
$ opam switch list
|
2023-05-12 09:52:18 +02:00
|
|
|
# switch compiler description
|
|
|
|
→ default ocaml-base-compiler.4.14.1 default
|
2023-05-12 09:43:21 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```sh
|
2023-05-12 09:53:44 +02:00
|
|
|
$ opam install cohttp-lwt-unix tls-lwt
|
2023-05-12 09:43:21 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Name history
|
|
|
|
|
|
|
|
Derived from Elon's name :D. Thanks, Elon, for destroying Twitter.
|