I’ve published a small Pagecord command line app (CLI) for people who want to write on their local machine in Markdown (or HTML) and publish those files to Pagecord. If you use Obsidian, you should use the dedicated plugin, but if you use something else then the CLI app might be able to help. The app is written in Ruby (❤️), and you install it from RubyGems: gem install pagecord-cli Once installed, you can log in using the login command and passing your blog subdomain: pagecord login blog-subdomain This will ask for your API key, which will be used to authenticate you. Once you're logged in, you can save posts to your blog as draft or published using the draft and publish commands: # subdomain is only required if you're logged into two or more blogs pagecord draft post.md [subdomain] pagecord publish post.md [subdomain] If you want to move a published post back to draft, use the draft command. Images Images are supported as with the Obsidian plugin. Just reference the local file in…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.