public
Description: Ze code behind the new toolmantim.com
Homepage: http://toolmantim.com/
Clone URL: git://github.com/toolmantim/toolmantim.git
toolmantim (author)
Tue Sep 08 18:52:59 -0700 2009
commit  2fdef261f8a3707e762fd240b9955c40db737c39
tree    9a5edff79c5dd49e167b6562186555f6c0ed5ce0
parent  8bfd071f790ae2c453249a7b1767c1b474815954
name age message
file Capfile Sat Jan 03 05:51:02 -0800 2009 Add Cap recipe [toolmantim]
file Issues.textile Sat Jan 03 05:50:50 -0800 2009 Added an issues file [toolmantim]
file Readme.textile Tue Apr 07 23:03:50 -0700 2009 Added base stylesheet to the Readme [toolmantim]
directory articles/ Loading commit data...
file config.ru Sun Feb 22 17:23:04 -0800 2009 Updated references to application, options and ... [toolmantim]
directory design/ Sun Apr 12 05:02:00 -0700 2009 Added photo to photo nav, other cleanups [toolmantim]
file import_toolmantim_posts.rb Sat Jan 03 05:46:31 -0800 2009 Reword the archived comments para [toolmantim]
directory lib/
directory public/
directory spec/ Sat Jan 03 06:17:27 -0800 2009 Change to times instead of dates [toolmantim]
file toolmantim.rb
directory views/
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.