Creates a tabbed webpage that looks a bit like a text editor from multiple remote markdown files (intended for Github README.md files, but any will do)
Find a file
2017-01-12 22:09:54 +00:00
markdown Improved README and used better example remote markdowns 2013-05-04 09:45:47 +01:00
public/css Nicer link colour 2013-09-26 21:27:43 +01:00
views Deal with 404s properly without an internal server error 2013-09-27 17:47:08 +01:00
.env Improve formatting 2013-05-04 22:14:46 +01:00
.slugignore Use Procfile instead of config.ru to run the app. 2012-01-30 17:37:00 -08:00
_config.yml Set theme jekyll-theme-hacker 2017-01-12 22:09:54 +00:00
Gemfile Complete rework to avoid loading every remote markdown file and including the contents in every page. 2013-09-26 21:16:04 +01:00
Gemfile.lock Complete rework to avoid loading every remote markdown file and including the contents in every page. 2013-09-26 21:16:04 +01:00
Procfile Use Procfile instead of config.ru to run the app. 2012-01-30 17:37:00 -08:00
README.md Complete rework to avoid loading every remote markdown file and including the contents in every page. 2013-09-26 21:16:04 +01:00
web.rb Deal with 404s properly without an internal server error 2013-09-27 17:47:08 +01:00

Local/Remote Markdown Website Renderer in Ruby

A small application which renders a text-editor-like web interface, where each 'file' is generated from a local or remote markdown file.

Uses Redcarpet to transform each file using GitHub Flavoured Markdown.

Both the application as well as the local markdown files (in markdown/) are contained within the same git repository. You can also supply a set of remote markdown files which will be fetched by the application. This is primarily designed to build a website from multiple README.md files from your GitHub projects.

Using this application on Heroku

To make immediate use of this project one only needs to execute the following commands:

    git clone git://github.com/ianrenton/github-readme-website.git mywebsite
    cd mywebsite
    heroku create --stack cedar mywebsite
    git push heroku master
    heroku open

Other ins-and-outs

  • To run the application locally: foreman start
  • The list of remote markdown files to fetch is stored in web.rb.
  • The template file exists in views/index.erb and can be modified to your liking.