-
-
Notifications
You must be signed in to change notification settings - Fork 3
Description
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:
- https://gitlab.com/api/v4/topics?search=scoop-bucket
- https://gitlab.com/api/v4/projects?topic_id=111063
- https://gitlab.com/api/v4/topics?search=scoop
- https://gitlab.com/api/v4/projects?topic_id=26644
- https://gitlab.com/api/v4/search?scope=projects&search=scoop+bucket
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:
- https://codeberg.org/api/v1/repos/search?q=scoop-bucket&topic=true
- https://codeberg.org/api/v1/repos/search?q=scoop&topic=true
- https://codeberg.org/api/v1/repos/search?q=scoop%20bucket
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.