| Number of watchers on Github | 28 |
| Number of open issues | 1 |
| Main language | Ruby |
| Open pull requests | 1+ |
| Closed pull requests | 0+ |
| Last commit | over 3 years ago |
| Repo Created | over 3 years ago |
| Repo Last Updated | over 1 year ago |
| Size | 16 KB |
| Organization / Author | jondot |
| Contributors | 1 |
| Page Updated | 2018-03-17 |
| Do you use mediumize? Leave a review! | |
| View on github | |
| Fresh, new opensource launches 🚀🚀🚀 | |
|
Trendy new open source projects in your inbox!
View examples
|
|
Automatically post (and cross-post) your markdown style blog posts to your Medium account from Jekyll, Middleman, Hugo and others.
Mediumize will only publish drafts, and never publicly.
Add this line to your application's Gemfile:
gem 'mediumize'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mediumize
Either via command line (suitable for manual / Hugo flows):
$ mediumize -t your-medium-integration-token file1.md file2.md ... fileN.md
Or, integrate it via Ruby into your Jekyll / Middleman flow:
require 'mediumize'
p = Mediumize::Publisher(
:token => "your-medium-integration-token",
:frontmatter => true
)
%w{
file1.md
file2.md
fileN.md
}.each do |file|
puts p.publish(file)
end
git clone https://github.com/jondot/mediumize && cd mediumizebundlerake testFork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).
To all contributors
Copyright (c) 2016 Dotan Nahum @jondot. See LICENSE for further details.