Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The blog that's almost nothing

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 views
Octocat-spinner-32 .gems
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
Octocat-spinner-32 import.rb
Octocat-spinner-32 main.rb
README.md

Scanty, a really small blog

Overview

Scanty is blogging software. Software for my blog, to be exact: http://markwithout.heroku.com

It is not a blogging engine, but it's small and easy to modify, so it could be the starting point for your blog, too.

Features

  • Posts (shock!)
  • Tags
  • Markdown (via Maruku)
  • Ruby code syntax highlighting (via Syntax)
  • Atom feed
  • Comments via Disqus
  • Web framework = Sinatra
  • ORM = Sequel

Dependencies

$ gem install sinatra sequel sinatra-sequel maruku

Setup

The Blog config struct is loaded via heroku config vars or an optional config.yml file you can include in the root directory with the appropriate hash.

Then run the server:

$ ruby main.rb

And visit: http://localhost:4567

Log in with the password you provided in the Blog struct, then click New Post. The rest should be self-explanatory.

Comments

If you wish to activate comments, create an account and enter the website shortname as the :disqus_shortname value in the Blog config struct.

Import data

Christopher Swenson has a Wordpress importer: http://github.com/swenson/scanty_wordpress_import

Other kinds of data can be imported easily, take a look at the rake task :import for an example of loading from a YAML file with field names that match the database schema.

Meta

This project hasn't been maintained in about a year, so I restored it back to life. In the midst of restoration, I made it compatible with the latest Sinatra v1.0 and gave it a lighter theme.

Something went wrong with that request. Please try again.