{"by":"hunvreus","descendants":119,"id":39467132,"kids":[39470412,39468610,39468906,39469360,39470909,39471090,39473095,39486955,39471216,39475263,39468202,39479621,39471291,39471456,39470776,39469698,39470071,39476772,39473599,39470472,39473718,39469391,39475061,39472683,39471247,39468897,39468888,39469905,39468273,39474677,39475546,39479054,39469259,39470399,39473834,39470108,39490735,39468184,39468926,39487250,39470360,39469847,39471370,39471753,39474736,39476484,39491976,39470073,39468734],"score":351,"text":"In a nutshell:<p>1. You log in with your GitHub account.<p>2. You select the GitHub repo where your site&#x2F;app is at (whether it&#x27;s Next.js, 11ty, Hugo, Nuxt... as long as you&#x27;re using flat files for content).<p>3. You add a single config file to your repo to define the content types and other settings (e.g. media folder).<p>4. Congrats: you now have a user friendly CMS to manage content + media BUT all changes are still tracked like regular commits (under your account) on GitHub.<p>I started using Jekyll around 2009 and over the course of the past 10+ years, I&#x27;ve helped build major sites and tiny blogs with Hugo, Gatsby, Next.js and more recently 11ty.<p>I still love it.<p>BUT once you&#x27;re done building, managing content and media can be a bit of a pain. You have a few options:<p>- Edit files directly (on GitHub or your local). Good luck getting your colleagues on the marketing team to do that.<p>- Hook up a headless CMS like Contentful, Sanity, or Strapi. That works, but it&#x27;s one more dependency and (IMHO) overkill in most cases.<p>- OR you could use something like [Decap CMS](<a href=\"https:&#x2F;&#x2F;decapcms.org&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;decapcms.org&#x2F;</a>). Really cool project, but I&#x27;ve never been a fan of the UI&#x2F;UX, and it&#x27;s been a bit of a pain to setup (maybe that&#x27;s just me).<p>I wanted something as simple as possible, preferably with nothing to install or deploy.<p>Back in 2018, I had built a prototype (Jekyll+) [1] with the idea of getting a CMS set up by just adding a single configuration file to your GitHub repository.<p>Pages CMS [2] is a continuation of that idea. It&#x27;s 100% free and Open Source:  <a href=\"https:&#x2F;&#x2F;github.com&#x2F;pages-cms&#x2F;pages-cms\">https:&#x2F;&#x2F;github.com&#x2F;pages-cms&#x2F;pages-cms</a>.<p>If you don&#x27;t want to use the online version because you&#x27;re not comfortable signing up with your GitHub account, consider the following options:<p>- Use a fine-grained personal access token [3], there&#x27;s an option on the login screen. There is still a bug if you try to access a repo that isn&#x27;t part of your token scope, but I&#x27;ll get it fixed in the next couple of days.<p>- Deploy it yourself (for free) on Cloudflare Pages. Literally 5 minutes of work max. I made a video walking you through the process [4].<p>- Check out the intro video on the front page [2] (a bit crap, but I&#x27;ll get a better one up in the next few days).<p>I use it actively with a few other teams, I hope it will be of use to some of you.<p>I&#x27;m already working on adding a few nicer features, like collaborative editing and email invites (to let non-developers login without a GitHub account).<p>PS: I&#x27;ve spent the past 8+ years building a business and only recently got back into coding. I&#x27;d love pointers as to what I could do better (and how I can manage my Powerpoint PTSD).<p>[1]: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;hunvreus&#x2F;jekyllplus&#x2F;\">https:&#x2F;&#x2F;github.com&#x2F;hunvreus&#x2F;jekyllplus&#x2F;</a><p>[2]: <a href=\"https:&#x2F;&#x2F;pagescms.org\" rel=\"nofollow\">https:&#x2F;&#x2F;pagescms.org</a><p>[3]: <a href=\"https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;authentication&#x2F;keeping-your-account-and-data-secure&#x2F;managing-your-personal-access-tokens#fine-grained-personal-access-tokens\" rel=\"nofollow\">https:&#x2F;&#x2F;docs.github.com&#x2F;en&#x2F;authentication&#x2F;keeping-your-accou...</a><p>[4]: <a href=\"https:&#x2F;&#x2F;pagescms.org&#x2F;docs&#x2F;development&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;pagescms.org&#x2F;docs&#x2F;development&#x2F;</a>","time":1708610283,"title":"Show HN: Pages CMS – A CMS for GitHub","type":"story","url":"https://pagescms.org"}