{"id":18544420,"url":"https://github.com/adarshpandey18/news-app","last_synced_at":"2026-05-08T15:33:44.631Z","repository":{"id":245560811,"uuid":"818622633","full_name":"adarshpandey18/News-App","owner":"adarshpandey18","description":"The News App is a mobile application developed using Flutter and Dart programming languages. It leverages the News API to fetch news articles categorized by topics and sources. Users can explore different categories, search for specific articles, and view detailed information about each article.","archived":false,"fork":false,"pushed_at":"2024-06-24T14:24:32.000Z","size":4782,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T06:07:47.999Z","etag":null,"topics":["dart","flutter","flutter-apps","http","news"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/adarshpandey18.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}},"created_at":"2024-06-22T11:13:32.000Z","updated_at":"2025-04-02T07:44:36.000Z","dependencies_parsed_at":"2024-06-22T20:00:05.988Z","dependency_job_id":"5d027d86-73e8-421e-9dab-26b3715126d3","html_url":"https://github.com/adarshpandey18/News-App","commit_stats":null,"previous_names":["adarshpandey18/news-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adarshpandey18/News-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshpandey18%2FNews-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshpandey18%2FNews-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshpandey18%2FNews-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshpandey18%2FNews-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adarshpandey18","download_url":"https://codeload.github.com/adarshpandey18/News-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshpandey18%2FNews-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32786019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dart","flutter","flutter-apps","http","news"],"created_at":"2024-11-06T20:16:28.362Z","updated_at":"2026-05-08T15:33:44.615Z","avatar_url":"https://github.com/adarshpandey18.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# News App\r\n\r\nA Flutter application for browsing news articles from various sources and categories.\r\n\r\n![App Demo](https://github.com/adarshpandey18/News-App/blob/main/assets/images/splah_screen_image.png) \u003c!-- Replace with a screenshot or GIF of your app --\u003e\r\n\r\n---\r\n\r\n## Table of Contents\r\n\r\n- [Overview](#overview)\r\n- [Folder Structure](#folder-structure)\r\n- [Features](#features)\r\n- [Screenshots](#screenshots)\r\n- [Installation](#installation)\r\n- [Usage](#usage)\r\n- [Technologies Used](#technologies-used)\r\n- [Contributing](#contributing)\r\n- [License](#license)\r\n\r\n---\r\n\r\n## Overview\r\n\r\nThe **News App** is a mobile application developed using Flutter and Dart programming languages. It leverages the News API to fetch news articles categorized by topics and sources. Users can explore different categories, search for specific articles, and view detailed information about each article.\r\n\r\n---\r\n\r\n## Folder Structure\r\n\r\nThe project follows a standard Flutter directory structure:\r\n```bash\r\nproject_root/\r\n│\r\n├── lib/\r\n│   ├── models/\r\n│   │   ├── category_news_model.dart\r\n│   │   ├── everything_news_model.dart\r\n│   │   ├── news_channel_headline.dart\r\n│   │   ├── news_model.dart\r\n│   │   └── search_news_model.dart\r\n│   ├── pages/\r\n│   │   ├── category_screen.dart\r\n│   │   ├── home_screen.dart\r\n│   │   ├── more_information.dart\r\n│   │   ├── search_screen.dart\r\n│   │   └── splash_screen.dart\r\n│   ├── repository/\r\n│   │   ├── categories_repository.dart\r\n│   │   ├── everything_repository.dart\r\n│   │   ├── news_repository.dart\r\n│   │   └── search_repository.dart\r\n│   ├── view_model/\r\n│   │   ├── category_news_view_model.dart\r\n│   │   ├── everything_news_view_model.dart\r\n│   │   ├── news_view_model.dart\r\n│   │   └── search_news_view_model.dart\r\n│   └── widgets/\r\n│       ├── category_tile.dart\r\n│       ├── drawer_tile.dart\r\n│       ├── every_news_tile.dart\r\n│       ├── heading.dart\r\n│       └── loading.dart\r\n│\r\n├── assets/\r\n│   └── images/\r\n│       └── splash_screen_image.png\r\n│\r\n├── pubspec.yaml\r\n└── main.dart\r\n```\r\n\r\n### Description of Folders:\r\n\r\n- **lib/models/**: Contains data models used throughout the app.\r\n- **lib/pages/**: Screens or pages of the app.\r\n- **lib/repository/**: Repository classes responsible for fetching data from APIs.\r\n- **lib/view_model/**: View models that manage the state and business logic of the app.\r\n- **lib/widgets/**: Reusable UI components or widgets used across different screens.\r\n\r\n---\r\n\r\n## Features\r\n\r\n- **Category Screen**: Browse news articles by different categories such as business, technology, sports, etc.\r\n- **Search Screen**: Search for specific news articles using keywords.\r\n- **Article Details**: View detailed information about each article including images, source, date, description, and content.\r\n- **Navigation Drawer**: Easy navigation through different sections of the app.\r\n- **URL Launcher Integration**: Utilizes url_launcher to open article URLs in the default browser.\r\n\r\n---\r\n\r\n## Screenshots\r\n\r\n\u003cdiv style=\"display: flex; flex-wrap: wrap; justify-content: space-around;\"\u003e\r\n    \u003cimg src=\"https://github.com/adarshpandey18/News-App/blob/main/screenshot/screenshot_1.jpg\" alt=\"Screenshot 1\" style=\"width: 30%; margin-bottom: 10px;\"\u003e\r\n    \u003cimg src=\"https://github.com/adarshpandey18/News-App/blob/main/screenshot/screenshot_2.jpg\" alt=\"Screenshot 2\" style=\"width: 30%; margin-bottom: 10px;\"\u003e\r\n    \u003cimg src=\"https://github.com/adarshpandey18/News-App/blob/main/screenshot/screenshot_6.jpg\" alt=\"Screenshot 6\" style=\"width: 30%; margin-bottom: 10px;\"\u003e\r\n    \u003cimg src=\"https://github.com/adarshpandey18/News-App/blob/main/screenshot/screenshot_3.jpg\" alt=\"Screenshot 3\" style=\"width: 30%; margin-bottom: 10px;\"\u003e\r\n    \u003cimg src=\"https://github.com/adarshpandey18/News-App/blob/main/screenshot/screenshot_4.jpg\" alt=\"Screenshot 4\" style=\"width: 30%; margin-bottom: 10px;\"\u003e\r\n    \u003cimg src=\"https://github.com/adarshpandey18/News-App/blob/main/screenshot/screenshot_5.jpg\" alt=\"Screenshot 5\" style=\"width: 30%; margin-bottom: 10px;\"\u003e\r\n\u003c/div\u003e\r\n\r\n\u003c!-- Add more screenshots if necessary --\u003e\r\n\r\n---\r\n\r\n## Installation\r\n\r\nTo get started with the News App, follow these steps:\r\n\r\n1. **Clone the repository:**\r\n\r\n   ```bash\r\n   git clone https://github.com/adarshpandey18/news_app.git\r\n   ```\r\n   \r\n2. **Navigate to the project directory:**\r\n\r\n   ```bash\r\n   cd news_app\r\n   ```\r\n3. **Install dependencies:**\r\n\r\n   ```bash\r\n   flutter pub get\r\n   ```\r\n4. **Run the app:**\r\n\r\n   ```bash\r\n   flutter run\r\n   ```\r\n## Usage\r\n\r\n1. **Launching the App:**\r\n   - Upon launching the app, the splash screen appears briefly.\r\n   - Afterward, the home screen displays top headlines from various news sources.\r\n\r\n2. **Navigating Categories:**\r\n   - Open the drawer menu to navigate through different categories such as Business, Sports, Technology, etc.\r\n   - Selecting a category updates the news feed with headlines relevant to that category.\r\n\r\n3. **Searching for News:**\r\n   - Navigate to the search screen by selecting the search option from the drawer menu.\r\n   - Enter keywords to search for specific news articles related to your interests.\r\n\r\n4. **Reading Articles:**\r\n   - Tap on any article from the list to view more details.\r\n   - Details include the article's source, publication date, a brief description, and a preview of the content.\r\n   - Tap \"Read More\" to open the full article in a web browser for detailed reading.\r\n\r\n\r\n\r\n## Technologies Used\r\n\r\n- **Flutter**\r\n- **Dart**\r\n- **HTTP package for API calls**\r\n- **Cached Network Image package for image looking**\r\n- **Url Launcher package**\r\n\r\n## Contributing\r\n\r\n- **Fork the repository**\r\n- **Create a new branch**\r\n    ```bash\r\n    git checkout -b feature-branch\r\n    ```\r\n- **Make the changes**\r\n- **Commit the changes**\r\n\r\n  ```bash\r\n    git push commit -m \"Add new feature\"\r\n    ```\r\n- **Push to the branch**\r\n\r\n  ```bash\r\n      git push origin feature-branch\r\n    ```\r\n - **Create a new Pull Request**\r\n    ## License\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE]() file for details.\r\n\r\n  \r\n\r\n  \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadarshpandey18%2Fnews-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadarshpandey18%2Fnews-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadarshpandey18%2Fnews-app/lists"}