{"id":13862590,"url":"https://github.com/echo724/notion2medium","last_synced_at":"2025-04-09T19:53:28.131Z","repository":{"id":131288907,"uuid":"455528725","full_name":"echo724/notion2medium","owner":"echo724","description":"Simple command that publishes Notion Page to Medium.","archived":false,"fork":false,"pushed_at":"2023-03-28T02:44:20.000Z","size":30,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-02T05:57:33.745Z","etag":null,"topics":["medium","medium-api","notion","notion-api","notion-blog","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/echo724.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-02-04T11:51:01.000Z","updated_at":"2024-03-12T09:49:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"afbf74d4-f7de-47d3-adcb-7acdc753421d","html_url":"https://github.com/echo724/notion2medium","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echo724%2Fnotion2medium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echo724%2Fnotion2medium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echo724%2Fnotion2medium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/echo724%2Fnotion2medium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/echo724","download_url":"https://codeload.github.com/echo724/notion2medium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103914,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["medium","medium-api","notion","notion-api","notion-blog","python"],"created_at":"2024-08-05T06:01:48.074Z","updated_at":"2025-04-09T19:53:28.110Z","avatar_url":"https://github.com/echo724.png","language":"Python","readme":"## About Notion2Medium\n\n[![PyPI version](https://badge.fury.io/py/notion2medium.svg)](https://badge.fury.io/py/notion2medium)\n[![Code Quality](https://github.com/echo724/notion2medium/actions/workflows/code_quality.yaml/badge.svg)](https://github.com/echo724/notion2medium/actions/workflows/code_quality.yaml)\n\n- Publish a post to **Medium** just from your **Notion Page** by **Console Cli**\n\n## API Keys(Token)\n\n- **Notion API Token**: create [an integration and find the token](https://www.notion.so/my-integrations). → [Learn more about authorization](https://developers.notion.com/docs/authorization).\n\n- **Medium API Token**: create **Medium Integration** from [Medium Setting](https://medium.com/me/settings)\n\n- Then save your api key(token) as your os **environment variable**\n\n```Bash\n$ export NOTION_TOKEN=\"{your integration token key}\"\n\n$ export MEDIUM_TOKEN=\"{your integration token key}\"\n```\n\n- Or add these commands to your shell config files(`.bashrc` or `.zshrc`)\n\n## Install\n\n```Bash\n$ pip install notion2medium\n```\n\n## `Select` Command\n\n- Retrieves **Notion Page** list from **Notion Database**.\n\n- Ask user titles of Notion pages and will call `publish` command to publish the selected page.\n\n- `select` commands require either `id` or `url` of the Notion Database or Page.\n\n```Bash\n$ notion2medium select -i \u003cNotion Database id\u003e\n```\n## `Publish` Command\n\n- Publishes a Medium Post from **Notion Page**.\n\n- Retrieves Notion Page's **content**(children blocks) as markdown and Page's **tags**.\n\n- `publish` commands require either `id` or `url` of the Notion Database or Page.\n\n```Bash\n$ notion2medium publish -i \u003cNotion Page id\u003e\n```\n\n## Donation\n\nIf you think **Notion2Medium** is helpful to you, you can support me here:\n\n\u003ca href=\"https://www.buymeacoffee.com/echo724\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 54px;\" height=\"54\"\u003e\u003c/a\u003e\n\n## License\n[Apache License 2.0](LICENSE)\n","funding_links":["https://www.buymeacoffee.com/echo724"],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecho724%2Fnotion2medium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecho724%2Fnotion2medium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecho724%2Fnotion2medium/lists"}