{"id":16941754,"url":"https://github.com/thesmartnik/middleman-medium_export","last_synced_at":"2026-04-29T09:32:06.264Z","repository":{"id":56883633,"uuid":"159385889","full_name":"TheSmartnik/middleman-medium_export","owner":"TheSmartnik","description":"A middleman extension to export your blogposts to medium","archived":false,"fork":false,"pushed_at":"2019-05-12T14:55:39.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T15:51:57.636Z","etag":null,"topics":["medium-app","medium-com","middleman","middleman-blog","middleman-extension"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheSmartnik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-27T19:09:42.000Z","updated_at":"2019-05-13T10:21:31.000Z","dependencies_parsed_at":"2022-08-20T22:31:05.571Z","dependency_job_id":null,"html_url":"https://github.com/TheSmartnik/middleman-medium_export","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmiddleman-medium_export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmiddleman-medium_export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmiddleman-medium_export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmiddleman-medium_export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSmartnik","download_url":"https://codeload.github.com/TheSmartnik/middleman-medium_export/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752336,"owners_count":20504254,"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-app","medium-com","middleman","middleman-blog","middleman-extension"],"created_at":"2024-10-13T21:10:14.570Z","updated_at":"2026-04-29T09:32:06.238Z","avatar_url":"https://github.com/TheSmartnik.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Middleman Medium Export\n\nA Middleman extension that adds a cli command to export your articles to medium\n\n# Getting Started\n\nAdd the gem to your gemfile\n\n```ruby\ngem \"middleman-medium_export\"\n```\n\nActivate it in your `config.rb`\n\n```ruby\nactivate :medium_export do |export|\n  export.api_token = 'your_api_token'\n\n  # export.template_path = 'path_to_template'\n  # export.template_position = :top\n  # export.publish_status = :draft\nend\n```\n\n## Options\n\nExtension provides several options\n\n`api_token` - required, self issued api token to post your articles\n\n`template_path` - optinal, path to partial to add to your article\n\n`template_position` - optional. Position of your template. Possible values \nare: `:top` and `:bottom`. Default is `:bottom`\n\n`publish_status` - optional. Status of your articles, when they are exported. Possible values are: `public`, `draft`, or `unlisted`. Default is `:draft`\n\n## Export\n\n### Interactivly\n\nTo chose article to export interactivlt\n\n```ruby\nbe middleman medium_export -m interactive\n```\n\n### Only last article\n\n```ruby\nbe middleman medium_export\n```\n\nor \n\n```ruby\nbe middleman medium_export -m last\n```\n\n### All articles\n\n```ruby\nbe middleman medium_export -m all\n```\n\n## Obtaining Api Token\n\nYou used to be able to create an `api_token` yourself, but due to increased spam activity from API, this feature is now restricted. You need to email support with request for an API Token. It usually takes from a couple of hours to a day. Visit official [documentaion](https://github.com/Medium/medium-api-docs#22-self-issued-access-tokens) for more info.\n\n# Contribution\n\nPull requests and issues are very welcome\n\nTo create a pull request\n\n* Clone repo\n* Run tests to see, that all is fine `be rake test`\n* Implement feature\n* Add tests\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartnik%2Fmiddleman-medium_export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesmartnik%2Fmiddleman-medium_export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartnik%2Fmiddleman-medium_export/lists"}