This is an Android application that wraps the DeepL translation website in a WebView to provide a native-like experience. The app features text selection integration, dark mode support, popup mode for floating translations, and settings persistence. It uses a custom NestedScrollWebView to properly handle scrolling interactions within bottom sheets and other nested scrolling contexts. The architecture follows standard Android patterns with Activities, Services, and helper classes for specific functionalities like URL manipulation, cookie management, and WebView configuration.
Litube is an advanced Android WebView wrapper for YouTube, providing ad-free playback, native video/audio downloading, background play, Picture-in-Picture (PiP), SponsorBlock integration, and a customizable extension system. It uses a hybrid architecture where YouTube's mobile site is rendered in a WebView via `YoutubeFragment`, while video playback is handled natively using AndroidX Media3 (ExoPlayer) with custom `YoutubeHttpDataSource` for streaming. The app includes a full-featured download manager (multi-threaded chunked downloads, audio/video merging with MP4Parser), a queue system, a mini-player, and gesture controls. It reverse-engineers YouTube's streaming protocols using the NewPipe Extractor and generates PoTokens through a WebView-based mechanism to bypass bot detection. The application is structured as a single-module Gradle project with Dagger Hilt for dependency injection, MMKV for key-value storage, and Gson for serialization. It has extensive JavaScript injection (`init.js`) to manipulate the YouTube DOM for features like hiding Shorts, displaying dislikes, and injecting a custom settings page. While primarily an application, it includes data extraction components (stream catalog, delivery analysis) that could be considered a research layer for understanding YouTube's streaming infrastructure.
This is a macOS desktop application that serves as an unofficial wrapper for the Google Gemini web interface. Built with SwiftUI and WebKit, it provides a native macOS experience including a main window, floating chat bar, menu bar integration, and global keyboard shortcuts. The application loads the official Gemini website in a web view while adding desktop-specific features like window management, persistent preferences, and system integration. The architecture follows a coordinated Model-View-ViewModel pattern with clear separation between UI components (Views), state management (WebViewModel), and application coordination (AppCoordinator). Notable implementation details include sophisticated window positioning logic, automatic chat bar expansion based on webpage content detection, and thoughtful handling of web view events like external links and file downloads.