Tiddlers on Rails

28 views
Skip to first unread message

peter.bouda

unread,
Dec 12, 2009, 7:43:09 AM12/12/09
to TiddlyWiki
Hi,

I'm a big fan of TiddlyWiki. And I like Ruby on Rails a lot. I had a
bit of free time last week, so I thought about combining TiddlyWiki
with a simple Rails application, to store the Tiddlers on a server.
The main idea is to have the content of the tiddlers seperated from
the layout, because I want to write another GUI for mobile devices
later on (not a one-page application, for now). But I thought that the
current version might be interesting to some of you, so I put it
online:

http://aufundapp.de/tor

Right now it should only be possible to edit and delete tiddlers and
download the wiki (right now the "download" link only opens another
page with the original TiddlyWiki html, so you have to "Save" the page
to your desktop with your browser). You may delete my StyleSheet in
your own wikis. It is all based on very basic programming right now,
so the service may be vulnerable to all kind of "attacks"... So please
be careful. ;-)

Peter

BTW: To log in with your Google ID use URL https://www.google.com/accounts/o8/id
as OpenID URL.

FND

unread,
Dec 13, 2009, 4:10:22 AM12/13/09
to tiddl...@googlegroups.com
> I thought about combining TiddlyWiki with a simple Rails application
> [...] The main idea is to have the content of the tiddlers seperated
> from the layout

That's great - thanks for sharing!

We're pursuing similar goals with TiddlyWeb*, and having a diverse
ecosystem here is great.

I've noticed you're serving a modified TiddlyWiki document.
It's generally advisable to put everything into a tiddler - e.g. your
custom functionality could be TiddlyWiki plugins. Among other things,
that makes upgrading much simpler, as you won't have to manually merge
core changes.

> right now the "download" link only opens another page with the
> original TiddlyWiki html, so you have to "Save" the page to your
> desktop with your browser

This might be of interest:
http://groups.google.com/group/tiddlywikidev/t/8e9a81e490854d23

> To log in with your Google ID use URL
> https://www.google.com/accounts/o8/id as OpenID URL.

FWIW, when I tried to sign up with my (non-Google) OpenID, it still
required me to enter an e-mail address.

By the way, do you intend to open-source your code?


-- F.


* http://tiddlyweb.com

peter.bouda

unread,
Dec 13, 2009, 6:36:08 AM12/13/09
to TiddlyWiki
Thanks for your comments, I will look through the plugin and macro
mechanisms as soon as I find some time to develop on Tiddlers on
Rails. I saw the pages for TidllyWeb*, but I couldn't really find out
how all this works together. I wanted to keep the learning and coding
time as short as possible. I only edited the original TiddlyWikis to
disable features that I thought won't work with my server (settings,
backstage, ...) and added two Ajax calls to my REST API (change/add,
delete tiddler).

> FWIW, when I tried to sign up with my (non-Google) OpenID, it still
> required me to enter an e-mail address.

Right, because I need to send e-mails for account activation right
now. But I'm not sure if this is necessary for OpenIDs...

> By the way, do you intend to open-source your code?

I am thinking about that. Again, as soon as I find the time to package
the code in a usable manner...

Regards,
Peter
Reply all
Reply to author
Forward
0 new messages