Skip to content

A Telegram bot to manage your Coolify applications — list, restart, deploy, check logs, and more via inline buttons. Built with Go and gogram

License

Notifications You must be signed in to change notification settings

AshokShau/coolify-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 Coolify Manager Bot

A modern Telegram bot to manage your Coolify applications via buttons — no CLI, no dashboards.

Built with gogram, powered by Coolify's REST API.


⚙️ Features

  • 📋 List all Coolify projects
  • 🔄 Restart, 🚀 Redeploy, 🛑 Stop, ❌ Delete apps
  • ℹ️ Check project status and 📜 View logs
  • 🔒 Developer-only features (via DEV_IDS)
  • ⚡ Inline button-based UI — no typing needed

🚀 Deploy Locally

1. Clone the repo

git clone https://github.com/AshokShau/coolify-telegram-bot
cd coolify-telegram-bot

2. Setup environment variables

Create a .env file using the template:

cp sample.env .env

Then edit .env:

API_ID=
API_HASH=
API_URL=https://app.coolify.io
API_TOKEN=your_coolify_token
TOKEN=your_telegram_bot_token
DEV_IDS=123456789

3. Run the bot

go run main.go

📄 Coolify API Endpoints Used

This bot integrates with Coolify using:

  • GET /applications
  • GET /applications/:uuid
  • GET /applications/:uuid/logs
  • GET /applications/:uuid/envs
  • GET /applications/:uuid/start
  • GET /applications/:uuid/restart
  • GET /applications/:uuid/stop
  • DELETE /applications/:uuid

All requests are authenticated via a Bearer token.


📦 Tech Stack


🛠️ TODO

Future features and improvements planned:

  1. 🔁 Paginated project list with < Prev | 1 | 2 | 3 | Next > buttons
  2. 🧠 Cache project data to reduce API calls
  3. Add support for more endpoints like Deployments, Environments, Databases and more.

🙋‍♂️ Support


📜 License

MIT — do what you want, just give credit. © 2025 AshokShau

About

A Telegram bot to manage your Coolify applications — list, restart, deploy, check logs, and more via inline buttons. Built with Go and gogram

Topics

Resources

License

Stars

Watchers

Forks