A fantastic piece of software made by
Dave Winer and the team at
Userland Software.
The free version lets you script your OS, generate web pages, store all your text and images in a database, drive other apps and generally have a great time with Windows and Mac.
The commercial version is a little pricey.