Instant Preview for GitHub's README formats
Ruby JavaScript HTML
Latest commit c5e64bc Jun 20, 2016 @kei-s committed on GitHub Merge pull request #116 from pazjacket/tachikoma/update-20160619135408
Exec tachikoma update 20160619135408


GitHub Preview TravisCI Dependency Status PullReview stats Code Climate Test Coverage

App on Heroku

Preview script

Put this into your path at e.g. ~/bin/github-preview and chmod +x it.
Then github-preview someproject/Readme.markdown

#!/usr/bin/env ruby
# open a given markdown file via github preview app
raise "gime a file!!" unless ARGV[0]

require 'cgi'
content =[0])
url = ''

exec "open '#{url}/?text=#{CGI.escape content}&format=markdown'"

Local development

bundle exec rspec spec
bundle exec thin start
open http://localhost:3000

Copy to Clipboard

Using ussy/clippy. Thanks a lot!