Turn natural language into Google Calendar events instantly.
Create calendar events by simply typing or speaking in plain English. No more clicking through multiple fieldsβjust describe your event and let AI do the rest.
Install from Chrome Web Store β (Search for "Prompt2Cal")
- Click the extension icon in your browser
- Connect your Google Calendar (one-time setup, stays connected for 14 days)
- Start creating events with natural language!
Speak your events naturallyβjust click the microphone and talk. Perfect for hands-free event creation.
Advanced AI understands natural language, so you can say things like:
- "Lunch with Sarah next Tuesday at 1pm"
- "Team meeting every Monday at 9am for the next month"
- "Doctor appointment tomorrow at 3:30pm"
- "Conference call with John on Friday at 2pm"
Automatically checks your calendar for scheduling conflicts before creating events, so you never double-book.
Select text from any webpage and the extension will automatically detect itβperfect for quickly adding events from emails or web pages.
Parse multiple events at once from a single text block. Great for importing schedules or meeting notes.
Create repeating events with natural language:
- "Daily standup at 9am"
- "Weekly team meeting every Monday"
- "Monthly review on the first Friday"
- Choose event colors
- Set reminder notifications
- Add locations and attendees
- Select which calendar to use
- Beautiful dark mode support
- Type or speak your event in natural language
- AI parses your text into structured event data
- Review and confirm the parsed details
- Event is created in your Google Calendar instantly
Input: "Lunch with Sarah next Tuesday at 1pm"
Output: Creates a calendar event with:
- Title: "Lunch with Sarah"
- Date: Next Tuesday at 1:00 PM
- Duration: 1 hour (default)
- Automatically added to your selected Google Calendar
- Your data is processed securely through our backend API
- Google Calendar authentication uses OAuth2 (industry standard)
- No data is stored permanentlyβonly processed to create your events
- Full privacy policy available at: https://moey145.github.io/Prompt2Cal/privacy-policy.html
This project consists of:
- Tech Stack: React + Vite, Lucide React Icons
- Features: Voice recognition, conflict detection, bulk parsing
- Location:
chrome-extension/
- Tech Stack: FastAPI (Python), OpenAI GPT, Google Calendar API
- Deployment: Google Cloud Run
- Features: Natural language parsing, event creation, OAuth2 handling
- Location:
backend/
- Rules Parser: Deterministic parsing for common patterns
- Intelligent Parser: AI-powered parsing for complex natural language
- Calendar Service: Google Calendar integration with conflict detection
Prompt2Cal/
βββ chrome-extension/ # Chrome extension (React + Vite)
β βββ src/ # React components
β βββ manifest.json # Extension manifest
β βββ dist/ # Built extension
βββ backend/ # FastAPI backend
β βββ main.py # API endpoints
β βββ services/ # Parsing & calendar services
β βββ models/ # Data models
βββ docs/ # Documentation & website
β βββ index.html # Homepage
β βββ privacy-policy.html # Privacy policy
βββ README.md # This file
- Python 3.8+
- Node.js 16+
- OpenAI API key
- Google Cloud Project with Calendar API enabled
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
cp env.example .env # Edit .env and add your OpenAI API key -
Set up Google Calendar API:
- Go to Google Cloud Console
- Create a new project or select existing one
- Enable the Google Calendar API
- Create OAuth 2.0 credentials
- Download the
credentials.jsonfile - Place
credentials.jsonin thebackend/directory
-
Run locally:
cd backend python main.py
-
Install dependencies:
cd chrome-extension npm install -
Build the extension:
npm run build
-
Load in Chrome:
- Open
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
chrome-extension/distfolder
- Open
Parse natural language into structured event data.
Create the confirmed event in Google Calendar.
Get user's available Google Calendars.
Check for scheduling conflicts.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Chrome Web Store: Install Prompt2Cal
- Homepage: https://moey145.github.io/Prompt2Cal/
- Privacy Policy: https://moey145.github.io/Prompt2Cal/privacy-policy.html
- OpenAI for the GPT API
- Google for the Calendar API
- FastAPI for the excellent Python web framework
- React for the frontend framework
Made with β€οΈ for easier calendar management