{"id":48578129,"url":"https://github.com/amanbig/blog_app","last_synced_at":"2026-04-08T16:04:07.156Z","repository":{"id":251888410,"uuid":"838749055","full_name":"Amanbig/blog_app","owner":"Amanbig","description":"A Flutter application that fetches and displays a list of blogs using a API. The app supports features such as searching for blogs, favoriting blog posts, and refreshing the list of blogs.","archived":false,"fork":false,"pushed_at":"2024-12-27T07:15:15.000Z","size":278,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-30T02:44:33.399Z","etag":null,"topics":["dart","flutter","flutter-bloc","http"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Amanbig.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-08-06T09:09:25.000Z","updated_at":"2024-12-27T07:15:19.000Z","dependencies_parsed_at":"2024-08-06T11:09:40.152Z","dependency_job_id":"a66770e3-f27a-4364-9708-095f68e60c59","html_url":"https://github.com/Amanbig/blog_app","commit_stats":null,"previous_names":["amanbig/blog_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Amanbig/blog_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanbig%2Fblog_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanbig%2Fblog_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanbig%2Fblog_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanbig%2Fblog_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amanbig","download_url":"https://codeload.github.com/Amanbig/blog_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanbig%2Fblog_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-bloc","http"],"created_at":"2026-04-08T16:04:06.944Z","updated_at":"2026-04-08T16:04:07.142Z","avatar_url":"https://github.com/Amanbig.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog Explorer\n\nA Flutter application that fetches and displays a list of blogs using a API. The app supports features such as searching for blogs, favoriting blog posts, and refreshing the list of blogs. \n\n## Features\n\n- **Blog Listing**: Fetch and display a list of blogs from API.\n- **Search**: Search for blogs by title.\n- **Favorites**: Mark blogs as favorites and persist them locally using Hive.\n- **Refresh**: Pull-to-refresh to reload the list of blogs.\n- **Error Handling**: Display error messages and retry options.\n\n## Installation\n\n1. **Clone the Repository**:\n\n    ```sh\n    git clone https://github.com/Amanbig/blog_app.git\n    ```\n\n2. **Navigate to the Project Directory**:\n\n    ```sh\n    cd blog_app\n    ```\n\n3. **Install Dependencies**:\n\n   Make sure you have Flutter and Dart SDK installed. Run the following command to get the project dependencies:\n\n    ```sh\n    flutter pub get\n    ```\n\n4. **Create Environment File**:\n\n   Create a `.env` file in the root directory of the project and add your API credentials:\n\n    ```plaintext\n    API_URL=https://api.example.com\n    API_KEY=your_api_key_here\n    ```\n\n5. **Run the Application**:\n\n   Start the application using:\n\n    ```sh\n    flutter run\n    ```\n\n## Usage\n\n- **Blog List Screen**: Shows a list of blogs with an option to search and filter.\n- **Blog Detail Screen**: Tap on a blog to view details.\n- **Favorite Blogs**: Tap the heart icon to add/remove blogs from favorites.\n\n## Project Structure\n\n- `lib/`\n    - `blocs/`: Contains the Bloc logic for managing state.\n    - `components/`: Reusable widgets like `Blogs` and `SearchBar`.\n    - `screens/`: Screens such as `BlogListScreen` and `BlogDetailScreen`.\n    - `services/`: API service logic.\n    - `main.dart`: Entry point of the application.\n- `pubspec.yaml`: Project dependencies and configuration.\n\n## Dependencies\n\n- `flutter_bloc`: State management with BLoC pattern.\n- `flutter_dotenv`: Managing environment variables.\n\n## Troubleshooting\n\n- **FileNotFoundError**: Ensure the `.env` file is located in the root directory and properly formatted.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request to improve the project.\n\n## Acknowledgments\n\n- Thanks to the Flutter community for the tools and libraries used in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanbig%2Fblog_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famanbig%2Fblog_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanbig%2Fblog_app/lists"}