2013-02-03 17:11:03 +00:00
< h1 class = '' >
2013-03-01 18:04:53 +00:00
Welcome to < span >
TiddlyWiki5< / span > < / h1 > < div class = 'tw-transclude' >
2013-02-03 17:11:03 +00:00
< p >
2013-03-01 18:04:53 +00:00
Welcome to < span >
TiddlyWiki5< / span > , a reboot of < span >
TiddlyWiki< / span > , the reusable non-linear personal web notebook < span >
first released in 2004< / span > . It is a complete interactive wiki in < span >
JavaScript< / span > that can be run from a single HTML file in the browser or as a powerful < span >
node.js application< / span > .< / p > < p >
< span >
TiddlyWiki< / span > is designed to fit around your brain, giving you a better way of managing information than traditional documents and emails. The fundamental idea is that information is more useful and reusable if we cut it up into the smallest semantically meaningful chunks – < span >
tiddlers< / span > – and give them titles so that they can be structured with links, tags and macros. < span >
TiddlyWiki< / span > aims to provide a fluid interface for working with tiddlers, allowing them to be aggregated and composed into longer narratives.< / p > < p >
< span >
TiddlyWiki5< / span > has many < span >
2013-03-02 13:14:56 +00:00
improvements< / span > over the original. It is currently labelled alpha, meaning it is working but incomplete. It is a great time to get involved and support its < span >
future development< / span > . You can:< / p > < ul >
2013-02-03 17:11:03 +00:00
< li >
2013-03-01 18:04:53 +00:00
Explore its features online at < span >
http://five.tiddlywiki.com/< / span > < / li > < li >
Get involved in the < span >
development on GitHub< / span > < / li > < li >
Join the discussions on < span >
the TiddlyWikiDev Google Group< / span > < / li > < li >
Follow < span >
2013-03-02 13:14:56 +00:00
@TiddlyWiki on Twitter</ span > for the latest news</ li >< li >
Learn how to < span >
help the TiddlyWiki project and community< / span > < / li > < / ul > < / div > < h1 class = '' >
2013-03-01 18:04:53 +00:00
Getting started with < span >
TiddlyWiki< / span > under node.js< / h1 > < div class = 'tw-transclude' >
2013-03-01 16:25:09 +00:00
< p >
2013-03-01 18:04:53 +00:00
< span >
TiddlyWiki5< / span > can be used on the command line to perform an extensive set of operations based on tiddlers, < span >
TiddlerFiles< / span > and < span >
TiddlyWikiFiles< / span > . For example, this loads the tiddlers from a < span >
TiddlyWiki< / span > HTML file and then saves one of them in HTML:< / p > < pre >
2013-03-01 16:25:09 +00:00
node tiddlywiki.js --verbose --load mywiki.html --savetiddler ReadMe ./readme.html< / pre > < h2 class = '' >
Usage< / h2 > < p >
Running < code >
2013-03-01 18:04:53 +00:00
tiddlywiki.js< / code > from the command line boots the < span >
TiddlyWiki< / span > kernel, loads the core plugins and establishes an empty wiki store. It then sequentially processes the command line arguments from left to right. The arguments are separated with spaces.< / p > < p >
2013-03-01 16:25:09 +00:00
The first argument is the optional path to the wiki directory to be loaded. If not present, then the current directory is used.< / p > < p >
The commands and their individual arguments follow, each command being identified by the prefix < code >
--< / code > .< / p > < pre >
node tiddlywiki.js [< wikipath> ] [--< command> [< arg> [,< arg> ]]]< / pre > < h2 class = '' >
Batch Files< / h2 > < p >
2013-03-01 18:04:53 +00:00
For trying < span >
TiddlyWiki5< / span > out under node.js, several batch files are provided:< / p > < ul >
2013-02-03 17:11:03 +00:00
< li >
< code >
2013-03-01 18:04:53 +00:00
bld.sh< / code > builds the new < span >
TiddlyWiki< / span > 5 HTML file< / li > < li >
2013-02-03 17:11:03 +00:00
< code >
2013-03-01 18:04:53 +00:00
2bld.sh< / code > builds < span >
TiddlyWiki< / span > 2.6.5 from its original source< / li > < / ul > < h2 class = '' >
2013-03-01 16:25:09 +00:00
Commands< / h2 > < p >
The following commands are available:< / p > < div class = 'tw-list-frame' >
< div class = 'tw-list-element' >
< span class = 'tw-transclude' >
2013-03-01 16:29:11 +00:00
< h3 class = '' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-view-link' >
2013-03-01 18:04:53 +00:00
< span >
DumpCommand< / span > < / span > < / h3 > < div >
2013-03-01 16:29:11 +00:00
< div class = 'tw-transclude' >
< h3 class = '' >
dump tiddlers< / h3 > < p >
Dump the titles of the tiddlers in the wiki store < / p > < pre >
--dump tiddlers< / pre > < h3 class = '' >
dump tiddler< / h3 > < p >
Dump the fields of an individual tiddler < / p > < pre >
--dump tiddler < title> < / pre > < h3 class = '' >
dump shadows< / h3 > < p >
Dump the titles of the shadow tiddlers in the wiki store < / p > < pre >
--dump shadows< / pre > < h3 class = '' >
dump config< / h3 > < p >
Dump the current core configuration < / p > < pre >
--dump config< / pre > < / div > < / div > < / span > < / div > < div class = 'tw-list-element' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-transclude' >
2013-03-01 16:29:11 +00:00
< h3 class = '' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-view-link' >
2013-03-01 18:04:53 +00:00
< span >
LoadCommand< / span > < / span > < / h3 > < div >
2013-03-01 16:29:11 +00:00
< div class = 'tw-transclude' >
< p >
2013-03-01 18:04:53 +00:00
Load tiddlers from 2.x.x < span >
TiddlyWiki< / span > files (< code >
2013-03-01 16:29:11 +00:00
.html< / code > ), < code >
.tiddler< / code > , < code >
.tid< / code > , < code >
.json< / code > or other files < / p > < pre >
--load < filepath> < / pre > < / div > < / div > < / span > < / div > < div class = 'tw-list-element' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-transclude' >
2013-03-01 16:29:11 +00:00
< h3 class = '' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-view-link' >
2013-03-01 18:04:53 +00:00
< span >
SaveTiddlerCommand< / span > < / span > < / h3 > < div >
2013-03-01 16:29:11 +00:00
< div class = 'tw-transclude' >
< p >
2013-03-01 18:04:53 +00:00
Save an individual tiddler as a specified < span >
ContentType< / span > , defaults to < code >
2013-03-01 16:29:11 +00:00
text/html< / code > < / p > < pre >
--savetiddler < title> < filename> [< type> ]< / pre > < / div > < / div > < / span > < / div > < div class = 'tw-list-element' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-transclude' >
2013-03-01 16:29:11 +00:00
< h3 class = '' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-view-link' >
2013-03-01 18:04:53 +00:00
< span >
ServerCommand< / span > < / span > < / h3 > < div >
2013-03-01 16:29:11 +00:00
< div class = 'tw-transclude' >
< p >
The server is very simple. At the root, it serves a rendering of a specified tiddler. Away from the root, it serves individual tiddlers encoded in JSON, and supports the basic HTTP operations for < code >
GET< / code > , < code >
PUT< / code > and < code >
DELETE< / code > .< / p > < pre >
--server < port> < roottiddler> < rendertype> < servetype> < / pre > < p >
For example:< / p > < pre >
--server 8080 $:/core/tiddlywiki5.template.html text/plain text/html< / pre > < p >
The parameters are:< / p > < pre >
--server < port> < roottiddler> < rendertype> < servetype> < / pre > < ul >
< li >
< strong >
port< / strong > - port number to serve from (defaults to " 8080" )< / li > < li >
< strong >
roottiddler< / strong > - the tiddler to serve at the root (defaults to " $:/core/tiddlywiki5.template.html" ) < / li > < li >
< strong >
rendertype< / strong > - the content type to which the root tiddler should be rendered (defaults to " text/plain" )< / li > < li >
< strong >
servetype< / strong > - the content type with which the root tiddler should be served (defaults to " text/html" )< / li > < / ul > < / div > < / div > < / span > < / div > < div class = 'tw-list-element' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-transclude' >
2013-03-01 16:29:11 +00:00
< h3 class = '' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-view-link' >
2013-03-01 18:04:53 +00:00
< span >
VerboseCommand< / span > < / span > < / h3 > < div >
2013-03-01 16:29:11 +00:00
< div class = 'tw-transclude' >
< p >
Triggers verbose output, useful for debugging < / p > < pre >
--verbose< / pre > < / div > < / div > < / span > < / div > < div class = 'tw-list-element' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-transclude' >
2013-03-01 16:29:11 +00:00
< h3 class = '' >
2013-03-01 16:25:09 +00:00
< span class = 'tw-view-link' >
2013-03-01 18:04:53 +00:00
< span >
VersionCommand< / span > < / span > < / h3 > < div >
2013-03-01 16:29:11 +00:00
< div class = 'tw-transclude' >
< p >
2013-03-01 18:04:53 +00:00
Displays the version number of < span >
TiddlyWiki< / span > .< / p > < pre >
2013-03-01 16:29:11 +00:00
--version< / pre > < / div > < / div > < / span > < / div > < / div > < / div > < p >
2013-02-03 17:11:03 +00:00
< em >
2013-03-01 18:04:53 +00:00
This readme file was automatically generated by < span >
TiddlyWiki5< / span > < / em >
2013-02-09 17:08:28 +00:00
< / p >