Skip to content
Projets

À propos

Alternative open source à Calendly fonctionnant avec l’offre gratuite de Cloudflare. Planificateur de réunions avec synchronisation avec Google Agenda et Outlook.

Productivité et automatisation

Comment ces chiffres sont mesurés

What you can do

  • Google Calendar and Outlook Calendar integration
  • Use Google alone, Outlook alone, or both calendars together
  • Automatic event creation with Google Meet or Microsoft Teams links
  • Customizable availability and working hours

Progression mesurée des étoiles

in 24h
+1
in 7 days
+5
in 15 days
+6
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

CloudMeet

A free, open-source meeting scheduler that runs on Cloudflare. Open-source Calendly alternative with Google Calendar and Outlook Calendar integration.

CloudMeet Booking Page

Live Demo

Features

  • Google Calendar and Outlook Calendar integration
  • Use Google alone, Outlook alone, or both calendars together
  • Automatic event creation with Google Meet or Microsoft Teams links
  • Customizable availability and working hours
  • Multiple event types (30 min, 1 hour, etc.) with per-event buffer, minimum notice, booking window and custom hours
  • Configurable email notifications (confirmation, cancellation, reminders)
  • Email settings dashboard to enable/disable and customize emails
  • One-click deploy and update via GitHub Actions
  • Runs entirely on Cloudflare's free tier

Quick Start

1. Create Cloudflare API Token

  1. Go to Cloudflare API Tokens
  2. Click Create Token
  3. Select Edit Cloudflare Workers template
  4. Under Account Resources, select your account
  5. Click + Add more and add: Account → D1 → Edit
  6. Click Continue to summary → Create Token
  7. Copy the token for step 4

