Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,67 +1,73 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
#
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
-
|
| 30 |
-
-
|
| 31 |
-
|
| 32 |
-
##
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
```
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Calendar Assistant
|
| 3 |
+
emoji: 📅
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: "1.24.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Autonomous Calendar Assistant
|
| 13 |
+
|
| 14 |
+
An AI-powered calendar assistant that helps you manage your schedule, find optimal meeting times, and automate calendar operations using natural language commands.
|
| 15 |
+
|
| 16 |
+
## Features
|
| 17 |
+
|
| 18 |
+
- Natural language understanding for calendar commands
|
| 19 |
+
- Intelligent scheduling based on your preferences
|
| 20 |
+
- Meeting finding, scheduling, and management
|
| 21 |
+
- Availability checking and optimization
|
| 22 |
+
|
| 23 |
+
## How to Use
|
| 24 |
+
|
| 25 |
+
1. Click the "Login with Google Calendar" button
|
| 26 |
+
2. Follow the authorization flow to grant access
|
| 27 |
+
3. Start using natural language commands like:
|
| 28 |
+
- "Schedule a meeting with Alex tomorrow at 2pm"
|
| 29 |
+
- "Find all meetings with Morgan"
|
| 30 |
+
- "When am I free next Monday?"
|
| 31 |
+
|
| 32 |
+
## Authentication
|
| 33 |
+
|
| 34 |
+
This app requires Google Calendar API credentials and OAuth authentication.
|
| 35 |
+
|
| 36 |
+
## Docker Setup
|
| 37 |
+
|
| 38 |
+
### Prerequisites
|
| 39 |
+
|
| 40 |
+
- Docker and Docker Compose installed
|
| 41 |
+
- Google Calendar API credentials
|
| 42 |
+
|
| 43 |
+
### Setup Instructions
|
| 44 |
+
|
| 45 |
+
1. **Prepare your credentials**
|
| 46 |
+
|
| 47 |
+
Place your `credentials.json` file in the `credentials` directory.
|
| 48 |
+
|
| 49 |
+
2. **Build and run with Docker Compose**
|
| 50 |
+
|
| 51 |
+
```bash
|
| 52 |
+
docker-compose up -d
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
3. **Access the application**
|
| 56 |
+
|
| 57 |
+
Open your browser and navigate to: `http://localhost:8501`
|
| 58 |
+
|
| 59 |
+
### Environment Variables
|
| 60 |
+
|
| 61 |
+
You can customize the application by setting these environment variables in the docker-compose.yml file:
|
| 62 |
+
|
| 63 |
+
- `GOOGLE_APPLICATION_CREDENTIALS`: Path to the Google credentials file
|
| 64 |
+
- `TZ`: Timezone (default: Asia/Kolkata)
|
| 65 |
+
|
| 66 |
+
## Running Locally Without Docker
|
| 67 |
+
|
| 68 |
+
If you prefer to run without Docker:
|
| 69 |
+
|
| 70 |
+
1. Install Python 3.9 or higher
|
| 71 |
+
2. Install dependencies: `pip install -r requirements.txt`
|
| 72 |
+
3. Place your credentials.json file in the project directory
|
| 73 |
+
4. Run: `streamlit run app.py`
|