Live data from Hacker News

Show HN: Pages CMS – A CMS for GitHub

pagescms.org

51–60 of 122 posts

Re: Show HN: Pages CMS – A CMS for GitHub

#51
Good to see further development in this space. Would be interesting to see how it compares to Decap CMS https://decapcms.org/ and Static CMS https://www.staticcms.org/

Me personally I'd like to see something that supports easily creating and using different types of objects besides pages (such as: events, books, recipes, etc.), like content types and fields and views in wordpress or drupal, ideally aligned with schema.org like https://www.drupal.org/project/schemadotorg I think Hugo might support content types in YAML or something.

Re: Show HN: Pages CMS – A CMS for GitHub

#52
post #50

Any word on S3 media support? I have a few content heavy sites. And that would be essential to be practical to switch to.

I've started looking into the APIs for it, I am rebuilding a site that has a lot of heavy media so kind of need it too. Realistically, 4 to 6 weeks.

Re: Show HN: Pages CMS – A CMS for GitHub

#53

Good to see further development in this space. Would be interesting to see how it compares to Decap CMS https://decapcms.org/ and Static CMS https://www.staticcms.org/ Me personally I'd like to see something that supports easily creating and using different types of objects besides pages (such as: events, books, recipes, etc.), like content types and fields and views in wordpress or drupal, ideally aligned with schem…

You can configure whatever content type you want with nested fields, lists, etc. [1]

Disclaimer: I used to work a lot with Drupal 10+ years ago. I more or less wanted the same kinds of features in Pages CMS.

[1]: https://pagescms.org/docs/configuration/

Re: Show HN: Pages CMS – A CMS for GitHub

#55

Why do I have to give access to all my public and private repos instead of selecting the ones I want to give it access to?

I have an explanation in the FAQ section on the front page:

  Why do you need full access to all of my GitHub repositories?
  
  Well, the GitHub API kinda sucks when it comes to OAuth scoping. Pages CMS relies on the OAuth App flow, which doesn't allow for granular permissions. The alternative would be to use the GitHub App flow instead, but:
  
  It's a lot more complicated and would require us to store and orchestrate a lot more in the backend.
  
  Since we need to impersonate users (for things like commits), we anyway need to request user tokens, which technically would give us the same access as with the OAuth App flow.
  
  However, we do not store your GitHub OAuth tokens in the backend. The serverless functions used to facilitate the OAuth login pass the OAuth token to the front-end, allowing it to directly communicate with the GitHub API.
  
  And if you still don't trust the online version, you can deploy your own version for free in less than 10 minutes our Cloudflare Pages.
  
  Do let me know if I got some of this wrong (@hunvreus), and feel free to suggest improvements in the issue queue.
Additionally I've added the support for Fine-grained PATs [1], allowing you to use a repository specific token. You'll see the button that reads "Sign in with a Fine-Grained PAT" on the login screen.

[1] https://github.blog/2022-10-18-introducing-fine-grained-pers...

Re: Show HN: Pages CMS – A CMS for GitHub

#56

Why do I have to give access to all my public and private repos instead of selecting the ones I want to give it access to?

Check the FAQs at the bottom.

TLDR:

> Well, the GitHub API kinda sucks when it comes to OAuth scoping. Pages CMS relies on the OAuth App flow, which doesn't allow for granular permissions.

Re: Show HN: Pages CMS – A CMS for GitHub

#57

EDIT: I didn't have a `media` entry in my pages.yml, which meant the rich text editor wasn't loading (JS error was being thrown). When I added that entry, it started working! Brilliant work! I'm using Jekyll, with yaml frontmatter, and it's not clear how to specify the body. The documentation says that a rich text field could be set up with a "name" option (and gives "body") as an example but my Markdown files don't…

I rolled out a hotfix, this should be fixed. Thanks for the feedback.

Amazing, thank you.

Re: Show HN: Pages CMS – A CMS for GitHub

#58

Looks very nice. Any comparisons against other github based CMS? Personally I've been using Keystatic.

I've not tried it yet, but isn't that running on your local machine? Looks pretty good though.

there is a cloud version for free up to three users that supports multiple simultaneous editors. paid beyond that.

Re: Show HN: Pages CMS – A CMS for GitHub

#60

Earlier quoted context omitted.

I've not tried it yet, but isn't that running on your local machine? Looks pretty good though.

there is a cloud version for free up to three users that supports multiple simultaneous editors. paid beyond that.

Nice, thanks for the tip. Signing up.
Post reply on HN