2023-05-12 09:43:21 +02:00
|
|
|
# Pusk
|
|
|
|
|
2023-05-15 17:20:47 +02:00
|
|
|
<<<<<<< HEAD
|
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
|
|
|
```
|
|
|
|
|
2023-05-15 16:57:36 +02:00
|
|
|
### Install dependencies
|
|
|
|
|
2023-05-12 09:43:21 +02:00
|
|
|
```sh
|
2023-05-15 17:09:32 +02:00
|
|
|
dune describe external-lib-deps | sed -n '/external_deps/,/))/p' | sed -e 's/[()]//g' -e 's/required//g' -e '/external_deps/d' | xargs -n1 opam install -y
|
2023-05-12 09:43:21 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Name history
|
|
|
|
|
|
|
|
Derived from Elon's name :D. Thanks, Elon, for destroying Twitter.
|
2023-05-15 16:57:36 +02:00
|
|
|
|
|
|
|
## TODO list
|
|
|
|
|
2023-05-15 17:20:47 +02:00
|
|
|
=======
|
|
|
|
>>>>>>> parent of 658ef57 (Add a command who install dependencies based on dune-project)
|
2023-05-15 16:57:36 +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)
|
|
|
|
- [x] Login to Twitter.com
|
|
|
|
- [x] Check if latest tweet of user is more or less old than 30 days
|
|
|
|
- [x] Then tweet if needed something like "Don't delete my account please"
|
|
|
|
- [x] Close everything properly
|
|
|
|
- [ ] Maybe create a docker image for easy deployment?
|
2023-05-15 17:20:47 +02:00
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
```opam
|
|
|
|
$ opam switch list
|
|
|
|
# switch compiler description
|
|
|
|
→ default ocaml-base-compiler.4.14.1 default
|
|
|
|
```
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ opam install cohttp-lwt-unix tls-lwt dotenv twostep
|
|
|
|
```
|
|
|
|
|
|
|
|
## Name history
|
|
|
|
|
|
|
|
Derived from Elon's name :D. Thanks, Elon, for destroying Twitter.
|