A PowerShell library for publishing markdown files authored in Typora to Blogger. This library exists because OpenLiveWriter isn't being actively maintained and Typora is awesome. The intention is that you would author your blog posts in Typora and then drop to a command-prompt to publish them to Blogger.
Note:
Currently in development. Currently tested on Windows
-
Install necessary dependencies:
choco install pandoc
(Future: still need to publish to PowerShell nuget library)
Install-Module TyporaBloggerApi
-
Authenticate with your Blogger account:
Initialize-TyporaBlogger
This will launch a browser and authenticate with Google.
Note:
You may be prompted that Google hasn't verified the app yet. Working on it. Click Continue for now.
-
List your blogs
Get-BloggerBlogs
-
Set a default blog
Set-TyporaBloggerConfig -Name BlogId <blogid>
-
List your posts for that blog
Get-BloggerPosts
-
Publish a markdown file to your blog as draft
Publish-MarkdownBlogPost -File .\filename.md -Draft
This will post a draft to your blog and update the markdown file with the blogger
postid
and mark it aswip
. -
Publish a markdown file to your blog
Publish-MarkdownBlogPost -File .\filename.md
- Typora hook to post images to Google Drive
- Download existing posts to your machine in markdown