Donnie / Airstrip

A bot for personal financial record keeping, management and visualisation on Telegram
MIT License
0 stars 0 forks source link
bot finance golang sqlite3 telegram telegram-bot

Airstrip

Go Report Card Build Status Maintainability Test Coverage

Personal finance management bot on Telegram

Dev Setup

Start Project

Add your Telegram bot token to the .env.local file and then

make builddev

make dev

Prod Setup

Configure your bot .env file

Add your Telegram bot token and Postgres details to the .env file and then

Make Live

Update Make file live command with your server details and do

make live

DB

Migrate

Put your SQL in airstrip.sql and then

make migrate

Dump

Get a SQL dump in airstrip.sql file

make dump

Postgres Terminal

Tinker with the database

make sql

Features

/record - Record an expense or gain

/recur - Record an income or a charge

/cancel - Cancel an ongoing record or recur process

/delete - Delete any record or recur

/predict Jan 2025 - Get a prediction of your financial standing

/view Jan 2025 - Get a list of records pertaining to the month

/stand Account - Get a current standing of any account

/stand Account Mar 2022 - Get a month wise total effect on any account

/help - To see this list