Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Briefly 🚀

Briefly is a privacy-first Android application designed to transform long-form news articles into concise, actionable insights. By leveraging on-device Generative AI, Briefly provides instant 3-point summaries of any article without your data ever leaving your device.

Android Version Kotlin Compose AI

✨ Features

  • On-Device Summarization: Uses Google's Gemini Nano via ML Kit to summarize articles locally.
  • Privacy by Design: No cloud processing. All AI inference happens on your phone's NPU/GPU.
  • Smart Scraper: Automatically extracts core content from news links using Jsoup.
  • Share-to-Brief: Share any link from Chrome or your favorite news app directly to Briefly for an instant summary.
  • Offline Insights: Once the system model is ready, summarize articles anywhere, even without an internet connection.
  • Insight Library: Save and manage your AI-generated summaries in a clean, searchable list.

🧠 The AI Engine

Briefly utilizes the ML Kit GenAI Summarization API to provide high-quality, local inference.

  • Powered by Gemini Nano: Optimized specifically for mobile hardware to ensure low latency and high efficiency.
  • System Integration: Leverages Android AICore, allowing the model to be managed and shared at the system level, which saves storage space and ensures the model is always up to date.
  • Streaming Responses: Summaries are generated in real-time chunk-by-chunk, making the UI feel fast and responsive.

🛠️ Tech Stack

  • UI: Jetpack Compose with Material 3.
  • Architecture: MVVM with Clean Architecture principles.
  • DI: Dagger Hilt for dependency injection.
  • Database: Room for local storage of articles and AI insights.
  • Async: Kotlin Coroutines & Flow for handling streaming AI responses and data streams.
  • Networking/Parsing: Jsoup for robust web content extraction.
  • Background Tasks: WorkManager for managing data synchronization and model status checks.
  • Image Loading: Coil for optimized image fetching and caching.

🚀 Getting Started

Prerequisites

  • Android Studio Ladybug | 2024.2.1 or newer.
  • A device that supports Gemini Nano (e.g., Pixel 8/9 series, Samsung S24/S25 series) with the latest AICore system service installed.
  • Android SDK 26 (Android 8.0) or higher.

Installation

  1. Clone the repository:
    git clone https://github.com/vigneshprabhudevs/Briefly.git
  2. Open the project in Android Studio.
  3. Sync Gradle and build the project.
  4. Ensure the Gemini Nano model is available via the app's Setup or Settings screen.

📸 Screenshots

Home Screen AI Summary Settings
Home Summary Settings

📜 License

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


Developed with ❤️ by Vignesh Prabhu

About

The Privacy-First, On-Device AI Curator.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages