Sorry, we don't support your browser.  Install a modern browser

Add option to upload .md files for new blog posts#208

?

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:”

a year ago
2
?

Fully Agreed

10 months ago

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 1
    • Pages
    • Posts
  • Blog 2

    • Pages
    • Posts
  • The User can then use Any Kind of Text-Editor to edit the individual Pages.

  • After Editing, the User simply uploads the file to a predefined URL with simple HTTP - Authentication:

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.

5 months ago