Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mediumize

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mediumize

  • 0.4.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Mediumize

Gem Version Build Status

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.

Installation

Add this line to your application's Gemfile:

gem 'mediumize'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mediumize

Usage

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

Development

  1. git clone https://github.com/jondot/mediumize && cd mediumize
  2. bundle
  3. rake test
  4. Optionally, use guard

Contributing

Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).

Thanks:

To all contributors

Copyright (c) 2016 Dotan Nahum @jondot. See LICENSE for further details.

FAQs

Package last updated on 17 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc