A simple Telegram bot that generates instant Google Meet links on demand. Users can type /meet in a private chat or @botusername meet in any group/channel for a fresh, open Meet room where anyone can join immediately with full access (no host approval needed—the first joiner becomes host).
Built with Python, pyTelegramBotAPI, Flask, and the Google Meet API. Hosted on Render for 24/7 availability.
- Instant Meet Links: Generate a new Google Meet room with
/meet. - Inline Mode: Use
@botusername meetin any chat to send a link without adding the bot. - Open Rooms: Rooms are fully open—anyone with the link joins with audio/video/chat/share. No knocking or host wait; first joiner gets admin controls.
- Unlimited Rooms: No time limit (rooms last 24+ hours).
- Free & Private: Runs on your Google account; links are ephemeral.
To run your own version, follow these steps. (As of November 23, 2025, this works with current APIs.)
- A Google account (for Meet API).
- A Telegram account (for BotFather).
- Git and Python installed locally.
- Go to Google Cloud Console.
- Create a new project.
- Enable the Google Meet API.
- Go to Credentials → Create Credentials → OAuth client ID → Desktop app.
- Download
credentials.json. - Run the bot locally once to generate
token.json(authorizes your account).
- Talk to @BotFather on Telegram.
/newbot→ Choose name/username → Copy the BOT_TOKEN./setinline→ Enable inline mode with placeholder "Creating Meet...".
- Clone the repo:
git clone https://github.com/Mobinsahidi/google-meet-generator.git. cd google-meet-generator.- Create
.envwithBOT_TOKEN=your_token. - Add
credentials.jsonand run locally to gettoken.json.
Install with pip install -r requirements.txt:
- pyTelegramBotAPI
- google-api-python-client
- google-auth-oauthlib
- google-auth-httplib2
- python-dotenv
- flask
You can run the app directly using Python or inside Docker. The repository has been reorganized into a small package under src/meet_bot.
Project layout (short):
.
├─ src/
│ └─ meet_bot/ # package containing the app
│ ├─ __main__.py # entry point (python -m src.meet_bot)
│ ├─ bot.py # bot factory and handlers
│ ├─ clients.py # google meet client helper
│ └─ web.py # flask app factory
├─ run.py # convenience script
├─ requirements.txt
├─ Dockerfile
└─ README.md
Run locally (from repo root):
cp .env.example .env
# edit .env to set BOT_TOKEN and place credentials
python run.py
# or
python -m src.meet_botOr with Docker:
docker build -t instant-meet-bot .
docker run --env-file .env -p 10000:10000 instant-meet-bot-
Sign up at render.com with GitHub.
-
New Web Service → Connect your repo.
-
Runtime: Python.
-
Build:
pip install -r requirements.txt. -
Start:
python meet_bot.py. -
Environment: Add
BOT_TOKEN. -
Secret Files: Add
credentials.jsonandtoken.json(paste contents). -
Deploy!
-
Set Webhook (replace ):
curl https://api.telegram.org/bot<TOKEN>/setWebhook?url=https://your-service.onrender.com/<TOKEN>
python meet_bot.py — test /meet in Telegram.
- Private chat:
/meetfor a link. - Any chat:
@botusername meetto send inline. - Links are open—share freely!
- Error 400? Check Google Cloud scopes (
meetings.space.createdenabled). - No response? Reset webhook with
/deleteWebhookcurl. - Host approval? Rooms are open by default—test with guests.
MIT License. Feel free to fork and improve!
Built by Mobin Sahidi. Contributions welcome!