Replies: 3 comments 3 replies
-
Do these steps not work for you? https://decapcms.org/docs/beta-features/#working-with-a-local-git-repository That should give you a "local" backend, i.e. just read and write files on disk. |
Beta Was this translation helpful? Give feedback.
-
@mmkal that looks like it, but I guess part of the question is why must Git be part of the workflow, why not have a separate
|
Beta Was this translation helpful? Give feedback.
-
@webketje I was just in the exact same situation and ran across this! I have not tried it yet. It looks like it may answer the question for me at least? We'll see. https://www.reddit.com/r/codestitch/comments/1e4xl00/for_the_folks_who_use_decapcms_here_i_made_a/ |
Beta Was this translation helpful? Give feedback.
-
DecapCMS looks promising, but from the docs it looks as if it cannot function without Git or an authentication mechanism?
For a lot of developers, all we desire is a local CMS front-end to separate content editing from website development, a bit like Publii or VS Code Frontmatter. These 2 clients have serious drawbacks though as Publii cannot be "composed" with SSGs like Decap can, and VS Code Frontmatter always requires VS Code.
What I thought I was looking for is a
local-fs-gateway
backend, and I would give a shot at creating one but there's no general interface defined and I need to know whether that would even work out. Basically I have my SSG but do not wish for DecapCMS to own authentication and repository updates. All I need it to do is write to the local filesystem, and perhaps trigger a custom-defined command on save.Another potential use case (hypothetical but realistic): I make small websites for local businesses, and they don't care that their content is git-versioned and they don't want to bother managing it either. They are fine with a button that says "backup" that will simply do a
cp -r
of their website contents on the local disk. For auth I choose to use Basic HTTP Authentication (I know, it's suboptimal but I'm just cutting corners here to be fast) and thus don't need any Decap OauthBeta Was this translation helpful? Give feedback.
All reactions