News for hackers. Stuff that matters.
Re:Show HN: Pages CMS – A CMS for GitHub by sneak on Thursday February 22, 2024 @10:55AM (#39468926)
This looks cool but I moved all my repos to a self-hosted forge when GitHub openly and notoriously refused to stop collaborating with ICE (that runs concentration camps in Texas).

It would be nice to have this support generic/arbitrary git servers. I’ve been feeling this pain point for a while and have been considering building something like this myself.

Re:Show HN: Pages CMS – A CMS for GitHub by hunvreus on Thursday February 22, 2024 @11:45AM (#39469651)
I am looking into GitLab and Bitbucket, but I don't plan on supporting generic Git, unless I can find a way to slap an API in front of it. I'll add that to the backlog.
Re:Show HN: Pages CMS – A CMS for GitHub by irgeek on Friday February 23, 2024 @02:08AM (#39477782)
Maybe you could add support for Gitea? It’s a pretty handy way to slap an API in front of git and it’s much simpler to self host than GitLab.
Re:Show HN: Pages CMS – A CMS for GitHub by hunvreus on Friday February 23, 2024 @02:23AM (#39477853)
Aspects of the API look fairly similar to GitHub actually. I'll look into it.
Re:Show HN: Pages CMS – A CMS for GitHub by whizzter on Friday February 23, 2024 @05:14AM (#39478939)
How much of your API is dependant on GIT like semantics and how much could work with "plain files" storage?

It's neat to be able to transplant a CMS on top of other services that don't necessarily deploy by CI pipes, I made a DAV plugin(basic auth) for Netlify (back before the forks) so as long as a server supported listing(only DAV dependency really), GET, PUT and DELETE you could just plunk down the CMS files somewhere and point to the DAV share.

Re:Show HN: Pages CMS – A CMS for GitHub by hunvreus on Friday February 23, 2024 @06:06PM (#39487301)
I believe Netlify CMS has an actual backend interfacing with the various Git systems they supported. Pages CMS is different in that it's a pure front-end app. I have a couple tiny serverless functions to help authenticate you with GitHub, but then after that there is no backend involved. That means I need some API for the front-end to interact with, at least for now.