Skip to content

A Telegram bot built in Golang to help people remember to do their useful things

Notifications You must be signed in to change notification settings

k5sha/lifeEasier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Go Badge Telegram Badge Docker Badge

Life_Easier

A Telegram bot built in Golang to help people remember to do their useful things

You can try it here

How it works:

If you find something interesting on the internet or want to do something in the future, simply send the link or a message to the bot. It will store your request and send you the link or reminder at a later time, when you need it most.

How work

Database schema


db_schema

Config

  • config.yaml
telegram_bot_token: 'YOUR_TOKEN'
database_dsn: 'postgres://postgres:postgres@localhost:5432/your_db?sslmode=disable"'
send_interval: '24h'
min_hours_random: 24
max_hours_random: 72
  • env
TELEGRAM_BOT_TOKEN=<YOUR_TOKEN>
DATABASE_DSN=postgres://postgres:postgres@localhost:5432/your_db?sslmode=disable"
SEND_INTERVAL=24h
MIN_HOURS_RANDOM=24
MIN_HOURS_RANDOM=72

Startup

  • via Docker
docker compose -f docker-compose.dev.yml up -d

Nice to have features (backlog)

  • Use webhook for better performance
  • Implement reminders with custom intervals (e.g., daily, weekly)
  • Ability to add notes or tags to each reminder
  • Add beautiful message with a markdown
  • Ability to send multimedia reminders (e.g., images, videos, audio)
  • Another type of SQL or NOSQL db (mongo, mysql)
  • Command handler
  • Add settings where you can change interval when the bot can send you message
  • Add tests
  • Video guide

Author:

Yurii (k5sha) Yevtushenko

About

A Telegram bot built in Golang to help people remember to do their useful things

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published