Skip to main content

a Simple command that publishes Notion Page to Medium.

Project description

About Notion2Medium

PyPI version Code Quality

  • Publish a post to Medium just from your Notion Page by Console Cli

API Keys(Token)

$ 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)

Install

$ pip install notion2medium

Select Command

  • 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 either id or url of the Notion Database or Page.

$ notion2medium select -i <Notion Database id>

Publish Command

  • Publishes a Medium Post from Notion Page.

  • Retrieves Notion Page's content(children blocks) as markdown and Page's tags.

  • publish commands require either id or url of the Notion Database or Page.

$ notion2medium publish -i <Notion Page id>

Donation

If you think Notion2Medium is helpful to you, you can support me here:

Buy Me A Coffee

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notion2medium-1.0.1.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

notion2medium-1.0.1-py3-none-any.whl (27.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page