Manage your income, expenses, financial reports, and personal budget directly inside Telegram with a modern, secure, and intelligent finance management system.
Smart Finance Bot is a professional Telegram-based personal finance management system built with Java and Spring Boot.
The bot helps users efficiently manage daily income and expenses, generate financial reports, analyze spending habits, and improve budgeting through an intuitive Telegram interface.
Unlike traditional expense trackers, Smart Finance Bot offers real-time analytics, categorized financial reports, intelligent session management, and a seamless user experience directly inside Telegram.
β Simplify personal finance management
β Track daily income and expenses
β Provide detailed financial analytics
β Improve budgeting habits
β Generate professional financial reports
β Deliver a fast and secure Telegram experience
Easily record all sources of income.
Features include:
- Salary tracking
- Freelance income
- Bonuses
- Investments
- Custom income categories
- Automatic balance updates
Track every expense with category support.
Supported categories:
- Food
- Transport
- Shopping
- Bills
- Education
- Entertainment
- Healthcare
- Other
Generate powerful reports instantly.
Available reports:
- π Daily Report
- π Weekly Report
- π Monthly Report
- π Income Analysis
- π Expense Analysis
- π΅ Current Balance
- πΉ Net Profit
- π Category Statistics
Visual financial insights include:
- Largest expense category
- Largest income source
- Spending percentage
- Budget distribution
- Financial trends
- Income vs Expense comparison
Designed with scalable backend architecture.
Includes:
- Session Management
- User State Management
- Category Grouping
- Automatic Calculations
- Financial Summary Generation
- Smart Navigation
Built using Telegram Bot API.
Features:
- Interactive Inline Keyboards
- Multi-step conversations
- Fast response time
- Clean user interface
- Easy navigation
All data is securely stored inside PostgreSQL.
Tables:
- User ID
- Chat ID
- First Name
- Last Name
- Registration Date
- Transaction ID
- Amount
- Type
- Category
- Date
- User ID
Security features include:
- Telegram Token via Environment Variables
- Secure PostgreSQL Storage
- Hidden Configuration Files
- .gitignore Protection
- Safe Session Handling
Telegram User
β
Telegram Bot API
β
Controller Layer
β
Service Layer
β
Repository Layer
β
Spring Data JPA
β
Hibernate
β
PostgreSQL Database
- Java 25
- Spring Boot
- Spring Data JPA
- Hibernate
- Maven
- PostgreSQL
- Telegram Bots API
git clone https://github.com/your-username/Smart-Finance-Bot.gitCREATE DATABASE financebot;spring.datasource.url=jdbc:postgresql://localhost:5432/financebot
spring.datasource.username=postgres
spring.datasource.password=your_password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=falseNever upload your bot token to GitHub.
Windows
set TELEGRAM_TOKEN=your_tokenLinux / macOS
export TELEGRAM_TOKEN=your_tokenapplication.properties
telegram.bot.token=${TELEGRAM_TOKEN}mvn spring-boot:runor
mvn clean package
java -jar target/financebot.jarAdd screenshots here.
Example:
- Main Menu
- Add Income
- Add Expense
- Monthly Report
- Weekly Statistics
- Current Balance
- Category Analysis
| Feature | Status |
|---|---|
| Income Tracking | β |
| Expense Tracking | β |
| Category Management | β |
| Weekly Reports | β |
| Monthly Reports | β |
| Balance Calculation | β |
| Session Management | β |
| PostgreSQL Storage | β |
| Telegram Bot | β |
| Inline Keyboard UI | β |
Supported platforms:
- Railway
- Render
- Docker
- VPS
- AWS EC2
- DigitalOcean
- π± Web Dashboard
- π Interactive Charts
- π± Multi-Currency Support
- π AI Spending Prediction
- π Automatic Monthly Reports
- π€ Excel Export
- π₯ PDF Reports
- β Cloud Backup
- π₯ Multi-user Analytics
- π€ AI Financial Advisor
Dinora Sharipova
Software Engineering Student
Java Backend Developer
Spring Boot β’ PostgreSQL β’ REST APIs β’ Telegram Bots
Passionate about building scalable backend systems and intelligent software solutions.
If you found this project useful,
β Star this repository
π΄ Fork it
π€ Contribute
π¬ Share your feedback
Let's build smarter software together.