Project Hub Based on TW5 Farm Technology

186 views
Skip to first unread message

oleghbond

unread,
Aug 18, 2019, 2:42:19 PM8/18/19
to TiddlyWiki
TW5 Farm is a method of centralized multi-wiki support on the Internet.

Conceptually, technology comprises the following phases:
  • Preparing a separate wiki by means of Tiddlywiki by a group of authors on their own local computers.
  • When creating the content, the authors synchronize the wiki folder through the Google Drive cloud.
  • For each wiki, the editor pre-creates a wiki repository on Github, from which then the wiki is published on the Internet using Github Pages.

An excellent feature of the TW5 Farm technology is the function of automated collection of information on all wikis included in the collection and presentation in a separate central wiki. The central wiki for this collection called Project Hub is located at https://protw.github.io/.


To provide this feature, each wiki contains a standardized $:/boa/logo tiddler (as a separate article is referred Tiddlywiki), which contains the information needed to represent the wiki outside.

The core of the technology is the tw_builder.m script, written by means of a high-level programming language - Octave. The editor runs this script on own computer. The script updates the wiki information in the Github repository, updates the wiki collection information, prepares and executes the process of publishing on the Internet.


The script code, additional resources, and description of the technology are available at https://github.com/protw/twfarm. The technology description wiki is available at https://protw.github.io/twfarm.


For a full-fledged work, the author must be able to write texts using Tiddlywiki and also install on own computer:

The editor in order to run the tw_builder.m script, in addition to the above list, has to install on own computer Octave sofware and the function library fangq/jsonlab to process JSON data.

TonyM

unread,
Aug 19, 2019, 12:14:59 AM8/19/19
to TiddlyWiki
This looks very interesting!

Perhaps a bit too big a step for me to implement myself. But look promising.

Thanks for sharing.
Tony

Mohammad

unread,
Aug 19, 2019, 1:14:55 AM8/19/19
to tiddl...@googlegroups.com
Great idea considering the present level of technology for collaboration using TW.
One point, many of user here may not be familiar with Octave. Why not use more common scripting language like Python or newly popular shell scripting Powershell!

--Mohammad

Olegh Bondarenko

unread,
Aug 19, 2019, 1:44:54 AM8/19/19
to tiddl...@googlegroups.com
Agree absolutely. The reason for using Octave is in my familiarity with it. I would even suggest further - to rewrite my script using JS making it a plugin of BobExe. It gives more integrity to the solution as well adds more convenience for users. For this someone dexterous in JS and interested in this task is needed.

Olegh Bondarenko
https://bit.ly/oleghbond





пн, 19 серп. 2019 о 08:15 Mohammad <mohammad...@gmail.com> пише:
Great idea considering the present level of technology for collaboration using TW.
One point, many of use here may not familiar with Octave why not use more common scripting language like Python or newly popular shell scripting Powershell!

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/5Y68Rfy3hnM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aeb7a80d-f1cb-4ced-b6b0-38d40a6b999d%40googlegroups.com.

@TiddlyTweeter

unread,
Aug 19, 2019, 6:23:59 AM8/19/19
to TiddlyWiki
Mohammad commented:
Why not use more common scripting language like Python or newly popular shell scripting Powershell!

Its been interesting using PowerShell (v 6+ that works on Win, Linux, MacOS) for Polly. And I am NOT a programmer. Its high level coding is compact and flexible. It was surprising how easy it can be..

TT

@TiddlyTweeter

unread,
Aug 19, 2019, 6:28:12 AM8/19/19
to TiddlyWiki
Ciao oleghbond

Excellent approach! The idea to manage through a HUB I think is central. TW has some limits and this looks like a good way to address them

TT.

Jed Carty

unread,
Aug 19, 2019, 6:38:43 AM8/19/19
to TiddlyWiki
It has been a while since I used octave and I am on a phone so I am not certain, but I think that most things in the script can be done directly from Bob.

