From e2d35751e2de14c4b728f4e6d71328ce1a94f01f Mon Sep 17 00:00:00 2001
From: "jeremy@jermolene.com" We welcome contributions to the code and documentation of TiddlyWiki in several ways: There are other ways to help TiddlyWiki too. Like other OpenSource projects, TiddlyWiki5 needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the UnaMesa Association (the legal entity that owns TiddlyWiki on behalf of the community). Create a GitHub pull request to add your name to step by step The CLA documents used for this project were created using Harmony Project Templates. "HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "HA-CLA-E-LIST Version 1.0" for "CLA-entity". If you do not own the copyright in the entire work of authorship: In this case, please clearly state so and provide links and any additional information that clarify under which license the rest of the code is distributed.
+ Here we focus on contributions via GitHub Pull Requests but there are many other ways that anyone can help the TiddlyWiki project, such as reporting bugs or helping to improve our documentation. PRs must meet these minimum requirements before they can be considered for merging: The "imperative mood" means written as if giving a command or instruction. See this post for more details, but the gist is that the title of the PR should make sense when used to complete the sentence "If applied, this commit will...". So for example, these are good PR titles: These a poorly worded PR titles: PR titles may also include a short prefix to indicate the subsystem to which they apply. For example: One of the principles of open source is that many pairs of eyes on the code can improve quality. So, we welcome comments and critiques of pending PRs. Conventional Comments has some techcniques to help make comments as constructive and actionable as possible. Notably, they recommend prefixing a comment with a label to clarify the intention: Like other OpenSource projects, TiddlyWiki5 needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the UnaMesa Association (the legal entity that owns TiddlyWiki on behalf of the community). Create a GitHub pull request to add your name to step by step The CLA documents used for this project were created using Harmony Project Templates. "HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "HA-CLA-E-LIST Version 1.0" for "CLA-entity".
This file was automatically generated by TiddlyWiki5
Welcome to TiddlyWiki, a non-linear personal web notebook that anyone can use and keep forever, independently of any corporation. TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a single HTML file in the browser or as a powerful Node.js application. It is highly customisable: the entire user interface is itself implemented in hackable WikiText. Learn more and see it in action at https://tiddlywiki.com/ Developer documentation is in progress at https://tiddlywiki.com/dev/
The TiddlyWiki discussion groups are mailing lists for talking about TiddlyWiki: requests for help, announcements of new releases and plugins, debating new features, or just sharing experiences. You can participate via the associated website, or subscribe via email. There are several resources for developers to learn more about TiddlyWiki and to discuss and contribute to its development. New releases of TiddlyWiki, TiddlyDesktop and TiddlyFox are announced via the discussion groups and Twitter (you can also subscribe to an Atom/RSS feed of TiddlyWiki releases from GitHub) There is also a discussion group specifically for discussing TiddlyWiki documentation improvement initiatives: https://groups.google.com/group/tiddlywikidocs
Contributing to TiddlyWiki5
Contributor License Agreement
How to sign the CLA
cla-individual.md
or cla-entity.md
, with the date in the format (YYYY/MM/DD).tiddlywiki-com
Jeremy Ruston, @Jermolene, 2011/11/22
Remarks
Contributing to TiddlyWiki5
Rules for Pull Requests
Imperative Mood for PR Titles
If applied, this commit will edit text widgets should use default text for missing fieldsIf applied, this commit will signing the CLAIf applied, this commit will don't crash if options.event is missingCommenting on Pull Requests
praise Praises highlight something positive. Try to leave at least one of these comments per review. Do not leave false praise (which can actually be damaging). Do look for something to sincerely praise nitpick Nitpicks are small, trivial, but necessary changes. Distinguishing nitpick comments significantly helps direct the reader's attention to comments requiring more involvement suggestion Suggestions are specific requests to improve the subject under review. It is assumed that we all want to do what's best, so these comments are never dismissed as “mere suggestions”, but are taken seriously issue Issues represent user-facing problems. If possible, it's great to follow this kind of comment with a suggestion question Questions are appropriate if you have a potential concern but are not quite sure if it's relevant or not. Asking the author for clarification or investigation can lead to a quick resolution thought Thoughts represent an idea that popped up from reviewing. These comments are non-blocking by nature, but they are extremely valuable and can lead to more focused initiatives and mentoring opportunities chore Chores are simple tasks that must be done before the subject can be “officially” accepted. Usually, these comments reference some common process. Try to leave a link to the process description so that the reader knows how to resolve the chore Contributor License Agreement
How to sign the CLA
cla-individual.md
or cla-entity.md
, with the date in the format (YYYY/MM/DD).tiddlywiki-com
Jeremy Ruston, @Jermolene, 2011/11/22
Join the Community
Users
Developers
Documentation
apt-get install nodejs
on Debian/Ubuntu Linux or Termux for Android, or brew install node
on a Macnpm install -g tiddlywiki
If it fails with an error you may need to re-run the command as an administrator:sudo npm install -g tiddlywiki
(Mac/Linux)
tiddlywiki --version
tiddlywiki mynewwiki --init server
to create a folder for a new wiki that includes server-related componentstiddlywiki mynewwiki --listen
to start TiddlyWikitiddlywiki mynewwiki --build index
The -g
flag causes TiddlyWiki to be installed globally. Without it, TiddlyWiki will only be available in the directory where you installed it.
If you are using Debian or Debian-based Linux and you are receiving a node: command not found
error though node.js package is installed, you may need to create a symbolic link between nodejs
and node
. Consult your distro's manual and whereis
to correctly create a link. See github issue 1434
Example Debian v8.0: sudo ln -s /usr/bin/nodejs /usr/bin/node
You can also install prior versions like this:
npm install -g tiddlywiki@5.1.13
TiddlyWiki5 includes a set of Commands for use on the command line to perform an extensive set of operations based on TiddlyWikiFolders, TiddlerFiles and TiddlyWikiFiles.
For example, the following command loads the tiddlers from a TiddlyWiki HTML file and then saves one of them in static HTML:
tiddlywiki --verbose --load mywiki.html --rendertiddler ReadMe ./readme.html
Running tiddlywiki
from the command line boots the TiddlyWiki 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.
New in: 5.1.20 First, there can be zero or more plugin references identified by the prefix +
for plugin names or ++
for a path to a plugin folder. These plugins are loaded in addition to any specified in the TiddlyWikiFolder.
The next argument is the optional path to the TiddlyWikiFolder to be loaded. If not present, then the current directory is used.
The commands and their individual arguments follow, each command being identified by the prefix --
.
tiddlywiki [+<pluginname> | ++<pluginpath>] [<wikipath>] [--<command> [<arg>[,<arg>]]]
For example:
tiddlywiki --version
+Installing TiddlyWiki on Node.js
- Install Node.js
- either from your favourite package manager: typically
apt-get install nodejs
on Debian/Ubuntu Linux or Termux for Android, or brew install node
on a Mac - or directly from http://nodejs.org
- Open a command line terminal and type:
npm install -g tiddlywiki
If it fails with an error you may need to re-run the command as an administrator:sudo npm install -g tiddlywiki
(Mac/Linux)
- Check TiddlyWiki is installed by typing:
tiddlywiki --version
- In response, you should see TiddlyWiki report its current version (eg "5.1.24-prerelease"; you may also see other debugging information reported)
- Try it out:
tiddlywiki mynewwiki --init server
to create a folder for a new wiki that includes server-related componentstiddlywiki mynewwiki --listen
to start TiddlyWiki- Visit http://127.0.0.1:8080/ in your browser
- Try editing and creating tiddlers
- Optionally, make an offline copy:
- click the save changes button in the sidebar, OR
tiddlywiki mynewwiki --build index
The -g
flag causes TiddlyWiki to be installed globally. Without it, TiddlyWiki will only be available in the directory where you installed it.
If you are using Debian or Debian-based Linux and you are receiving a node: command not found
error though node.js package is installed, you may need to create a symbolic link between nodejs
and node
. Consult your distro's manual and whereis
to correctly create a link. See github issue 1434
Example Debian v8.0: sudo ln -s /usr/bin/nodejs /usr/bin/node
You can also install prior versions like this:
npm install -g tiddlywiki@5.1.13
Using TiddlyWiki on Node.js
TiddlyWiki5 includes a set of Commands for use on the command line to perform an extensive set of operations based on TiddlyWikiFolders, TiddlerFiles and TiddlyWikiFiles.
For example, the following command loads the tiddlers from a TiddlyWiki HTML file and then saves one of them in static HTML:
tiddlywiki --verbose --load mywiki.html --rendertiddler ReadMe ./readme.html
Running tiddlywiki
from the command line boots the TiddlyWiki 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.
New in: 5.1.20 First, there can be zero or more plugin references identified by the prefix +
for plugin names or ++
for a path to a plugin folder. These plugins are loaded in addition to any specified in the TiddlyWikiFolder.
The next argument is the optional path to the TiddlyWikiFolder to be loaded. If not present, then the current directory is used.
The commands and their individual arguments follow, each command being identified by the prefix --
.
tiddlywiki [+<pluginname> | ++<pluginpath>] [<wikipath>] [--<command> [<arg>[,<arg>]]]
For example:
tiddlywiki --version
tiddlywiki +plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb mywiki --listen
tiddlywiki ++./mygreatplugin mywiki --listen
New in: 5.1.18 Commands such as the ListenCommand that support large numbers of parameters can use NamedCommandParameters to make things less unwieldy. For example:
tiddlywiki wikipath --listen username=jeremy port=8090
See Commands for a full listing of the available commands.
Upgrading TiddlyWiki on Node.js
If you've installed TiddlyWiki on Node.js on the usual way, when a new version is released you can upgrade it with this command:
npm update -g tiddlywiki
On Mac or Linux you'll need to add sudo like this:
sudo npm update -g tiddlywiki
Also see
- TiddlyWikiFolders
- MultiTiddlerFileSyntax
- MultiTiddlerFiles
- TiddlerFiles
- Generating Static Sites with TiddlyWiki
- How to build a TiddlyWiki5 from individual tiddlers
- Using TiddlyWiki for GitHub project documentation
- Using a custom path prefix with the client-server edition
- Building TiddlyWikiClassic
- Customising Tiddler File Naming
- Environment Variables on Node.js
- Installing TiddlyWiki Prerelease on Node.js
- Installing custom plugins on Node.js
- Scripts for TiddlyWiki on Node.js
- Node.js on Termux
- Working with the TiddlyWiki5 repository
- Installing a plugin from the plugin library
- Internet Information Services
This readme file was automatically generated by TiddlyWiki