- Publish a post to Medium just from your Notion Page by Console Cli
-
Notion API Token: create an integration and find the token. → Learn more about authorization.
-
Medium API Token: create Medium Integration from Medium Setting
-
Then save your api key(token) as your os environment variable
$ export NOTION_TOKEN="{your integration token key}"
$ export MEDIUM_TOKEN="{your integration token key}"
- Or add these commands to your shell config files(
.bashrc
or.zshrc
)
$ pip install notion2medium
-
Retrieves Notion Page list from Notion Database.
-
Ask user titles of Notion pages and will call
publish
command to publish the selected page. -
select
commands require eitherid
orurl
of the Notion Database or Page.
$ notion2medium select -i <Notion Database id>
-
Publishes a Medium Post from Notion Page.
-
Retrieves Notion Page's content(children blocks) as markdown and Page's tags.
-
publish
commands require eitherid
orurl
of the Notion Database or Page.
$ notion2medium publish -i <Notion Page id>
If you think Notion2Medium is helpful to you, you can support me here: