Allow other Git forges than GitHub
JDeploy allows the user to publish applications on GitHub instead of NPM. For everyone who doesn't (want to) use GitHub, it would be very helpful if other Git forges were supported, such as
- Codeberg
- custom Forgejo servers
- gitlab.com
- custom GitLab servers
- Sourcehut
- SourceForge
This is a great suggestion. I recent asked ChatGPT what other deployment platforms would be suitable, and it came up with almost this same list.
I have a branch under way that refactors the code to make it easier to add additional publish targets, as well as adds support in the package.json for specifying which targets you want jdeploy to publish to.
For self-hosted servers, I would need to add an additional layer of project authentication to prevent malware. But things like SourceForge and GitLib should fit well into the current framework without much extra work.
Forgejo servers (including Codeberg) support OAuth2, if that helps. (The same goes for custom GitLab servers.) 😅