Keeper is a small Telegram Business micro-CRM for ad buys, ambassadors, and channel integrations.
It listens to manager chats through Telegram Business bot updates, records deals from short service commands, sends reminders to a private admin chat, and keeps a lightweight spend/status report.
Telegram Business updates → Go command parser and deal service → PostgreSQL → Telegram reminders and reports.
A manager books a placement from a business chat. Keeper records its date and price, tracks payment and publication, and sends reminders and spend summaries to the admin chat.
Set KEEPER_BOT_TOKEN, KEEPER_ADMIN_CHAT_ID, and a strong POSTGRES_PASSWORD in .env. Connect the bot in Telegram Business settings.
cp .env.example .env
${EDITOR:-vi} .env
docker compose up --build -d/book 15.07 18:00 50usdt @channel
/move 16.07 20:00
/paid
/sent
/posted
/stats 12000 views 430 clicks 86 joins
/note next placement with discount
/bad did not post on time
/cancel reason
/today
/tomorrow
/pending
/stats_due
/deal 123
/report_month
/report_month 2026-07
The following snippet uses the command parser inside the repository.
package main
import (
"fmt"
"time"
"github.com/qzbxw/keeper/internal/keeper"
)
func main() {
now := time.Date(2026, 7, 7, 12, 0, 0, 0, time.UTC)
booking := keeper.ParseBook("15.07 18:00 50usdt @channel", now, time.UTC)
fmt.Println(booking.ChannelUsername, booking.PriceAmount, booking.PriceCurrency)
}