Skip to content

teklot/FluxSharp

Repository files navigation

FluxSharp

A cross-platform, DNS-based content filter for a cleaner and safer internet experience.

FluxSharp is a lightweight yet powerful application that protects your devices from unwanted content like ads, trackers, and malicious websites by filtering DNS traffic. It operates as a local VPN service on your device, ensuring that all your apps are protected.

✨ Features

  • System-Wide Protection: Filters DNS requests for all applications on your Windows and Android devices.
  • Customizable Blocklists: Easily block domains serving ads, trackers, malware, and adult content.
  • StevenBlack Blocklists Integration: Support for the industry-standard StevenBlack online blocklists for comprehensive protection.
  • Real-time Monitoring: View a live log of DNS queries to see what's happening on your network.
  • High Performance: Built with performance in mind to have minimal impact on your network speed.
  • Cross-Platform: Built with .NET and Avalonia UI for a consistent experience across platforms.

📱 Supported Platforms

  • Windows: Fully supported using the high-performance Wintun driver for traffic interception.
  • Android: Fully supported using Android's VpnService.
  • iOS & macOS: Planned for future releases.
  • Linux: Planned for future releases.

🚀 Getting Started

Prerequisites

  • .NET 9 SDK
  • For Windows development: Visual Studio 2022 with the ".NET desktop development" and "Mobile development with .NET" workloads.
  • For Android development: Make sure the Android SDK is set up.

Building from Source

  1. Get the source code: Download the source code from the repository.
  2. Restore dependencies:
    dotnet restore
  3. Build and run the application:
    • For Windows Desktop:
      dotnet run --project FluxSharp.Desktop
    • For Android: Connect your Android device or start an emulator, then run:
      dotnet build -t:Run -f net9.0-android --project FluxSharp.Android

🤝 Contributing

Contributions are welcome! If you'd like to help improve FluxSharp, please feel free to fork the repository, make your changes, and submit a pull request. If you find a bug or have a feature request, please open an issue.

📄 License

This project is licensed under the MIT License.