Add Decap CMS to static websites #554
Open
opened 2024-01-26 11:13:50 +00:00 by basebuilder
·
5 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
No labels
enhancement
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#554
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Decap CMS is a nifty headless CMS which supports popular static site frameworks (Hugo, Gatsby, etc.) it allows editing of frontmatter (YAML) in a user friendly interface. Decap connects to a git-forge backend like GitLab or Gitea to access the data from the static sites repo.
I think it would useful to lower the barrier of entry for people who are not programmers / comfortable with CLI to edit Co-op Cloud websites and documentation. Also it is nice to see a preview of your content in a GUI web page view before committing without installing local dev environment.
Sites where this could be created and used for Co-op Cloud are:
I will generate a Decap config for the main website so you can see the experience.
It's a great idea IMHO. Not familiar with Decap but curious to see it in action. If we could unify the sites under a single Hugo install with a GUI for editing content, I think that would be a pretty smooth workflow. Might be a considerable amount of work tho?
Cool. I am glad the idea is well received 😄 If the sites were already all Hugo, it would definitely be easier. I'm not sure if mkdocs can be edited via Decap, that would be a bit of Research (and maybe Dev) effort, but it might be worth it as that is a pretty nice theme for documentation heavy sites and it looks pretty similar to Hugo.
So according to
mkdocsanddecap-cmsit should work, so I pushed a WIP bit of that to decap-cms branch.awesome idea, excited to see how this works out. let me know if you want help getting an instance going on the co-op cloud servers.
this is a custom app (in Elm for some reason) and most of the content (descriptions and metadata) are all pulled from recipe repos. but if there's a way to make the minimal hardcoded content editable through Decap that'd be gr8
Sweet 😄 I think the main thing (which is probably) needed is getting the Gitea CORS settings configured correctly. This is what Codeberg did to enable CORS on their infrastructure.
Yah, after poking around at the Elm codebase, I don't think integrating Decap on top of it makes sense as it wold be a lot of work I think.