Unclephil Dot Net

To content | To menu | To search

Tag - TiddlyWiki

Entries feed - Comments feed

Tuesday 1 June 2010

Exercise: Mixing 2 nice products



Publish a Tiddlywiki file in a couchdb Database


  • Need to save TWED to a web server without the help of ftp
  • Problem to use existing upload.php files
  • Problem to install TiddlyWeb
  • The server is already based on Couchdb with his nice replication feature
  • Not existing (or not found) on the Internet
  • Test my brain on javascript/tiddlywiki/couchDb


CouchToiLaPlugin version alpha minus 1


  • GOOD: Just upload the local saved file to a local couchdb document
  • BAD: hardcoded parameters

Planned features

  • Allow change of parameters
  • Item in the backstage menu
  • Create backup record in db
  • Avoid local Save
  • Display save History

Why this name ??

I think you need to learn French joke.....

How to use it


  • Open a tiddlywiki
  • Add a tiddler and copy the CouchToiLa.js file inside
  • Set a systemConfig Tag
  • Save it
  • Reload the file
  • Now you can put a <<couchtoila>> tag in any tiddler

Be sure

  • To have a working Couchdb server on your workstation
  • A "twcouch" database in this server

Now what ??

Use and abuse , Give me feedback

Many thanks to Bidix for the Idea, and to Tiddlytools for the code sample

Sunday 20 September 2009

Quick win combination

When you need to make portable documentation of virtual environment you need to simply combine some nice tools;

And after some hours of coding you have a good base of documentation : TiddlyEsxDoc

This is a compilation of existing script (nothing new here) with some adaptation to fit in a TiddlyWiki format. Personally, i use it daily to extract all infos on our hosting environment and, in combination of some nice TW plugins, I create my MicroCmdb where i maintain an overview of all applications and services that we offer to the public sector.

At this moment, the documentation is rewritten every day because powershell is not really a DOM writer ( but I've some hard discussion to find the best way), but you can use it like the beautiful healtcheck script or the useful DailyReport

I know that the documenter is not complete, that some variable are not delivered to the TW,
But for the moment, this is enough for my needs.
i'm now more focused on the MicroCmdb functionalities, and his filling (the hard, but real part of my job)

Be careful, this is my tools, and i know that i'm not a standard user.....
So before any usage, open the rar file, read the Readme and the ps1, change the base parameters and then .... it's up to you

Have fun with vi, powershell and Tiddlywiki