Open StarsbySea opened 1 year ago
I'm all in for adding support for multiple Git providers, but there seems to be an extremely low number of Scoop users on these platforms. A site-wide search for "scoop" returns only 4-5 repos, both on GitLab and on Codeberg,
Supporting other hosting platforms is definitely on my radar. Thanks for the API endpoints, it will be a good starting point.
Hello Scoop maintainers,
I would like to suggest adding support for other code hosting platforms like GitLab and Codeberg to the Scoop Search functionality. This would help enrich the Scoop ecosystem by not limiting it to only GitHub (even though GitHub currently hosts the majority of Scoop Buckets).
I have gathered some search API endpoints for GitLab and Codeberg based on the
ScoopInstaller.AzureFunctions/src/ScoopSearch.Functions/settings.json
file. I hope this information will be helpful for the development, as I am not very proficient in C#.GitLab:
API Document: https://docs.gitlab.com/ee/api/search.html#scope-projects
Note that accessing some endpoints may require authorization/authentication:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.com/api/v4/search?scope=projects&search=scoop+bucket"
Codeberg.org:
API Document: https://codeberg.org/api/swagger#/repository/repoSearch
I hope you will consider adding support for these platforms to Scoop Search. Thank you for your hard work and dedication to the project!
Best regards.