plentico / plenti

Static Site Generator with Go backend and Svelte frontend
https://plenti.co
Apache License 2.0
985 stars 50 forks source link

Gitea backend for CMS #271

Open jimafisk opened 1 year ago

jimafisk commented 1 year ago

The people have spoken and they want Gitea backend support for the CMS: https://twitter.com/plentico/status/1615857323292987397

Blocker: Can't commit multiple files to a generic endpoint using the API: https://github.com/go-gitea/gitea/issues/14619

Per these API Docs there are only the 2 following methods for manipulating repo files:

jimafisk commented 1 year ago

We've also been having trouble getting PKCE to work clientside: https://discourse.gitea.io/t/oauth-pkce-example/6573

Sounds like you can't omit the client_secret in Gitea currently: https://github.com/go-gitea/gitea/issues/17107

jimafisk commented 1 year ago

There's been progress on both the API endpoint and PKCE client secret: https://github.com/decaporg/decap-cms/issues/1109#issuecomment-1561721560 :tada: