Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Pagina is a Rack web app for Heroku that will use your Dropbox folder for site pages.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gemfile
Gemfile.lock
Rakefile
pagina.gemspec
readme.markdown

readme.markdown

Pagina

travis-ci status

Pagina is a small web app that uses a Dropbox (or any other web) folder for site pages.

Pagina was designed to run on Heroku. It is very light (only hardcore dependency is rack) and uses Memcache to speed up pageloads.

The idea was to deploy simple homepages using latest cloud services fast and cheap. And in the same time, spend minimum time for implementing website design/layout.

While Dropbox takes care of ACL, revisions and hosting space, Pagina uses Markdown files to render pages.

Gems

This page source

Example config.ru

require 'bundler/setup'
Bundler.require

Pagina.dropbox_id 20301790
Pagina.dropbox_folder 'Pagina'
Pagina.layout File.expand_path '../test/layout.html', Pagina::ROOT
# Pagina.public_folder File.expand_path 'public' # To enable static files
run Pagina::App.start

Example Gemfile

source "http://rubygems.org"
gem 'dalli'
gem 'kramdown'
gem 'pagina', :git => 'git://github.com/stas/pagina.git'
Something went wrong with that request. Please try again.