{"repo":"ricardoboss/PubNet","free":true,"listed":false,"github":"https://github.com/ricardoboss/PubNet","clone":"git clone https://github.com/ricardoboss/PubNet.git","description":"Self-hosted Dart & Flutter package service","language":"C#","stars":47,"topics":["api","dart","dart-packages","package-manager","help-wanted","up-for-grabs"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"PubNet Self-hosted pub.dev alternative. Contents - Development - Architecture - Debugging - Contributions - Hosting - Using docker-compose.yml - Other approaches - License - Screenshots - LLM generated code --- Development The src folder of this repository contains a docker-compose.yml , which contains three services used to aid in developing PubNet : - database : A postgres database (user: pubnet , password: pubnet ) - adminer : A webinterface for managing the database - seq : A useful logging service The only service you need to start is database , though the other services help a lot. Note You can also use a database you set up on your host, but currently only postgres is supported. Architecture The solution consists of a few projects, three of them compose the whole PubNet service: - PubNet.API : provides the API used by the dart pub command line tool to fetch and upload new packages - PubNet.Frontend : contains a Blazor WebAssembly project to act as a frontend for the API - PubNet.Worker : executes tasks (scheduled and unscheduled) to analyze packages and do general housekeeping Debugging You can use any IDE you want, as long as it supports debugging .NET 10 or higher. For the PubNet.Frontend project, it is recommended to run it using dotnet watch to hot-reload changes. Database migrations This project uses Entity Framework Core with the code-first approach, so migrations are added using dotnet ef migrations add and executed using dotnet ef database update in the PubNet.","default_branch":null,"files":null,"tree":[],"storefront":"/r/ricardoboss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ricardoboss/PubNet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}