Currently, Netlify CMS works only with GitHub, while for many companies this might be not the best option. It would be great if Netlify CMS can also support Gitea (https://github.com/go-gitea/gitea)
@a-akimov NetlifyCMS currently has an option to register your own backend and be able to add your own backend project.
I created a shell example of the backend for file-system in this repository.
Anyone can make a backend the same way as GitHub by using the code in the GitHub backend as an example and replacing the src in my backend example.
There will be NetlifyCMS supported backends going forward, but Gitea would probably need to be a community supported backend in the future.
@erquhart do you think this issue should be a NetlifyCMS maintained feature (mono-repo) or would this be something we leave open for someone to take on outside the project as I suggested?
Community, but we can leave this open for visibility.
Gitea now supports OAuth (will be officially released soon, but for those running nightlies you can use it already): https://github.com/go-gitea/gitea/pull/5378 so this may be easier to implement.
Is there any news on this? Did some subscriber of this issue maybe already work out something for his Gitea installation?
This is a good reason why gitea does not have pages like gitlab or github has.
No news yet @gsantner. As @talves mentioned, it comes down to creating a backend for Gitea, similar to the backends for GitHub, GitLab, and Bitbucket.
I sent a PR https://github.com/igk1972/netlify-cms-oauth-provider-go/pull/9 but don't know that's the right place.
Nice! If that works, it will allow that library to handle authentication for Gitea, but you would still need a Gitea backend - check out the gitlab backend to see what that looks like:
https://github.com/netlify/netlify-cms/tree/master/packages/netlify-cms-backend-gitlab
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Any update on this?
Hi @crone11, best way to get this prioritized is up vote the issue as we try to do the most up voted ones first.
Another option is to submit it as a PR (you can use https://github.com/netlify/netlify-cms/pull/3318) as a reference.
At the current time is Gitlab the only open source solution and that one is slow and I personally dislike it.
The goal of this project is to open source the "CMS for static page" idea and so I think it is important to add choice to the backend.
Really hope this becomes realized.
Hi @ShalokShalom we would gladly accept a contribution for this. We have one ongoing for Azure:
https://github.com/netlify/netlify-cms/pull/3318
One could use the GitHub one as a reference https://github.com/netlify/netlify-cms/tree/master/packages/netlify-cms-backend-github
Any update ?!
Hi @DevAhmedRagab, see my comment here. It would be great if someone can continue the work done in https://github.com/netlify/netlify-cms/pull/4384
Most helpful comment
I sent a PR https://github.com/igk1972/netlify-cms-oauth-provider-go/pull/9 but don't know that's the right place.