Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ze code behind the old toolmantim.com
Ruby JavaScript
branch: photos

This branch is 67 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
articles
design
lib
public
spec
views
Capfile
Issues.textile
Readme.textile
config.ru
import_toolmantim_posts.rb
toolmantim.rb

Readme.textile

This is the source code that powers toolmantim.com. It’s a simple Sinatra application serving up haml-based articles from disk.

The idea is that you want publishing to be previewable, simple and versioned. You want to be able to tweak the appearance of your site as you produce more complex articles. You want to simply add an image to your site, not build a whole admin providing file uploads. The major downside (if it is indeed at all a downside) is to publish you need access to your repo so you can git commit and cap deploy, though I could imagine using github’s web editing features to add articles and trigger a site update w/o touching a terminal.

It’s somewhat similar to Marley and other sintra-based blogging apps with the following big exceptions:

  • You can use any markup format thanks to HAML’s filters (e.g. :markdown)
  • There is no commenting. This forces more quality feedback via email and other blog posts, forces you to properly integrate feedback into the article and avoids the maintenance headache of comment spam.

At the moment I’m not entirely convinced there’s anything worth extracting into a gem or OSS project. If anything maybe the Article class so other people can create a sintra app, drop in the class/gem and fetch and sort haml-based articles from disk. Drop me a line with your thoughts.

What does this mean for Menki? I’m not convinced you need a whole boiler-plate app to fork and customise ala Enki. If there’s something to extract from this maybe that can become Menki? Again, open to your thoughts.

License

The following files, directories and their contents are Copyright Tim Lucas. You may not reuse anything therein without my permission:

  • /articles/
  • /design/
  • /public/favicon.ico
  • /public/images/
  • /public/files/
  • /views/stylesheets/screen.sass

All other directories and files are MIT Licensed.

Something went wrong with that request. Please try again.