Skip to content

Talabov/Salary-Calculator-PRO-Anniversary-Edition-Free-Forever-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ผ Salary Calculator PRO โ€” Local Salary Breakdown Dashboard

Salary Calculator PRO is a self-hosted income and tax calculator built with FastAPI + Jinja2 + Chart.js.
It calculates your gross, tax, and net salary across multiple pay periods โ€” hourly, daily, weekly, monthly, quarterly, and yearly.
Fully offline. Private. Beautifully designed.


โœ… Key Features

  • ๐Ÿงฎ Multi-period salary breakdown โ€” converts between hour, day, week, month, quarter, and year
  • ๐Ÿ’ฐ Tax deduction logic โ€” input your tax percentage and get instant net values
  • ๐Ÿ•’ Custom working days โ€” supports any working schedule (default 21 days โ‰ˆ 5/2)
  • ๐ŸŒ— Modern UI โ€” glass-style dashboard with dark/light theme toggle
  • ๐Ÿ“˜ Built-in documentation โ€” /documentation route with examples and field explanations
  • โš™๏ธ Backend-powered โ€” all calculations handled by FastAPI for accuracy
  • ๐Ÿงพ Dynamic table output โ€” shows Gross, Tax, and Net across all periods
  • ๐Ÿ–ฅ Cross-platform start scripts โ€” ready for Windows, macOS, and Linux
  • ๐Ÿ’พ Offline-first โ€” runs locally with no cloud dependency

๐Ÿ“‚ Project Structure

C:.
โ”‚   .env
โ”‚   LICENSE.txt
โ”‚   requirements.txt
โ”‚   run.py
โ”‚   start_linux.sh
โ”‚   start_macos.sh
โ”‚   start_windows.bat
โ”‚
โ”œโ”€โ”€ app
โ”‚       calculators.py
โ”‚       main.py
โ”‚       models.py
โ”‚       tax_rates.json
โ”‚       __init__.py
โ”‚
โ”œโ”€โ”€ screens
โ”‚       1server start.png
โ”‚       2light front.png
โ”‚       3dark front.png
โ”‚       4calculated salary.png
โ”‚       5another calc.png
โ”‚       6docs page.png
โ”‚       7docs page.png
โ”‚
โ”œโ”€โ”€ static
โ”‚       app.js
โ”‚       style.css
โ”‚
โ””โ”€โ”€ templates
        docs.html
        index.html

๐ŸŒ Main Routes

URL Description
/ Main salary calculator dashboard
/calculate Backend API endpoint for calculations
/documentation Built-in documentation and usage examples

โš™๏ธ Requirements

Install dependencies:

pip install -r requirements.txt

Core dependencies:

  • fastapi
  • uvicorn
  • jinja2
  • httpx

๐Ÿš€ Run Locally

โ–ถ๏ธ Windows

start_windows.bat

๐Ÿ’ป macOS

chmod +x start_macos.sh
./start_macos.sh

๐Ÿง Linux

chmod +x start_linux.sh
./start_linux.sh

The app will automatically create a virtual environment,
install requirements, and open your browser at:
๐Ÿ‘‰ http://127.0.0.1:8000


๐Ÿง  How It Works

Field Description
Work Hours (per day) How many hours you work each day
Working Days per Month Number of working days per month (default 21 = 5/2 schedule)
Income Period The pay period you are entering (Hour, Day, Week, Month, etc.)
Income Amount Gross income for the selected period
Tax Rate (%) Your tax percentage (deduction from gross pay)

๐Ÿงพ Example Calculations

Example Input Output
Hourly employee 8h/day, $25/h, tax 15% โ‰ˆ $3,570 net/month
Monthly salary $5,000/month, tax 20% $4,000 net/month, $48,000/year
Shift schedule (3/3) 15 working days/month, $120/day, tax 20% โ‰ˆ $17,280 net/year

๐Ÿ–ฅ UI Overview

Screenshot Description
1server start.png Server start console
2light front.png Main calculator in light mode
3dark front.png Calculator in dark mode
4calculated salary.png Example of calculation results
5another calc.png Another salary comparison
6docs page.png Documentation page
7docs page.png Field guide and examples

๐Ÿช„ Start Scripts

File OS Description
start_windows.bat Windows Creates venv, installs deps, starts server, opens browser
start_macos.sh macOS Same as above (zsh)
start_linux.sh Linux Same as above (bash)

๐Ÿ“˜ Documentation

Access in-app documentation at:
๐Ÿ‘‰ http://127.0.0.1:8000/documentation

This page explains all fields, formulas, and real-world examples for hourly, monthly, and shift-based work.


๐Ÿ“ฌ Support

Email: talabov.ali72@gmail.com
Telegram: @talabovali


๐Ÿ’ก Salary Calculator PRO โ€” privacy-first, accurate, and effortlessly modern.

About

๐Ÿ’ฐ Salary Calculator PRO โ€” Offline Salary Breakdown Dashboard Calculate, analyze, and visualize your salary โ€” 100% offline. A modern FastAPI + Jinja2 dashboard that breaks down gross, tax, and net income instantly, with exportable reports and full local privacy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors