Thanks a lot, that’s really a great idea. I will following this way to read the source code. What I want to try is to make it as a backend server and support client like React/Vue/Svelte for SPA/PWA, which will need some details info, so that I can build HUGO content in other services.
Thanks for sharing. My goal is not to create another headless CRM or help people to migrate from Hugo. Instead, I aim to extend Hugo’s open-source code and turn it into a hugo native headless CRM, make hugo support static plus dynamic in the future to enrich the ecosystem of this outstanding open-source project.
This sounds pretty cool and convenient. Unfortunately, I don’t have enough time at the moment (maybe later this year) to get into these things. So, I’ll have a look from time to time just to follow up. Good luck and happy coding
Just a quick update. At present, the source code has been sorted out by using DDD (Domain Driven Design), as shown in the domain model diagram below. The whole process took longer than I expected. Hugo is so powerful, with many functions and more details. And I believe that’s why Hugo attracts so many contributors and users. For next step, I will get into API design phase. You can also help with some application scenarios to verify how to abstract the API.
It’s been exactly a year since I first posted here in September 2023, and I’m excited to come back with an update! I’m happy to report that I didn’t go back on my word — the proof of concept (PoC) is up and running!
The PoC now supports the following workflow:
Load a Hugo project into the CMS via a command line interface.
Add a new post to the project using an API.
Build the site using an API.
Deploy the site to Netlify via an API.
This is just a simple update as I wanted to share something before the end of September. Next, I’ll be preparing a detailed demo to help introduce the full functionality. Coming soon…