{"id":29213932,"url":"https://github.com/nafisrayan/mobile-browser-android-ios","last_synced_at":"2026-04-11T01:02:53.566Z","repository":{"id":219472268,"uuid":"749138163","full_name":"NafisRayan/Mobile-Browser-Android-iOS","owner":"NafisRayan","description":"This project is a mobile browser application developed using React Native, designed to provide users with a customized browsing experience on their mobile devices. The application incorporates various features to enhance user interaction and customization.","archived":false,"fork":false,"pushed_at":"2025-05-08T14:01:05.000Z","size":853,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T15:21:39.883Z","etag":null,"topics":["android","apk","app","async","browser","expo","ios","mobile","react","react-native","software","ui"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NafisRayan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-27T17:34:19.000Z","updated_at":"2025-05-08T14:01:10.000Z","dependencies_parsed_at":"2025-05-08T15:21:42.955Z","dependency_job_id":"720cc7ba-b87e-44fe-a5c2-51c51898a8c4","html_url":"https://github.com/NafisRayan/Mobile-Browser-Android-iOS","commit_stats":null,"previous_names":["nafisrayan/reactnative-browser","nafisrayan/mobile-browser-android-ios"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NafisRayan/Mobile-Browser-Android-iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NafisRayan%2FMobile-Browser-Android-iOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NafisRayan%2FMobile-Browser-Android-iOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NafisRayan%2FMobile-Browser-Android-iOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NafisRayan%2FMobile-Browser-Android-iOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NafisRayan","download_url":"https://codeload.github.com/NafisRayan/Mobile-Browser-Android-iOS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NafisRayan%2FMobile-Browser-Android-iOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263233955,"owners_count":23434890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","apk","app","async","browser","expo","ios","mobile","react","react-native","software","ui"],"created_at":"2025-07-02T23:35:03.070Z","updated_at":"2026-04-11T01:02:53.509Z","avatar_url":"https://github.com/NafisRayan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Browser\n\nA simple mobile browser application built using React Native and Expo, featuring core browsing functionalities, privacy controls, and theme support.\n\n## Features\n\n*   **Web Browsing:** Core web browsing powered by `react-native-webview`.\n*   **Tab Management:** Basic support for multiple tabs (conceptually managed, UI in `app/(tabs)/tabs.tsx`).\n*   **Bookmarks:** Save and manage bookmarks (`app/(tabs)/bookmarks.tsx`).\n*   **History:** View and clear browsing history (`app/(tabs)/history.tsx`).\n*   **Downloads:** View downloaded files (management logic assumed, UI in `app/(tabs)/downloads.tsx`).\n*   **Privacy Controls:**\n    *   Incognito Mode\n    *   Ad \u0026 Tracker Blocking (basic implementation)\n    *   Cookie Control (basic implementation)\n    *   HTTPS-Only Mode\n    *   Script Blocking (basic implementation)\n    *   Fingerprint Protection (basic implementation)\n    *   Clear Browsing Data\n*   **Theming:** Supports dynamic switching between Light and Dark themes. Toggle available in Privacy settings.\n\n## Project Structure\n\n```\n.\n├── app/                  # Expo Router file-based routing (screens)\n│   ├── (tabs)/           # Screens within the main tab layout\n│   │   ├── _layout.tsx   # Stack layout for tab screens\n│   │   ├── index.tsx     # Main browser screen\n│   │   ├── bookmarks.tsx # Bookmarks screen\n│   │   ├── downloads.tsx # Downloads screen\n│   │   ├── help.tsx      # Help \u0026 Feedback screen\n│   │   ├── history.tsx   # History screen\n│   │   ├── privacy.tsx   # Privacy \u0026 Settings screen (includes theme toggle)\n│   │   └── tabs.tsx      # Tab overview screen\n│   ├── _layout.tsx       # Root layout (providers, fonts, splash screen)\n│   └── +not-found.tsx    # Not found screen\n├── assets/               # Static assets (fonts, images)\n├── components/           # Reusable UI components\n│   └── browser/          # Browser-specific components\n│       ├── ChromeAddressBar.tsx\n│       ├── ChromeBottomBar.tsx\n│       ├── ChromeMenu.tsx\n│       ├── HomeScreen.tsx\n│       ├── BrowserView.tsx   # WebView wrapper\n│       ├── BookmarkItem.tsx\n│       ├── ChromeTabPreview.tsx\n│       └── TabPreview.tsx\n├── context/              # React Context API providers\n│   ├── BrowserContext.tsx  # Manages browser state (tabs, history, bookmarks, etc.)\n│   ├── PrivacyContext.tsx  # Manages privacy settings\n│   └── ThemeContext.tsx    # Manages light/dark theme state\n├── hooks/                # Custom React hooks\n│   ├── useFrameworkReady.ts\n│   ├── useResponsiveSize.ts\n│   └── useSafeArea.ts\n├── styles/               # Styling and theme configuration\n│   └── theme.ts          # Theme definitions (colors, typography, spacing) and common styles\n├── types/                # TypeScript type definitions\n└── utils/                # Utility functions\n    └── helpers.ts\n```\n\n## Key Components\n\n*   **`BrowserView`**: Wraps `react-native-webview` and injects basic privacy scripts. Handles navigation state.\n*   **`ChromeAddressBar`**: Displays the URL/search input field, loading indicator, security icon, and menu button.\n*   **`ChromeBottomBar`**: Provides navigation controls (Home, Bookmarks, Search, Tabs, Refresh).\n*   **`ChromeMenu`**: Modal menu providing access to various actions (New Tab, Incognito, History, Downloads, Settings, etc.).\n*   **`HomeScreen`**: Displayed when no URL is active, showing a search bar and shortcuts.\n*   **`ChromeTabPreview` / `TabPreview`**: Components for displaying tab previews in the tab switcher screen.\n*   **`BookmarkItem`**: Renders a single bookmark entry.\n\n## Contexts\n\n*   **`BrowserContext`**: Centralizes state management for browser features like tabs, active tab, history, bookmarks, downloads, and navigation actions.\n*   **`PrivacyContext`**: Manages the state of various privacy settings (Incognito, Ad Blocking, etc.) and provides functions to toggle them.\n*   **`ThemeContext`**: Manages the current theme ('light' or 'dark'), persists the selection using AsyncStorage, and provides the `useTheme` hook for components to access theme state and styles.\n\n## Styling\n\nThe application uses a custom theme system defined in `styles/theme.ts`. This file exports:\n*   A `theme` object containing static definitions for colors (primary, neutral, semantic), typography, spacing, radius, and shadows.\n*   Separate `light` and `dark` theme color palettes.\n*   A `commonStyles` function that takes the current theme mode (`isDarkMode`) and returns dynamically generated styles (backgrounds, text colors, icon colors, button styles, input styles) based on the active theme.\n\nComponents use the `useTheme` hook from `context/ThemeContext.tsx` to get the current theme mode (`isDarkMode`) and apply styles from `commonStyles(isDarkMode)` accordingly.\n\n## Setup and Running\n\n1.  **Install Dependencies:**\n    ```bash\n    npm install\n    ```\n2.  **Run the Application:**\n    ```bash\n    npx expo start\n    ```\n    Follow the instructions in the terminal to open the app on a simulator/emulator or scan the QR code with the Expo Go app on your device.\n\n## Key Dependencies\n\n*   Expo \u0026 Expo Router\n*   React Native\n*   React Native WebView\n*   Lucide React Native (Icons)\n*   @react-native-async-storage/async-storage (Theme persistence)\n*   @expo-google-fonts/inter (Font)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafisrayan%2Fmobile-browser-android-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnafisrayan%2Fmobile-browser-android-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafisrayan%2Fmobile-browser-android-ios/lists"}