Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sohailmahmud/github-search
A Flutter-based app that enables users to search for various resources on GitHub. The app is multifunctional and can perform different tasks.
https://github.com/sohailmahmud/github-search
Last synced: 26 days ago
JSON representation
A Flutter-based app that enables users to search for various resources on GitHub. The app is multifunctional and can perform different tasks.
- Host: GitHub
- URL: https://github.com/sohailmahmud/github-search
- Owner: sohailmahmud
- License: mit
- Created: 2023-11-29T17:44:09.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-24T11:15:44.000Z (11 months ago)
- Last Synced: 2024-10-11T10:43:04.796Z (26 days ago)
- Language: Dart
- Homepage:
- Size: 456 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Example GitHub Search app built in Flutter & RxDart
Simple app using the Flutter [`SearchDelegate`](https://api.flutter.dev/flutter/material/SearchDelegate-class.html) class to show a list of users matching the input search query:
The app uses `switchMap` & `debounce` from RxDart for a good user experience, without putting too much load on the server, or compromising bandwidth and battery life on the client.
Simple architecture diagram:
![](media/github-search-diagram.png)
- `GitHubSearchAPIWrapper`: pulls the data from the GitHub REST API
- `GitHubSearchResult`: contains the API response data
- `GitHubSearchDelegate`: shows the search UI with a grid of results
- `GitHubSearchService`: holds the logic for wiring up the API wrapper with the UI### [LICENSE: MIT](LICENSE.md)