Skip to content

DevAyu-Codes/GoonFree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoonFree - Digital Discipline & Self-Control Protocol

"Discipline is the bridge between goals and accomplishment."

GoonFree is a privacy-focused, open-source Android application designed to help users reclaim their time and dopamine by blocking distracting apps and adult content. Unlike standard blockers, GoonFree is built with a "No Loopholes" philosophy, utilizing advanced Android services to prevent bypassing.


🛡️ Core Features

1. 🚫 Intelligent Blocker (Strict Mode)

  • App Limiter: Set daily time limits (in minutes) for specific apps. Once the limit is reached, the app shuts down instantly.
  • Universal Keyword Block: Blocks any website or app content containing restricted keywords (e.g., "porn", "xxx"). It scans screen content in real-time to protect you even in Incognito mode.
  • Zero-Tolerance Logic: If an app limit is set to 0 minutes, it cannot be opened at all.

2. 🥷 Stealth Mode (Disguise)

  • Hide the app from your launcher by disguising it as a common utility.
  • Available Disguises: Calculator, Notes, Clock, Calendar, Messages.
  • The app icon and name change in the system drawer, making it discreet.

3. 🔒 Ironclad Security

  • Biometric Lock: Secure the configuration settings with your Fingerprint or Face ID.
  • PIN Protection: Fallback 4-digit PIN required to change limits or uninstall.
  • Service Persistence: Uses a "Sticky" Foreground Service that automatically restarts if the system tries to kill it.

4. 🔥 Goal & Streak Tracker

  • Define your daily resolutions (e.g., "No Smoking", "Gym", "No Fap").
  • Daily Check-in system to mark your progress.
  • Visual streak counter to keep you motivated.

5. 💡 Daily Stoic Insights

  • Receive a new motivational quote every day on the home screen to keep your mindset focused.

🛠️ Technical Stack

  • Language: Kotlin
  • UI Framework: Jetpack Compose (Material 3)
  • Architecture: MVVM (Model-View-ViewModel)
  • Database: Room (SQLite)
  • Concurrency: Coroutines & Kotlin Flows
  • Background Tasks: WorkManager & Foreground Services
  • System Integration:
    • AccessibilityService: For real-time content scanning and app blocking.
    • UsageStatsManager: For tracking daily app usage time.
    • DeviceAdmin: To prevent unauthorized uninstallation.

🚀 Installation & Setup

  1. Download & Install the APK.
  2. Launch the App and complete the "Final Protocols" permission onboarding:
    • Usage Access: Required to count how many minutes you use apps.
    • Accessibility Service: Required to "see" restricted keywords and close apps.
    • Device Admin: Optional, but recommended to prevent easy uninstall.
    • Battery Optimization: Must be disabled to keep the blocker running 24/7.
  3. Set a PIN in the Settings tab immediately.
  4. Configure Limits in the Blocker tab.

⚠️ Privacy Policy

GoonFree is designed for Self-Sovereignty.

  • No Internet Required: The app works 100% offline.
  • No Data Collection: Your usage stats, blocked words, and streaks never leave your device.
  • Local Database: All data is stored locally in your phone's secure storage.

🤝 Contributing

Contributions are welcome! If you want to add features like a "Panic Button" or "Accountability Partner" integration:

  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

Distributed under the MIT License. See LICENSE for more information.


Built with ❤️ and Discipline by Ayu Kashyap

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Kotlin 100.0%