Make it possible to upload ie. my-lastest-blog.md for creating a new post. Great for working in external editors like Obisidan or Neovim and posting to bearblog without copy-pasting the text contents.
It could also optionally take the file title (or the first line of the file) and put it into “title:”
Fully Agreed
The probably Simplest Way to both Backup & Edit Posts & Pages is to have a Button on the Dashboard which Downloads an Archive of all Blogs, Posts & Pages.
Archive:
Blog 2
The User can then use Any Kind of Text-Editor to edit the individual Pages.
URL: https://upload.bearblog.dev/blogname/pages
OR /posts
FileName: <Page/Post Name> ~ <Page/Post URL>.md
The server determines the according Page or Post automatically.
If it doesn’t exist, it’ll get created. If it exists, it’ll be updated.
This approach should make it super simple to implement basic upload functionality into almost any Software Tool.
Another way would be to incorporate Git and or HUGO in terms of API’s.
Theese Things could run as completely separate Services running under their own Subdomains such as git.bearblog.dev
& hugo.bearblog.dev
.
Another way would be to use access keys and directly embed them in the upload URL.