Creating a wiki using a filtered list of tiddlers from multiple other wikis is supported already and somewhere around here I made a plugin to let you use git from Bob. I don't know if it ever got documented.

@TiddlyTweeter

unread,
Aug 19, 2019, 6:41:59 AM8/19/19
to TiddlyWiki
Ciao oleghbond

The core of the technology is the tw_builder.m script, written by means of a high-level programming language - Octave.

The editor runs this script on own computer.

Having that local is a great idea! But what are the install requirements for that to work? Does it work on all desktop platforms? 

TT

@TiddlyTweeter

unread,
Aug 19, 2019, 6:45:50 AM8/19/19
to TiddlyWiki
Jed Carty wrote:
It has been a while since I used octave ... but I think that most things in the script can be done directly from Bob.
 

Creating a wiki using a filtered list of tiddlers from multiple other wikis is supported already and somewhere around here I made a plugin to let you use git from Bob. 


FWIW I think a Bob-centric approach might be economical in that its both local and server enabled.

My tuppence.

TT 

 

oleghbond

unread,
Aug 19, 2019, 7:04:04 AM8/19/19
to TiddlyWiki
Thanks.

As I see what's Next (or TODO List)

The method is in its infancy. Many things need to be done to make it really convenient and effective, including:
  • Further closer integration of the method with the BobEXE server is required. In particular, `tw_builder.m` should be rewritten into Javascript and made a plugin of BobEXE. Among other things, the module will read a wiki list from the BobEXE settings.
  • The wiki directory knows all the wikis included. Therefore, it would be a natural development to organize a contextual search from the wiki directory for all wikis included in the directory (wiki farms). An inspiring example of such wiki interaction is the Tiddliwiki's command - `fetch` (see documentation). The `fetch` command, in conjunction with commands such as `rendertiddler` or `savetiddler`, allow you to copy selected selected tiddlers or groups of tiddlers from one wiki to another.
  • Wide creating of online wiki directories is possible as a result of the introduction of a standard for wiki's external representation. This may be a standard tiddler containing the logo and fields set required to describe the wiki in the external directory. Or it may be a more complex plugin type structure. It is important that this internal wiki object can be uniquely identified from the outside and then copied (means `fetched`) to the wiki directory.
  • Implementing the projects' filtration and pagination methods for their viewing, filtering and grouping in the directory.

понеділок, 19 серпня 2019 р. 13:45:50 UTC+3 користувач @TiddlyTweeter написав:

oleghbond

unread,
Oct 20, 2019, 2:45:55 PM10/20/19
to TiddlyWiki
I've just issued the second version of TW farm (https://github.com/protw/twfarm). It is re-written completely in JS for node instead of Octave. So, now it looks more natural in the TW environment.

Now I have got an ambition to include TW Farm method into BobEXE as a plugin. I'm not a programmer and not familiar with the TW programming environment at all. 

That is why I'm looking for TW experts interested in raising this task. Any ideas and suggestions are appreciated.

Olegh Bondarenko

неділя, 18 серпня 2019 р. 21:42:19 UTC+3 користувач oleghbond написав:

TonyM

unread,
Oct 20, 2019, 5:46:51 PM10/20/19
to TiddlyWiki
Olegh

This looks like a valuable contribution. Consider posting in the https://groups.google.com/forum/?hl=en#!forum/tiddlywikidev group as that is more oriented to development of tiddlywiki and its features over simply using it.

I would help more but my knowledge of GitHub is insufficient at this point in time. 

Thanks for your contributions

Regards
Tony

oleghbond

unread,
Oct 21, 2019, 2:01:05 AM10/21/19
to TiddlyWiki
Thanks. I'll do... https://groups.google.com/forum/?hl=en#!topic/tiddlywikidev/xlcJpCUzJJk

понеділок, 21 жовтня 2019 р. 00:46:51 UTC+3 користувач TonyM написав:
Reply all
Reply to author
Forward
0 new messages