Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Offline-first business management app for Linux & Android with biometric auth, dark mode, CRDT sync, system tray, global shortcuts, and more

License

Notifications You must be signed in to change notification settings

siva-sub/bizsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

71 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BizSync - Offline-First Business Management Platform for Singapore SMEs

Flutter Dart License Platform GST

πŸš€ Overview

BizSync is a comprehensive, offline-first business management solution designed specifically for Singapore's Small and Medium Enterprises (SMEs). Built with Flutter, it provides a modern, intuitive interface for managing invoices, inventory, payments, and more - all while working seamlessly offline.

✨ Key Features

  • πŸ“± Offline-First Architecture - Full functionality without internet connection using CRDT synchronization
  • πŸ’Ό Singapore-Specific Features - GST 9% calculations, PayNow QR integration, SGQR support
  • πŸ“Š Comprehensive Business Tools - Invoicing, inventory, CRM, tax management, and analytics
  • πŸ”’ Bank-Grade Security - End-to-end encryption, biometric authentication, secure data storage
  • 🌐 Multi-Platform - Single codebase for Android, iOS, Web, and Desktop
  • 🎨 Modern UI/UX - Material Design 3 with adaptive themes and Mesa-safe rendering

πŸ“‹ Table of Contents

🎯 Features

Core Business Modules

πŸ’° Invoicing & Billing

  • Create professional invoices with GST calculations
  • Multiple invoice templates
  • Automated invoice numbering
  • PDF generation and sharing
  • Payment tracking and reminders
  • Export to Excel/CSV formats

πŸ“¦ Inventory Management

  • Real-time stock tracking
  • Low stock alerts
  • Barcode scanning support
  • Product categorization
  • Stock movement history
  • Batch operations

πŸ’³ Singapore Payment Integration

  • PayNow QR code generation (Mobile, UEN, NRIC)
  • SGQR support for multiple payment methods
  • Payment status tracking
  • Transaction history
  • Automated reconciliation

πŸ“Š Tax Management

  • GST 9% automatic calculations
  • GST F5/F7 report generation
  • Tax period tracking
  • IRAS compliance features
  • Tax payment reminders
  • Multi-currency support

πŸ‘₯ Customer Relationship Management

  • Customer database with full details
  • Communication history
  • Credit limit management
  • Customer analytics & segmentation
  • Bulk SMS/Email capabilities
  • Behavioral insights

πŸ“ˆ Analytics & Reporting

  • Real-time business dashboard
  • Sales analytics with forecasting
  • Inventory reports
  • Financial statements
  • Customizable reports
  • Interactive data visualization

πŸ“± Mobile-Specific Features (NEW)

πŸ” Biometric Authentication

  • Fingerprint and Face ID support
  • Secure access to sensitive data
  • Configurable security levels
  • Session timeout management

πŸŒ™ Dark Mode

  • System-aware theme switching
  • Custom color schemes
  • OLED-optimized dark theme
  • Persistent preferences

πŸ“΄ Enhanced Offline Mode

  • Real-time connectivity monitoring
  • Automatic sync queue management
  • Conflict resolution UI
  • Offline operation indicators

πŸ‘† Advanced Gestures

  • Swipe to delete/archive
  • Pull-to-refresh everywhere
  • Tab swipe navigation
  • Customizable swipe actions

πŸ”” Smart Notifications

  • Payment reminders
  • Invoice due alerts
  • Low inventory warnings
  • Quiet hours support
  • Priority filtering

⚑ Performance Optimizations

  • 60fps smooth animations
  • Lazy loading lists
  • Image caching
  • Memory optimization

πŸ–₯️ Linux Desktop Features (NEW)

πŸ”§ System Integration

  • System tray with quick actions
  • Minimize to tray
  • Native notifications
  • Desktop widgets

⌨️ Productivity Shortcuts

  • Global keyboard shortcuts (Ctrl+N, Ctrl+F, etc.)
  • Quick navigation (Ctrl+Tab)
  • Window management shortcuts
  • Custom shortcut configuration

πŸͺŸ Multi-Window Support

  • Open invoices in separate windows
  • Detachable panels
  • Window position memory
  • Cascade/tile arrangements

πŸ“„ File System Integration

  • Drag & drop imports
  • Watch folders for auto-import
  • Native file dialogs
  • Recent files menu

πŸ–¨οΈ Professional Printing

  • Direct invoice printing
  • Print preview
  • Custom print layouts
  • Batch printing