2. Setup Google OAuth

  1. Go to Google Cloud Console
  2. Create a new project
  3. Go to APIs & Services > Library > Enable Google Calendar API
  4. Go to APIs & Services > Credentials
  5. Click Create Credentials > OAuth 2.0 Client ID
  6. Application type: Web application
  7. Add authorized redirect URI: https://YOUR-PROJECT.pages.dev/auth/callback
    • Replace YOUR-PROJECT with your Cloudflare Pages project name (you'll get this URL after first deploy, or use your custom domain if you already have one)
    • You can add multiple redirect URIs, so add both the default and custom domain if needed
  8. Save your Client ID and Client Secret for step 4

3. Create your repository

Click Use this template > Create a new repository.

4. Add Repository Secrets

Go to your new repo's Settings > Secrets and variables > Actions > New repository secret.

Add these secrets (click "New repository secret" for each one):

Secret Required Description
CLOUDFLARE_API_TOKEN Yes Your Cloudflare API token from step 1
CLOUDFLARE_ACCOUNT_ID Yes Your Cloudflare Account ID (right sidebar)
ADMIN_EMAIL Yes Your Google email (only this account can login)
JWT_SECRET Yes Random string for session tokens (generate one)
APP_URL Yes Your app URL (e.g., https://YOUR-PROJECT.pages.dev or your custom domain)
GOOGLE_CLIENT_ID Yes From step 2 (ends with .apps.googleusercontent.com)
GOOGLE_CLIENT_SECRET Yes From step 2
EMAILIT_API_KEY No Emailit API key for booking emails
EMAIL_FROM No From address (e.g., [email protected])
CRON_SECRET No Secures reminder endpoint (generate one)
MICROSOFT_CLIENT_ID No For Outlook Calendar integration (see below)
MICROSOFT_CLIENT_SECRET No For Outlook Calendar integration (see below)
CF_ACCESS_TEAM_DOMAIN No Cloudflare Zero Trust login (see below), e.g. yourteam.cloudflareaccess.com
CF_ACCESS_AUD No Application Audience (AUD) tag of your Access application

5. Deploy

Go to Actions > Deploy to Cloudflare Pages > Run workflow > Run workflow.

Your app will be live at https://YOUR-PROJECT.pages.dev.

Custom Domain (Optional)

  1. Go to Cloudflare Dashboard > Pages > cloudmeet > Custom domains
  2. Add your domain
  3. Update APP_URL secret to your new domain
  4. Update redirect URI in Google Cloud Console to https://yourdomain.com/auth/callback
  5. Re-run the deploy workflow

Updating

To get the latest updates from the template and deploy:

  1. Go to Actions > Sync and Deploy > Run workflow > Run workflow

This will sync with the upstream CloudMeet template and automatically deploy to Cloudflare.

Alternatively, you can run Upstream Sync and Deploy to Cloudflare Pages separately.

If sync fails with a permissions error, create a personal access token with Contents and Workflows permissions, and paste it in the token field when running the workflow.

Email Reminders

Email reminders are automatically enabled when you deploy. A Cloudflare Worker runs every 5 minutes to check for and send scheduled reminders (24h, 1h before meetings).

Note: The CRON_SECRET is optional but recommended. Without it, the reminder endpoint is publicly accessible (anyone could trigger reminder sends). With it, only the cron worker can trigger reminders.

To add the secret:

  1. Add a CRON_SECRET to your GitHub secrets (any random string)
  2. Re-deploy via Actions > Deploy to Cloudflare Pages

The cron worker is deployed automatically alongside the main app.

Outlook Calendar Integration (Optional)

CloudMeet supports Microsoft Outlook Calendar in addition to Google Calendar. You can use Google alone, Outlook alone, or both together. When both are connected, availability is checked across both calendars.

Setup Microsoft OAuth

  1. Go to Azure Portal > App registrations > New registration
  2. Name: CloudMeet (or your preferred name)
  3. Supported account types: Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
  4. Redirect URI: Web > https://YOUR-DOMAIN/auth/outlook/callback
  5. Click Register
  6. Copy the Application (client) ID - this is your MICROSOFT_CLIENT_ID
  7. Go to Certificates & secrets > New client secret
  8. Copy the secret value - this is your MICROSOFT_CLIENT_SECRET
  9. Go to API permissions > Add a permission > Microsoft Graph > Delegated permissions
  10. Add these permissions:
    • Calendars.ReadWrite
    • User.Read
    • OnlineMeetings.ReadWrite (for Teams meeting links)
  11. Click Grant admin consent (if you have admin access, otherwise users consent on first login)

Add Secrets

Add MICROSOFT_CLIENT_ID and MICROSOFT_CLIENT_SECRET to your GitHub secrets and re-deploy.

Usage

Once configured, users can connect their Outlook calendar from the dashboard:

  • Go to Dashboard > Calendar Integrations
  • Click Connect next to Outlook Calendar
  • Choose which calendars to use for availability checking
  • Select preferred meeting provider (Google Meet, Teams, or none)

Cloudflare Zero Trust Login (Optional)

Instead of (or next to) the Google login you can protect the dashboard with Cloudflare Access. Visitors that Access lets through are logged in without a Google round trip, as long as their email matches ADMIN_EMAIL.

  1. Go to Zero Trust > Access > Applications > Add an application > Self-hosted
  2. Add paths for YOUR-DOMAIN/dashboard and YOUR-DOMAIN/auth/login (leave the booking pages and /api/* public)
  3. Add a policy that allows your email
  4. Copy the Application Audience (AUD) tag from the application settings and your team domain (yourteam.cloudflareaccess.com)
  5. Add CF_ACCESS_AUD and CF_ACCESS_TEAM_DOMAIN to your GitHub secrets and re-deploy

Without both secrets Cloudflare Access is ignored and only the Google login works. You still need to connect Google or Outlook once from the dashboard to sync calendars.

Per-Event Settings

Each event type can override your global settings. Open Dashboard > an event type > Booking Rules:

Setting Empty means Effect
Buffer (minutes) 0 Free time kept before and after calendar events and other bookings
Minimum notice (minutes) none Slots closer than this to now are hidden and cannot be booked
Booking window (days) 60 Slots further ahead than this are hidden and cannot be booked
Custom hours your global availability Own weekly hours for this event type only

Existing installs need migration 0009_event_type_overrides.sql; the deploy workflow applies it automatically.

Manual Deployment

The GitHub Actions workflow creates the D1 database, the KV namespace, applies schema.sql and all migrations, and writes your secrets into wrangler.toml. If you deploy by hand with Wrangler instead, do these steps yourself, in this order:

npx wrangler d1 create cloudmeet-db
npx wrangler kv namespace create cloudmeet-kv
# put both IDs in wrangler.toml, then create the tables:
npx wrangler d1 execute cloudmeet-db --remote --file=schema.sql
npm run build
npx wrangler pages deploy .svelte-kit/cloudflare

Without the schema.sql step every page fails with D1_ERROR: no such table: users. schema.sql is the full current schema for a new database. The files in migrations/ are only for databases created before a change, and can be skipped on a fresh install.

When setting secrets from a shell, use printf and not echo: a trailing newline in GOOGLE_CLIENT_ID or JWT_SECRET makes the login loop without any error.

Troubleshooting

  • Open https://YOUR-DOMAIN/api/health. It checks the database, the KV namespace and the required settings, and tells you what is missing (it never shows secret values).
  • Server logs: Cloudflare Dashboard > Workers & Pages > your project > Deployments > a deployment > Functions > Real-time logs.
  • no such table: run the schema.sql step above.
  • Login redirect loop: check for whitespace in the OAuth secrets (the health endpoint reports this), and that the redirect URI in Google Cloud matches APP_URL exactly.

Project Structure

Path What lives there
src/routes/[slug] Public booking page for an event type
src/routes/api/availability Day and month availability (uses src/lib/server/slots.ts)
src/routes/api/bookings Creating, cancelling and rescheduling bookings
src/routes/dashboard Admin area: event types, availability, calendars, email templates
src/lib/server Auth, Google and Outlook calendar clients, email, slot generation
migrations/, schema.sql Database changes and full schema
workers/cron-reminders Worker that sends reminder emails every 5 minutes

Dashboard Settings

  • Event types: name, URL slug, duration, description, cover image, active or not
  • Per event type: buffer, minimum notice, booking window and custom weekly hours (see Per-Event Settings), plus which calendars to check and which one sends the invite
  • Availability: your weekly hours and timezone
  • Calendars: connect Google and Outlook, choose which calendars block time
  • Emails: enable, disable and customise confirmation, cancellation, reschedule and reminders
  • Profile: name, photo, brand colour, contact email, 12 or 24 hour time

FAQ

Does it support recurring meetings? No. Every booking is a single meeting, and attendees can book again at any time. Weekly or bi-weekly series would need a new recurrence option on the booking form, a recurring event in src/lib/server/google-calendar.ts and outlook-calendar.ts, and one bookings row per occurrence. Pull requests are welcome.

Can I have different hours per meeting type? Yes, see Per-Event Settings.

Contributing

npm install
cp .env.example .dev.vars
npm run db:init
npm run dev

Start with the table in Project Structure. Keep changes small, open a pull request against main and describe what you changed and how you tested it. A new database column needs both a file in migrations/ and the same change in schema.sql.

Local Development

cp .env.example .dev.vars  # Add your credentials
npm install
npm run db:init
npm run dev

License

MIT

Explorer des projets similaires

Chargement…