Skip to content
A collection of padrino templates and plugins
Find file
Latest commit 25c89d1 @ujifgc ujifgc Merge pull request #83 from ymmtmdk/using_order_method2
Use the 'order' method instead of the parameter.


Padrino is a Ruby framework built upon the excellent Sinatra Microframework. Sinatra is a DSL for creating simple web applications in Ruby with speed and minimal effort. This framework tries hard to make it as fun and easy as possible to code much more advanced web applications by building upon the Sinatra philosophies and foundation.

The recipes consists of two types: plugins and templates. A plugin adds additional functionality to an existing Padrino project. A template can be used as a template for a completely new Padrino application.


To run a plugin:

$ cd <path-to-my-padrino-app>
$ padrino-gen plugin <name-of-the-plugin>
  • 960 - grid
  • access - Access restriction via rack-contrib.
  • ar_permalink - Generate permalink for a specified column on ActiveRecord.
  • ar_permalink_i18n - Generate permalink for a specified multi language column(s) on ActiveRecord.
  • ar_textile - Full support to textile with ActiveRecord.
  • ar_translate - Translate for you your ActiveRecord columns.
  • auto_locale - Switch for you automatically the I18n.locale.
  • barista - Add support for Coffeescript via Barista.
  • better_errors - Add support for the better_errors Gem.
  • blueprint - Blueprint CSS.
  • bootstrap - Add Twitter bootstrap CSS.
  • bug - rack-bug plugin.
  • camorra - Add ZURB Foundation CSS.
  • carrierwave - Carrierwave plugin via carrierwave.
  • codehighlighter - Code Highlighting via rack-codehighlighter.
  • coderay - Code Highlighting via rack-coderay.
  • coffee - CoffeeScript plugin via rack-coffee.
  • deflect - Deflect(DOS protection) via rack-contrib.
  • disqus - Disqus Commenting System via disqus gem.
  • dreamhost - Deploy your app on
  • exception_notifier - Send errors through mail or/and to redmine.
  • factory_girl - A library for setting up Ruby objects as test data.
  • flash_session - Middleware that help you in passing your session in the URI, when it should be in the cookie.
  • fontawesome - Font Awesome CSS + Fonts.
  • googleanalytics - Google Analytics via rack-google-analytic.
  • heroku - Prepare app for deployment to Heroku (thanks to commuter).
  • hoptoad - HopToad notification via rack_hoptoad.
  • jammit - Add Asset Packaging via jammit-sinatra (thanks to railsjedi).
  • maintenance - Maintenance page plugin via rack-maintenance.
  • omniauth - Authentication Plugin for OAuth2, Facebook, Twitter, Campfire via omniauth.
  • openid - OpenID authentication via rack-openid.
  • payment - Payment Plugin via rack-payment.
  • protection - Add support rack-protection to your app to protect against certain security exploitations.
  • pry_byebug - Use pry-byebug in Padrino. Use pry_debugger plugin for MRI 1.9.3 or older
  • pry_debugger - Use pry-debugger in Padrino. Use pry_byebug plugin for MRI 2.0.0 or newer
  • raphaeljs - RaphaelJS libraries.
  • raphy_charts - Raphy Charts - A RaphaelJS based HTML5/SVG charts library.
  • recaptcha - CAPTCHA verification using RECAPTCHA API via rack-recaptcha.
  • resque - Add support for the resque redis based background worker.
  • rewrite - Rewrite Rules via rack-rewrite.
  • secure_only - Run app on https via rack-secure_only (thanks to splir).
  • tripoli - Tripoli CSS.
  • twitter-login - Twitter Login Authentication via twitter-login.
  • vcr - Add VCR to your test suite.
  • watchr - Generates watchr test scripts.
  • will_paginate - Add support for will_paginate.

If you want to contribute with a plugin please follow the convention of having _plugin appended to the name (i.e. bootstrap_plugin.rb).


To run a template:

$ padrino-gen project my_project --template [template_path]

The templates folder contains full project generation templates. These files follow the convention of having _template appended to the name (i.e sampleblog_template.rb). Included template are:

  • sampleblog - sample blog tutorial
  • lipsiasoft - template with haml/960/exception notifier and more used by LipsiaSOFT
  • mongochist - templates that generate mongoid/mongomapper with machinist


Feel free to fork and add on to these recipes! Check out the Padrino Framework and its git repo.

Something went wrong with that request. Please try again.