A lightweight, modern SaaS-style web application for freelancers to track time, earnings, expenses, and profit in real-time.
β¨ Features
Core Features (MVP)
-
β±οΈ Time Tracking System
- Start/Stop timer with real-time tracking
- Manual time entry for past sessions
- Track by project and task
- Session history with earnings calculation
-
π° Earnings Calculator
- Set hourly rates per project or global rate
- Auto-calculate earnings per session
- Track daily, weekly, and monthly earnings
- View earnings by project
-
πΈ Expense Tracker
- Add expenses with categories
- Categories: Tools, Subscriptions, Internet, Other
- View all expenses with dates
- Deduct expenses from earnings
-
π Profit Dashboard
- Summary cards showing:
- Total earnings
- Total expenses
- Net profit
- Profit margin percentage
- Total hours tracked
- Average hourly rate
- Visual charts:
- Earnings by project
- Weekly earnings breakdown
- Recent activity feed
-
π Project/Client Management
- Create projects with default hourly rates
- Track earnings per project
- View project statistics
- Easy project selection for time entries
-
π¨ Modern UI
- Responsive sidebar navigation
- Clean SaaS dashboard design
- Dark mode toggle
- Mobile-responsive layout
- Smooth animations and transitions
Advanced Features
- π Dark Mode Toggle - Switch between light and dark themes
- π₯ Data Export - Export all data as JSON for backup
- βοΈ Settings Panel - Configure default rates and preferences
- π± Mobile Optimized - Fully responsive design for phones and tablets
- πΎ Local Data Persistence - All data stored in browser localStorage
π Getting Started
Requirements
- Modern web browser (Chrome, Firefox, Safari, Edge)
- No backend server needed
- No build tools required
Installation
- Clone the repository
git clone <repository-url>
cd "Smart Freelance Work & Profit Tracker"
-
Open in browser
- Simply open
index.htmlin your web browser - Or use a local server:
# Using Python 3 python -m http.server 8000 # Using Python 2 python -m SimpleHTTPServer 8000 # Using Node.js (if installed) npx serve - Simply open
- Visit
http://localhost:8000
π How to Use
Start Tracking Time
-
Using the Timer
- Go to "Time Tracker"
- Select or create a project
- Add task description (optional)
- Set hourly rate (or use default)
- Click "Start" to begin
- Click "Stop" when done
- Session is automatically saved
-
Manual Entry
- Use the "Manual Entry" section
- Select project and date
- Enter start and end times
- Set hourly rate
- Click "Add Entry"
Manage Projects
- Go to "Projects" section
- Enter project name and default hourly rate
- Click "Create Project"
- View all projects with total earnings and hours tracked
- Delete projects as needed
Track Expenses
- Go to "Expenses" section
- Enter expense description and amount
- Select category
- Choose date
- Click "Add Expense"
- All expenses automatically deducted from profit
View Dashboard
- Summary Cards show key metrics at a glance
- Charts visualize earnings by project and weekly trends
- Recent Activity shows recent sessions and expenses
- All calculations update in real-time
Settings
- Set default hourly rate (used when no project-specific rate set)
- Toggle dark mode
- Export data as JSON backup
- Clear all data (with confirmation)
π Data Storage
All data is stored locally in your browser's localStorage:
- Sessions: Time entries with earnings data
- Expenses: Expense records with dates and categories
- Projects: Project/client information with rates
- Settings: User preferences and rates
Data persists across browser sessions but is not synced across devices.
π‘ Calculations
Earnings Formula
Earnings = Hours Worked Γ Hourly Rate
Net Profit Formula
Net Profit = Total Earnings - Total Expenses
Profit Margin
Profit Margin % = (Net Profit / Total Earnings) Γ 100
π¨ Design
- Modern SaaS Dashboard - Clean, professional appearance
- Responsive Design - Works on desktop, tablet, and mobile
- Dark Mode - Easy on the eyes in low-light environments
- Soft Shadows & Rounded Corners - Contemporary UI styling
-
Color-coded Cards - Easy visual identification
- π’ Green: Earnings
- π΄ Red: Expenses
- π΅ Blue: Profit
- π‘ Orange: Hours
π± Browser Compatibility
- β Chrome/Edge (latest)
- β Firefox (latest)
- β Safari (latest)
- β Mobile browsers (iOS Safari, Chrome Mobile)
π Deployment
Deploy to GitHub Pages
- Create a GitHub repository
- Push code to the
gh-pagesbranch - Enable GitHub Pages in repository settings
- Access at
https://github.com/Nasreen1717/Smart-Freelance-Work-Profit-Tracker
Deploy to other hosting
Works with any static hosting:
- Vercel
- Netlify
- AWS S3
- Firebase Hosting
- Any web server
π Privacy & Security
- All data stored locally in your browser
- No data sent to any server
- No tracking or analytics
- No account required
- Complete privacy and control
πΎ Backup & Export
- Go to Settings
- Click "Export Data (JSON)"
- Save the JSON file to your computer
- Import later by copying the file contents (future feature)
π Known Limitations
- Data is browser-specific (not synced across devices)
- Clearing browser cache will delete all data
- Limited to localStorage capacity (~5-10MB)
- No cloud sync or backup (use export feature)
π Future Enhancements
- Cloud synchronization
- Invoice generation
- Tax report generation
- Budget forecasting
- Team/multi-user support
- Mobile app
- Advanced analytics
- API integration
π License
MIT License - Feel free to use, modify, and distribute.
π Credits
Powered by arbeitrechner.de
GitHub Repository View on GitHub
Created as a lightweight, fast, and modern solution for freelance work tracking and profit calculation.
π§ Support
For issues, suggestions, or feedback:
- Create an issue in the repository
- Check existing issues for solutions
- Review the code comments for implementation details
π Version
Version: 1.0.1
Last Updated: 2026
Status: Production Ready
Start tracking your freelance work today and maximize your profit! πΌπ°
Top comments (0)