πŸ’» Command Line Interface

# Create invoice from CLI
bizsync invoice --action create --customer "John Doe" --amount 1000

# Export data
bizsync export --type customers --format csv

# Batch operations
bizsync batch --file operations.json

πŸ” Advanced Search

  • Global search across all modules
  • Advanced filters
  • Search history
  • Saved searches
  • Real-time suggestions

Technical Features

  • Offline Synchronization: Conflict-free Replicated Data Types (CRDT) for seamless offline/online sync
  • Multi-User Support: Role-based access control with admin, manager, and staff roles
  • Data Security: SQLite encryption, biometric authentication, secure key storage
  • Backup & Restore: Automated cloud backups, local backup options
  • Performance Optimized: Lazy loading, efficient caching, optimized for low-end devices
  • Internationalization: Support for English, Chinese, Malay, and Tamil

πŸš€ Getting Started

Prerequisites

  • Flutter SDK 3.x or higher
  • Dart SDK 3.x or higher
  • Android Studio / Xcode (for mobile development)
  • Git

System Requirements

  • Development: 8GB RAM minimum, 16GB recommended
  • Storage: 10GB free space for development environment
  • OS: Windows 10+, macOS 10.14+, Ubuntu 20.04+

πŸ“₯ Installation

1. Clone the Repository

git clone https://github.com/siva-sub/bizsync.git
cd bizsync

2. Install Dependencies

flutter pub get

3. Generate Code

flutter pub run build_runner build --delete-conflicting-outputs

4. Run the Application

# For development
flutter run

# For specific platform
flutter run -d android
flutter run -d ios
flutter run -d chrome
flutter run -d linux
flutter run -d windows

πŸ› οΈ Development

Project Structure

bizsync/
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ core/           # Core functionality (database, utils, themes)
β”‚   β”‚   β”œβ”€β”€ desktop/    # Linux desktop-specific features
β”‚   β”‚   β”œβ”€β”€ mobile/     # Mobile-specific features
β”‚   β”‚   β”œβ”€β”€ offline/    # Offline sync functionality
β”‚   β”‚   └── security/   # Security & authentication
β”‚   β”œβ”€β”€ features/       # Feature modules (invoices, inventory, etc.)
β”‚   β”œβ”€β”€ shared/         # Shared widgets and components
β”‚   └── main.dart       # Application entry point
β”œβ”€β”€ assets/             # Images, fonts, and static files
β”œβ”€β”€ test/              # Unit and widget tests
β”œβ”€β”€ integration_test/   # Integration tests
└── docs/              # Documentation

Building for Production

# Android APK
flutter build apk --release

# Android App Bundle
flutter build appbundle --release

# iOS
flutter build ios --release

# Linux
flutter build linux --release

# Windows
flutter build windows --release

# macOS
flutter build macos --release

Running Tests

# Unit tests
flutter test

# Integration tests
flutter test integration_test

# Test coverage
flutter test --coverage

πŸ—οΈ Architecture

BizSync follows Clean Architecture principles with the following layers:

  1. Presentation Layer - Flutter UI with Riverpod state management
  2. Domain Layer - Business logic and use cases
  3. Data Layer - Repository pattern with local and remote data sources
  4. Core Layer - Shared utilities, themes, and configurations

Technology Stack

  • Frontend: Flutter, Material Design 3
  • State Management: Riverpod
  • Database: SQLite with encryption
  • Offline Sync: CRDT (Conflict-free Replicated Data Types)
  • Authentication: Biometric, PIN, Pattern
  • Payment Integration: PayNow API, SGQR standards
  • Desktop: System tray, native notifications, file system integration
  • Mobile: Push notifications, haptic feedback, quick actions

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Author

Sivasubramanian Ramanthan

πŸ™ Acknowledgments

  • Flutter team for the amazing framework
  • Singapore government for PayNow and SGQR standards documentation
  • Open source community for various packages used
  • Beta testers and early adopters

🚦 Project Status

Current Version: 1.0.0
Status: Production Ready
Last Updated: December 2024

Recent Updates

  • βœ… Added comprehensive mobile features (biometric auth, dark mode, gestures)
  • βœ… Implemented Linux desktop features (system tray, CLI, multi-window)
  • βœ… Enhanced offline synchronization
  • βœ… Improved performance and user experience
  • βœ… Added advanced analytics and reporting

Made with ❀️ in Singapore πŸ‡ΈπŸ‡¬