This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
tw5-twtube with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
In addition, the TwTube plugin comes with an enhanced TiddlyWiki media(!) server for use on Node.js. This "media TiddlyWiki server" is intended to be used during development of a TiddyWiki using especially video media, but not for production use. For production, deploy the release TiddlyWiki HTML file on your web (media) production server, such as a document sharing point.
The following (TiddlyWiki) plugins are available:
You can install multiple additional player skin plugins simultaneously. There's a new Control Panel tab "Media Player Skins" which shows the currently installed Video.js skin plugins from which you can choose. Of course, there's always the Default Skin.
Visit our TiddlyWiki Video.js live demo.
To install, simply run:
$ git clone https://github.com/TheDiveO/TWTube $ cd TwTube $ npm install
Done; this clones the TwTube GitHub repository, and then installs the required dependencies into your local copy. Sweet'n'simple.
Start the TwTube development TiddlyWiki server:
$ npm start
Watch the demo, read the documentation included in the demo TiddylWiki, and muck around with the code and tiddlers to your likings.
To stop the server:
$ npm stop
Alternatively, you can simply run the
develop script and stop the server then
$ npm run develop
To generate release files:
$ npm run release
The actual release files to generate are wired up in the
./editions/release/tiddlywiki.info configuration file. When you look at it,
you'll notice several sections:
currently four sections starting with
--packplugin commands that package the
contents of a plugin into its plugin tiddler, and then using
--rendertemplatedtiddler render the plugin into a
.tid file for easy
--rendertiddler command then generates the demonstration wiki
HTML file that also includes the final plugins, but not the individual plugin
source tiddlers anymore. So this can be used to test that the plugins work
as expected in a user's TiddlyWiki.