How I Built an Open-Source Attendance System That Eliminates Manual Tracking Forever
The Problem That Started It All
Picture this: You're managing a team of 50 employees, or running a school with hundreds of students. Every morning, you're dealing with:
- π Manual sign-in sheets that get lost or damaged
- β° Time-consuming roll calls that eat up valuable minutes
- π Spreadsheets that require constant manual updates
- π« No way to verify if someone actually showed up on time
- π No location tracking to prevent buddy punching
- π° Expensive proprietary software with monthly subscriptions
Sound familiar? I've been there too. That's why I decided to build something better β a complete, open-source attendance management system that's free, powerful, and actually works.
Introducing: Attendance with QR Code
I'm excited to share Attendance with QR Code β a comprehensive solution that combines a WordPress plugin with a Flutter mobile app to create the most efficient attendance tracking system you've ever used.
π Check out the repositories:
- WordPress Plugin: https://github.com/abedputra/Attendance-QR-Plugin-Wordpress
- Flutter Mobile App: https://github.com/abedputra/Attendance-QR-Flutter-App
Why This Solution is Different
π― It's Actually Complete
Unlike other solutions that require you to piece together multiple tools, this is a complete end-to-end system:
- WordPress Plugin: Handles all backend management, QR code generation, and reporting
- Flutter Mobile App: Provides a beautiful, native mobile experience for scanning and check-in/check-out
- Seamless Integration: They work together perfectly out of the box
π Zero Monthly Fees
This is 100% open-source under GPL v2 license. No subscriptions, no hidden costs, no vendor lock-in. You own it completely.
π Security First
- Server-side time validation (prevents time manipulation)
- GPS location tracking (prevents buddy punching)
- Security key authentication
- Input sanitization and SQL injection protection
- WordPress nonce verification
π± Modern Mobile Experience
The Flutter app isn't an afterthought β it's a first-class citizen with:
- Beautiful Material Design UI
- Offline support with local database
- Real-time GPS accuracy indicators
- One-tap check-in/check-out
- Complete attendance history
Key Features That Will Blow Your Mind
For Administrators (WordPress Plugin)
β¨ QR Code Generation
- Generate unique QR codes for each employee/student
- One-click download and print
- Automatic name validation
- Complete QR code history management
π Comprehensive Reporting
- Search by name or date range
- Automatic calculation of:
- Work hours
- Overtime hours
- Late arrivals
- Early departures
- Export to CSV or XLSX with one click
- Beautiful, responsive admin interface
βοΈ Flexible Configuration
- Set custom work hours
- Timezone support for accurate tracking
- WordPress user integration (import names automatically)
- Security key management
- Mobile app configuration QR code
For Employees/Students (Flutter Mobile App)
πΈ Lightning-Fast QR Scanning
- Instant QR code recognition
- Works in various lighting conditions
- Clear visual feedback
π GPS Location Tracking
- Automatic location recording
- Real-time accuracy indicator
- Prevents attendance fraud
- Location history for verification
πΎ Offline Support
- Works without internet connection
- Local database storage
- Automatic sync when online
- View complete attendance history offline
π¨ Beautiful User Experience
- Modern Material Design
- Intuitive navigation
- Progress indicators
- Clear success/error messages
- Splash screen and smooth animations
How It Works (The Magic Behind the Scenes)
Step 1: Setup (One-Time Configuration)
-
Install WordPress Plugin
- Upload to your WordPress site
- Activate and configure settings
- Set work hours and timezone
- Generate security key
-
Generate QR Codes
- Create unique QR codes for each person
- Print and distribute
-
Configure Mobile App
- Install the Flutter app
- Scan configuration QR code from WordPress
- App automatically connects to your server
Step 2: Daily Usage (Super Simple)
Check-In:
- Open mobile app
- Tap "Check-In"
- Wait for GPS to be accurate
- Scan personal QR code
- Done! β
Check-Out:
- Open mobile app
- Tap "Check-Out"
- Scan personal QR code
- Done! β
The system automatically:
- Records server-side time (can't be manipulated)
- Captures GPS location
- Calculates work hours
- Detects late arrivals or early departures
- Tracks overtime
Step 3: Reporting (Powerful Analytics)
- View all attendance records
- Filter by name or date
- Export to Excel/CSV
- See complete location history
- Track patterns and trends
Technical Excellence
WordPress Plugin Architecture
Built following WordPress coding standards:
- β Proper sanitization and escaping
- β Prepared statements (SQL injection protection)
- β Nonce verification
- β Capability checks
- β Clean, maintainable code structure
Flutter Mobile App Architecture
Built with modern Flutter best practices:
- β Clean architecture pattern
- β Null safety (Dart 3.0+)
- β Local SQLite database
- β RESTful API integration
- β Comprehensive error handling
- β Material Design 3
Security Features
- Server-Side Time: Date/time determined by WordPress server (prevents manipulation)
- Security Key: All API requests require authentication
- Location Verification: GPS coordinates recorded for every attendance
- Input Validation: Client and server-side validation
- SQL Injection Protection: All queries use prepared statements
Real-World Use Cases
π’ Small Business (10-50 Employees)
- Track daily attendance
- Calculate payroll hours
- Monitor punctuality
- Export reports for accounting
π« Schools & Universities
- Student attendance tracking
- Class participation records
- Parent notifications (can be extended)
- Academic reporting
π Manufacturing & Warehouses
- Shift management
- Overtime tracking
- Location verification
- Compliance reporting
π₯ Healthcare Facilities
- Staff attendance
- Shift scheduling
- Compliance documentation
- Time tracking for billing
Why Open Source Matters
I built this as open-source because:
- Transparency: You can see exactly how it works
- Customization: Modify it to fit your specific needs
- No Vendor Lock-In: You're not tied to a subscription
- Community: Others can contribute and improve it
- Learning: Developers can learn from the code
This is your system. Own it. Customize it. Make it yours.
Getting Started
For WordPress Plugin
# Clone the repository
git clone https://github.com/abedputra/Attendance-QR-Plugin-Wordpress.git
# Upload to WordPress
# Navigate to wp-content/plugins/
# Upload the attendance_with_qr_code folder
Full documentation: https://github.com/abedputra/Attendance-QR-Plugin-Wordpress
For Flutter Mobile App
# Clone the repository
git clone https://github.com/abedputra/Attendance-QR-Flutter-App.git
# Install dependencies
cd Attendance-QR-Flutter-App
flutter pub get
# Run the app
flutter run
# Build APK
flutter build apk --release
Full documentation: https://github.com/abedputra/Attendance-QR-Flutter-App
What's Next?
I'm continuously improving this system. Here's what's coming:
- π Push notifications for attendance reminders
- π§ Email reports automation
- π Advanced analytics dashboard
- π Multi-language support
- π Biometric authentication options
- π± iOS app optimization
- βοΈ Cloud sync enhancements
Want to contribute? Pull requests are welcome! Check out the contribution guidelines in the repositories.
The Bottom Line
If you're tired of:
- β Expensive attendance software
- β Manual tracking methods
- β Incomplete solutions
- β Security concerns
- β Poor mobile experience
Then this solution is for you.
It's free. It's open-source. It's complete. And it works.
Ready to Transform Your Attendance Management?
π Get Started Now:
- WordPress Plugin: https://github.com/abedputra/Attendance-QR-Plugin-Wordpress
- Flutter Mobile App: https://github.com/abedputra/Attendance-QR-Flutter-App
β Star the repositories if you find this useful β it helps others discover the project!
π Found a bug? Open an issue on GitHub.
π‘ Have a feature request? Let's discuss it!
π€ Want to contribute? Pull requests are always welcome!
About the Developer
Hi! I'm Abed Putra, a developer passionate about creating open-source solutions that solve real problems.
- π Website: https://abedputra.my.id
- π» GitHub: https://github.com/abedputra
I built this system because I needed it, and I'm sharing it because I believe in the power of open-source software to make everyone's life easier.
Final Thoughts
Attendance management doesn't have to be complicated or expensive. With the right tools, it can be:
- β‘ Fast: Check-in in seconds
- π Secure: Server-side validation and GPS tracking
- π Accurate: Automatic calculations, no human error
- π° Affordable: Completely free and open-source
- π― Complete: Everything you need in one solution
Try it today. You'll never go back to manual tracking.
If you found this article helpful, please share it with others who might benefit from this solution. And don't forget to star the GitHub repositories! β
Happy tracking! π

Top comments (0)