@@ -24,7 +24,7 @@ pip install -U browser-use
24
24
25
25
Export your Gemini API key, get it from: [ Google AI Studio] ( https://makersuite.google.com/app/apikey )
26
26
```
27
- export GEMINI_API_KEY ='your-gemini-api-key-here'
27
+ export GOOGLE_API_KEY ='your-gemini-api-key-here'
28
28
```
29
29
30
30
Clone the repo and cd into the app folder
@@ -37,14 +37,14 @@ cd browser-use/examples/apps/msg-use
37
37
38
38
First-time setup requires QR code scanning:
39
39
``` bash
40
- python whatsapp_login .py
40
+ python login .py
41
41
```
42
42
- Scan QR code when browser opens
43
43
- Session will be saved for future use
44
44
45
45
## Normal Usage
46
46
47
- 1 . ** Edit your schedule** in ` schedule .txt` :
47
+ 1 . ** Edit your schedule** in ` messages .txt` :
48
48
```
49
49
- Send "Hi" to Magnus on the 09.09 at 18:15
50
50
- Tell hinge date (Camila) at 20:00 that I miss her
@@ -53,19 +53,19 @@ python whatsapp_login.py
53
53
54
54
2 . ** Test mode** - See what will be sent:
55
55
``` bash
56
- python whatsapp_scheduler .py --test
56
+ python scheduler .py --test
57
57
```
58
58
59
59
3 . ** Run scheduler** :
60
60
``` bash
61
- python whatsapp_scheduler .py
61
+ python scheduler .py
62
62
```
63
63
64
64
## Programmatic Usage
65
65
66
66
``` python
67
67
import asyncio
68
- from whatsapp_scheduler import schedule_messages
68
+ from scheduler import schedule_messages
69
69
70
70
async def main ():
71
71
messages = [
@@ -99,9 +99,9 @@ Example scheduling output:
99
99
100
100
## Files
101
101
102
- - ` whatsapp_scheduler .py` - Main scheduler script
103
- - ` whatsapp_login .py` - One-time login setup
104
- - ` schedule .txt` - Your message schedule in natural language
102
+ - ` scheduler .py` - Main scheduler script
103
+ - ` login .py` - One-time login setup
104
+ - ` messages .txt` - Your message schedule in natural language
105
105
106
106
## License
107
107
0 commit comments