This application allows users to parse event details from a webpage and create Google Calendar events automatically. It features a React frontend and a Python Flask backend with AI-powered event parsing.
- Navigate to the backend directory:
cd backend- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt-
Set up Google Calendar API:
- Go to the Google Cloud Console
- Create a new project
- Enable the Google Calendar API
- Create OAuth 2.0 credentials
- Download the credentials and save as
credentials.jsonin the backend directory
-
Set up Anthropic API:
- Create a
.envfile in the backend directory - Add your Anthropic API key:
ANTHROPIC_API_KEY=your_api_key_here
- Create a
-
Run the backend server:
python app.py- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Run the development server:
npm run dev- Open your browser and navigate to the frontend application (usually at http://localhost:5173)
- Enter the URL of a webpage containing event details
- Click "Parse Event" to extract the event information
- Review and modify the extracted details if needed
- Click "Create Event" to add the event to your Google Calendar
-
Frontend:
- React
- Material-UI
- Axios
- Day.js
-
Backend:
- Flask
- BeautifulSoup4
- AISuite API
- Google Calendar API