Can we build RESTful-like HTTP APIs using Tiddlers? Yes! 💯

161 views
Skip to first unread message

Abraham Samma

unread,
Jan 24, 2019, 6:44:46 PM1/24/19
to TiddlyWiki
Hello all 👋,

While solving the problem of making wikis hosted at Maarfapad public, I hit upon the idea of designing working HTTP APIs (that do not simply store tiddlers, but allow you to create any kind of X as a service you can imagine) using nothing but tiddlers. We could call there tiddlers design tiddlers  for your API.

I'd like your inputs. I'll be releasing the first working version of this project based on your comments.


Thanks 🙇

TonyM

unread,
Jan 24, 2019, 8:59:32 PM1/24/19
to TiddlyWiki
Abraham,

Exciting stuff, I thought such approaches were open to us but could not articulate it. I understand your suggestion enough to be very excited, but also know insufficient to implement it once available without a bit more background. Please try and fill out the documentation for a less experienced developer but TiddlyWiki supper user. If nothing else please make reference the the technologies and methods one needs to know to implement this. 

Regards
Tony

Abraham Samma

unread,
Jan 25, 2019, 1:29:37 PM1/25/19
to TiddlyWiki
Thanks Tony. Yes docs will be coming along shortly.

TonyM

unread,
Jan 25, 2019, 9:09:00 PM1/25/19
to TiddlyWiki
Abraham,

Related but not directly to API's is this path I have requested support for, and may suggest an avenue for pseudo API's

That is: do not have them in tiddlywiki but allow tiddlywiki to make use of them.

Tony

TonyM

unread,
Jan 25, 2019, 11:55:42 PM1/25/19
to TiddlyWiki
See also 

Read-only single tiddler view 

A Git Hub Issue

Abraham Samma

unread,
Jan 26, 2019, 6:11:24 AM1/26/19
to TiddlyWiki
Absolutely. It's also possible to add a filter url query so you can filter what tiddlers you'd like the API endpoint to supply to TiddlyWiki:

e.g
/pub/mytiddlers?filter=[your filter here]

I am still brainstorming how to do this but I think this would be an interesting feature to have.

TonyM

unread,
Jan 26, 2019, 7:59:06 PM1/26/19
to TiddlyWiki


On Friday, January 25, 2019 at 10:44:46 AM UTC+11, Abraham Samma wrote:
Reply all
Reply to author
Forward
0 new messages