Use Backpack as a CMS
Ruby CSS JavaScript
Switch branches/tags
Nothing to show
Latest commit 89390e6 Dec 23, 2013 @mkdynamic Merge pull request #3 from bitdeli-chef/master
Add a Bitdeli Badge to README
Failed to load latest commit information.
app very basic caching on page finders Feb 10, 2010
config upgrade to rails 2.3.5 Feb 10, 2010
db upgrade to rails 2.3.5 Feb 10, 2010
lib fix backpack API wrapper (YAML seems to be no longer supported when p… Oct 28, 2010
public add a nicer default template, clean up views, enable page linking and… Feb 10, 2010
test upgrade to rails 2.3.5 Feb 10, 2010


A simple way to use Backpack as a CMS.


The idea of this little rails app is to allow you to use 37signals' Backpack as a simple CMS for your website.

It's aimed at very simple websites, where a full blown CMS would be overkill. It takes advantage of functionality already provided in Backpack for managing content.


Check out this demo running on Heroku.


You need to create a file called config/backpack.yml, as follows:

username: foo
token: your_api_key_from_backpack


Gu infers the hierarchical structure of the website (which is not provided by Backpack) from the name of the pages. Therefore, you need to stick to strict naming conventions for your Backpack pages in order for this to work.

  • Make sure the home page is called Home.
  • Name other pages like Home > About Us, or Home > Services > Design

NB. You must all make all pages you wish to use public in Backpack.


Currently the pages are simply cached using Rails built in page caching. You have to invalidate the cache manually at the moment, but ideally this could be done automatically by polling Backpack and checking for changes.


Written by Mark Dodwell (@madeofcode)

Bitdeli Badge