{"id":14968253,"url":"https://github.com/inoles/hackernews","last_synced_at":"2025-10-26T02:31:06.044Z","repository":{"id":194205053,"uuid":"688636200","full_name":"iNoles/HackerNews","owner":"iNoles","description":"A .NET MAUI app for displaying the top posts on Hacker News  that demonstrates Firebase Realtime Database","archived":false,"fork":false,"pushed_at":"2025-01-14T21:33:19.000Z","size":232,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T13:43:06.572Z","etag":null,"topics":["csharp8","hacker-news","iasyncenumerable","maui","net","net-maui","xamarin","xamarin-android","xamarin-ios"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iNoles.png","metadata":{"files":{"readme":"README.md","changelog":"NewsService.cs","contributing":null,"funding":null,"license":"LICENSE","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":"2023-09-07T19:14:56.000Z","updated_at":"2025-01-14T21:33:21.000Z","dependencies_parsed_at":"2023-10-12T05:27:10.254Z","dependency_job_id":"f9d057a3-1461-4e75-9400-85bd44fb9cbf","html_url":"https://github.com/iNoles/HackerNews","commit_stats":{"total_commits":44,"total_committers":2,"mean_commits":22.0,"dds":"0.15909090909090906","last_synced_commit":"f4877a42eb88e9f0f1c86292da5e479c275b4737"},"previous_names":["inoles/hackernews"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iNoles%2FHackerNews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iNoles%2FHackerNews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iNoles%2FHackerNews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iNoles%2FHackerNews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iNoles","download_url":"https://codeload.github.com/iNoles/HackerNews/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238247940,"owners_count":19440879,"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":["csharp8","hacker-news","iasyncenumerable","maui","net","net-maui","xamarin","xamarin-android","xamarin-ios"],"created_at":"2024-09-24T13:39:35.746Z","updated_at":"2025-10-26T02:31:06.018Z","avatar_url":"https://github.com/iNoles.png","language":"C#","readme":"# Hacker News App\n\n![.NET MAUI](https://img.shields.io/badge/.NET_MAUI-512BD4?style=flat\u0026logo=dotnet\u0026logoColor=white)\n![C#](https://img.shields.io/badge/C%23-239120?style=flat\u0026logo=c-sharp\u0026logoColor=white)\n![MVVM](https://img.shields.io/badge/MVVM-CommunityToolkit-blue)\n![Hacker News API](https://img.shields.io/badge/API-Hacker_News-orange)\n[![.NET MAUI](https://github.com/iNoles/HackerNews/actions/workflows/maui.yml/badge.svg)](https://github.com/iNoles/HackerNews/actions/workflows/maui.yml)\n\nThis application fetches and displays the top stories from the Hacker News API, allowing users to stay updated with the latest tech news.\n\n## Features\n\n- Fetches the latest top stories from Hacker News (up to 500 stories)\n- Displays story titles, authors, and scores\n- Sorts stories by score in descending order using **LINQ**\n- Easy to use and visually appealing interface\n- Error handling for network and data issues\n\n## Technologies Used\n\n- [.NET MAUI](https://dotnet.microsoft.com/apps/maui) for cross-platform app development\n- [Firebase](https://firebase.google.com/) for real-time data storage and retrieval\n- [CommunityToolkit.Mvvm](https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/overview) for MVVM architecture\n- [System.Text.Json](https://learn.microsoft.com/en-us/dotnet/api/system.text.json) for JSON serialization and deserialization\n- [Microsoft.Extensions.Logging](https://learn.microsoft.com/en-us/dotnet/core/extensions/logging) for logging errors and important information\n- [System.Linq.Async](https://github.com/dotnet/reactive) for asynchronous LINQ operations on `IAsyncEnumerable`\n- **IAsyncEnumerable** for improved performance when fetching top stories from the Hacker News API\n\n## Installation\n\nTo get started with the Hacker News App, follow these steps:\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/iNoles/HackerNews.git\n   cd HackerNews\n   ```\n2. Open the project in your preferred IDE (e.g., Visual Studio).\n3. Restore the NuGet packages:\n    ```bash\n    dotnet restore\n    ```\n4. Build the project:\n    ```bash\n    dotnet build\n    ```\n5. Run the application:\n    ```bash\n    dotnet run\n    ```\n\n## Usage\n\n1. Launch the application.\n2. The app will automatically fetch the top stories from Hacker News.\n3. View the stories in a sorted list, with the ability to refresh the list to get the latest stories.\n\n## Screenshots\n![Hacker News App Desktop](https://github.com/iNoles/HackerNews/assets/49764/9f4ebdcb-014b-4979-a244-f81c6903f89b)\n\n## Contributing\n\nContributions make the open-source community an amazing place to be, learn, inspire, and create. Any contributions you make are greatly appreciated.\n\n- Fork the project.\n- Create your feature branch (e.g., ``git checkout -b feature/AmazingFeature``).\n- Commit your changes (e.g., ``git commit -m 'Add some AmazingFeature'``).\n- Push to the branch (e.g., ``git push origin feature/AmazingFeature``).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finoles%2Fhackernews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finoles%2Fhackernews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finoles%2Fhackernews/lists"}