Skip to content

Felix-Hz/remind0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remind-o

A Telegram bot for expense tracking with TursoDB.

Me as you read
Expenses Tracking Bot

Prerequisites

  • Docker
  • Telegram Bot with @BotFather
  • Turso Database

Installation

Setup

  1. Install docker if not installed
sudo apt-get update
sudo apt-get install docker.io
  1. Ensure Docker Daemon is running
# check status
sudo systemctl status docker

# if its down
sudo systemctl start docker

# enable it to start on boot
sudo systemctl enable docker
  1. Navigate to the program
cd /your/path/to/remind0
  1. Build the docker image
sudo docker build -t remind0 .
  1. Run the container with the required token

Deployment

Run the container with your credentials now

docker run -d \
 -e TELEGRAM_BOT_TOKEN=<tg_api_token> \
 -e TURSO_DATABASE_URL=<db_dsn> \
 -e TURSO_AUTH_TOKEN=<auth_jwt> \
 -e ENV=production \
 --name expenses-telegram-bot \
 remind0

Additional

I've had issues with Docker not pulling through the images correctly. Can also grab them manually.

docker pull alpine:3.19
docker pull golang:1.24

About

Telegram bot to track my expenses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •