Is your feature request related to a problem? Please describe.
I currently have an 11ty backed site that is configured with Netlify CMS so that I can create/draft/edit posts and pages from an admin page.
I'm considering adding an indiekit based micropub endpoint but don't want to maintain two configurations which both describe how my site source is structured.
Describe the solution you’d like
I would like to use a preset (like the jekyll or hugo presets) to import my netlify CMS config and convert that into an indiekit config. This would start with pointing indiekit at the admin.yml file that defines the site config.
I've considered dropping my netlify CMS config when adding micropub, but I realized they offer different features. Netlify CMS is a broader tool for editing a website. Micropub would allow certain kinds of integrations with different UIs, primarily for posting new content.
Additional context
This is something I would consider helping with or possibly publishing myself. However I don't know when I'll have the bandwidth and I wanted to raise the idea in case others are interested.
I made an attempt at this but ran into several problems and no longer recommend it. It's simpler for me to maintain two configs than to try to map between.
Some challenges:
The NetlifyCMS package doesn't export any APIs that can be used to parse config files so code/defaults would need to be duplicated and kept up to date
Each system has different flexibility points and a generic package wouldn't work for all configs
Mapping NetlifyCMS collections to post kind formatters requires additional non-trivial configuration
NetlifyCMS doesn't have a way to represent the references map. Each property needs to be known so arbitrary URL keys don't work. A different structure work but would differ significantly
NetlifyCMS is under new management and is being renames/overhauled so the future is unclear.
Is your feature request related to a problem? Please describe.
I currently have an 11ty backed site that is configured with Netlify CMS so that I can create/draft/edit posts and pages from an admin page.
I'm considering adding an indiekit based micropub endpoint but don't want to maintain two configurations which both describe how my site source is structured.
Describe the solution you’d like
I would like to use a preset (like the jekyll or hugo presets) to import my netlify CMS config and convert that into an indiekit config. This would start with pointing indiekit at the admin.yml file that defines the site config.
Some example mappings:
Site URL
Netilfy CMS config
Indiekit config
Post kinds
Netilfy CMS config
Indiekit post kinds
Slug separator
Netilfy CMS Config
Indiekit config
Describe alternatives you’ve considered
I've considered dropping my netlify CMS config when adding micropub, but I realized they offer different features. Netlify CMS is a broader tool for editing a website. Micropub would allow certain kinds of integrations with different UIs, primarily for posting new content.
Additional context
This is something I would consider helping with or possibly publishing myself. However I don't know when I'll have the bandwidth and I wanted to raise the idea in case others are interested.