From 15cc040d44605938db44414a459cfc1126a943c8 Mon Sep 17 00:00:00 2001 From: drifty Date: Wed, 20 Aug 2025 23:46:18 +0530 Subject: [PATCH] Update README.md --- README.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 49488e1..99fda8b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,62 @@ -# birthday-bot -A simple Telegram bot that sends notifs for birthdays on Telegram and Apprise endpoints +## Birthday Bot - Apprise Notifications for Configured Birthdays + + Get notified for each and every birthday on multiple platforms! + +
+ +[![Pulls](https://img.shields.io/docker/pulls/driftywinds/birthday-bot.svg?style=for-the-badge)](https://img.shields.io/docker/pulls/driftywinds/birthday-bot.svg?style=for-the-badge) + +Also available on Docker Hub - [```driftywinds/birthday-bot:latest```](https://hub.docker.com/repository/docker/driftywinds/birthday-bot/general) + +Commands this bot supports for each user: - + +**Birthday Management:** +- `/add_birthday` - Add a new birthday +- `/list_birthdays` - View all birthdays +- `/remove_birthday` - Remove a birthday + +**Notification Endpoints:** +- `/add_endpoint` - Add Apprise notification endpoint +- `/list_endpoints` - View all endpoints +- `/remove_endpoint` - Remove an endpoint + +**Reminders:** +- `/add_reminder` - Add reminder schedule +- `/list_reminders` - View all reminders +- `/remove_reminder` - Remove a reminder + +**Settings:** +- `/set_timezone` - Set your timezone +- `/test_notifications` - Test your notification setup + +**Birthday Format:** Use MM-DD format (e.g., 03-15 for March 15) +**Apprise Format:** Any valid Apprise URL (telegram, discord, email, etc.) [(Check available endpoints and formats here)](https://github.com/caronc/apprise?tab=readme-ov-file#supported-notifications) + +Examples: +- Telegram: `tgram://bot_token/chat_id` +- Discord: `discord://webhook_id/webhook_token` +- Email: `mailto://user:pass@smtp.gmail.com` + +### How to use: - + +1. Download the ```compose.yml``` and ```.env``` files from the repo [here](https://github.com/driftywinds/birthday-bot). +2. Customise the ```.env``` file and use your BotFather token. +3. Run ```docker compose up -d```. + +
+ +You can check logs live with this command: - +``` +docker compose logs -f +``` +### For dev testing: - +- have python3 installed on your machine +- clone the repo +- go into the directory and run these commands: - +``` +python3 -m venv .venv +source .venv/bin/activate +pip install --no-cache-dir -r requirements.txt +``` +- configure ```.env``` variable. +- then run ```python3 bot.py```