unjs / giget

✨ Download templates and git repositories with pleasure!
MIT License
443 stars 37 forks source link

Add Codeberg as a provider #174

Open joaopalmeiro opened 1 month ago

joaopalmeiro commented 1 month ago

Describe the feature

Hi! 👋

Similar to sourcehut, GitLab, etc., it would be positive to have the possibility to also download templates/repositories hosted on Codeberg.

For reference, I currently have a small CLI that uses the Codeberg API to download ZIP files from a user's repositories.

Additional information

pi0 commented 1 month ago

(PR is welcome to add! If you can also make a testing org/repo in there to e2e test it that would be amazing)

joaopalmeiro commented 1 month ago

Nice, thanks, @pi0!

Is this repository, https://codeberg.org/joaopalmeiro/template-figma-plugin-scriptsince, okay (since it is a real template) or should I create a dummy one?

pi0 commented 1 month ago

Sure! Also made unjs/template so you can use it in readme example like other providers 👍🏼