You wake up, brew a fresh cup of coffee, and start your day. You're excited because today is the day you take control of your finances like never before. How? Say hello to DollarBot, your ultimate financial companion. With simple commands, it transforms your financial story into one of motivation, empowerment, and control.
And the best part? DollarBot is your financial sidekick, available exclusively on Telegram. That means no matter where you are, it's there to assist you in recording your expenses seamlessly.
Click here for a video overview!
https://github.com/KoruptTinker/DollarBot/blob/main/docs/video.mkv
DollarBot is a user-friendly Telegram bot designed to simplify your daily expense recording on a local system effortlessly.
With simple commands, this bot allows you to:
π Add/Record a new spending: As you sip that morning coffee, effortlessly log your expenses, no matter how small or significant. Every expense adds up, and DollarBot ensures you don't miss a thing.
π‘ Display your expenditure for the current day/month: With DollarBot, you're never in the dark about your spending. Get real-time insights on your daily and monthly expenses, motivating you to stay on budget and crush your financial goals.
π Show your spending history: Ever wondered where your money disappears to? DollarBot provides a detailed spending history that tells a story of your financial habits. It's a tale of lessons and opportunities for improvement.
ποΈ Delete/Erase all your records: Made an error or just want to start afresh? It's as simple as a command, a chance to correct your narrative without any hassle.
π§ Edit/Change any spending details: Life is full of surprises, and sometimes expenses change. DollarBot adapts with you, offering easy editing options to keep your story accurate.
π Set Your Budget: Take full control of your finances by defining and tracking your budget with DollarBot. It's the proactive step that puts you firmly in the driver's seat of your financial journey.
π Visualize your spending: Numbers can be daunting, but DollarBot transforms them into a captivating visual experience. Use the '/chart' option to see your spending as graphs and pie charts. This punchline to your story helps you spot trends and make smarter financial choices.
π Predict future expenses: Predict your next month's budget based on your current expenditure
Open up your terminal and let's get started:
git clone https://github.com/KoruptTinker/DollarBot/
chmod a+x setup.sh
bash setup.sh
There, all done!
The installation is easy for MacOS or on UNIX terminals.
With Windows, you'll need to use a platform to execute UNIX-like commands in order to execute the setup.sh bash script. Once in the platform, use the steps in the MacOS/Unix Section above to setup DollarBot.
We've used Cygwin, but there are more options like WSL that you can explore.
Additionally, find more hints on Cygwin installation here.
Once installed, run the following commands and follow the instructions on-screen to complete the installation.
chmod a+x setup.sh
bash setup.sh
There, all done!
Once you've executed setup.sh, and all dependencies have been installed, you can start running DollarBot by following these instructions.
Open the Telegram Desktop Application and sign in. Once inside Telegram, search for "BotFather". Click on "Start", and enter the following command:
/newbot
Follow the instructions on screen and choose a name for your bot (e.g., dollarbot
). After this, select a UNIQUE username for your bot that ends with "bot", for example: dollarbot_<your_nickname>
.
BotFather will now confirm the creation of your bot and provide a TOKEN to access the HTTP API - copy and save this token for future use. Make sure you save this tokenβ don't lose it!
In the repo directory (where you cloned it), run these commands.
β οΈ Never share your bot token with anyone!
Go to OAuth2 section in application settings
In OAuth2 URL Generator select:
bot
applications.commands
[2]Select required permissions for your bot
Use this invite link structure: https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=0&scope=bot%20applications.commands
Replace YOUR_CLIENT_ID
with your Application ID[3]
Open generated link in browser
Select target server (requires "Manage Server" permission)[2]
Click "Authorize"
Your bot should now appear in your server's member list!
Enable these in Bot settings if needed:
(a) grant execution access to a bash script
chmod a+x run.sh
(b) execute the run.sh bash script to start DollarBot
bash run.sh
./run.sh
In the Telegram app, search for your newly created bot by entering your UNIQUE username and open the bot you created.
Now, on Telegram, enter the "/start" or "menu" command, and you are all set to track your expenses!
Here's a quick overview of how each of the commands work. Simply enter /
View all the commands Dollarbot offers to manage your expenses
Click here to view the menu command GIF
It can be invoked by using /menu
command.
Display the list of commands.
Click here to view the help command GIF
It can be invoked by using /help
command.
Save history as PDF.
Click here to view the pdf command GIF
It can be invoked by using /pdf
command.
This option is for adding your expenses.
Click here to view the add command GIF
/add
command. This option gives user a graphical representation of their expenditures.
Click here to view the Analytics command GIF
/analytics
command.This option analyzes your recorded spendings and gives you a budget that will accommodate for them.
Click here to view the Predict command GIF
It can be invoked by using /predict
command.
This option is to give you the detailed summary of your expenditure with Date, time ,category and amount. A quick lookup into your spendings. Click here to view the History command GIF
It can be invoked by using /history
command.
This option is to Clear/Erase all your records. Click here to view the Delete command GIF
It can be invoked by using /delete
command.
This option helps you to go back and correct/update the missing details
Click here to view the Edit command GIF
/edit
command.This option is to set/update/delete the budget.
Click here to view the Budget command GIF
/budget
command.This option is to send you a email with you expenditures. Click here to view the SendEmail command GIF
It can be invoked by using /sendEmail
command.
This option is to get the weekly analysis report of the expenditure. Click here to view the Weekly command GIF
It can be invoked by using /weekly
command.
This option is to get the monthly analysis report of the expenditure Click here to view the Monthly command GIF
It can be invoked by using /monthly
command.
This option is to spending insights feature for users.
It can be invoked by using /insight
command.
Some possible future enhancements are as follows:
This project is licensed under the terms of the MIT license. Please check LICENSE for more details.
Brijesh Kumar Bhayana |
Vidhisha Kamat |
Abhishek Potdar |
For any support, email us at dollarbot_ncsu@protonmail.com