Mediumは日本では撤退を発表し、苦しんでいる感があります。しかしコンテンツの書きやすさであったり、目指す世界観は素晴らしく、今後の立ち直りに期待する人も多いでしょう。 そんなMediumに対してローカルで書いたMarkdownファイルからアップロードできるのがgodiumです。

godiumの使い方

godiumのヘルプです。

$ godium --help
NAME:
   godium - Interact with the Medium publishing platform through the command line.

USAGE:
   godium [global options] command [command options] [arguments...]

COMMANDS:
     set-token, st  Add an integration token to be used by this application
     info           Get the information for the owner of the access token
     publish, p     Publish a markdown file to Medium with the status set to draft and open the post editor page in the browser
     help, h        Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help

COPYRIGHT:
   MIT

使い方としては godium public file.md で送ることができます。ローカルでMarkdown記法を使って書いておけば簡単に転送できます。使い方はとても簡単なのですぐに使いこなせるのではないでしょうか。

godiumはGo製のオープンソース・ソフトウェア(MIT License)です。

parhamdoustdar/godium: A command-line Medium client with the ability to publish local markdown files