TiddlyDesktop
A custom desktop browser for TiddlyWiki 5 and TiddlyWiki Classic, based on nw.js
Install / Use
/learn @TiddlyWiki/TiddlyDesktopREADME
TiddlyDesktop
TiddlyDesktop is a special purpose web browser for working with locally stored TiddlyWikis. See http://tiddlywiki.com/ for more details of TiddlyWiki.
See this video tutorial for an overview of installing and using TiddlyDesktop on Windows and OS X:
https://www.youtube.com/watch?v=i3Bggkm7paA
It is based on nw.js, a project created and developed in the Intel Open Source Technology Center:
https://github.com/nwjs/nw.js
Download and Install
Download the Windows, linux or Mac binary .zip files from:
https://github.com/TiddlyWiki/TiddlyDesktop/releases
Unzip into a folder and run TiddlyWiki.app or nw.exe and for linux nw
Note that TiddlyDesktop will not work correctly from a Windows UNC network share (eg \\MY-SERVER\SHARE\MyFolder). You should map the network share to a local drive, and run it from there.
Linux AppImage
Linux releases are also available in the AppImage format. The AppImages are compatible with glibc-based Desktop Linux distributions such as Ubuntu, Fedora, and Arch Linux. The AppImages are not compatible with musl-based Linux distributions such as Alpine Linux, nor are they compatible with Linux server distributions; Server distributions don't provide enough of the required dependencies.
To use an AppImage, your Linux distribution must provide fusermount3, which is typically provided in a package named fuse3.
Before you can execute an AppImage, you must set the executable permission:
chmod u+x tiddlydesktop-*-v*.AppImage
Note that AppImages are not currently included in TiddlyDesktop releases. The suggested workaround is to fork this repo in GitHub, and then push a dummy commit to the master branch. That will trigger the CI and produce an AppImage, which you can then access.
NixOS
<details> <summary>Flakes</summary>First add the repository to your inputs.
Point to main branch:
inputs = {
...
tiddly-desktop.url = "github:TiddlyWiki/TiddlyDesktop";
...
};
Point to a rev in main branch:
inputs = {
...
tiddly-desktop.url = "github:TiddlyWiki/TiddlyDesktop/9715840d450b4febec4c24c6fdbd4f74a80a5a12";
...
};
Point to a tag:
inputs = {
...
tiddly-desktop.url = "github:TiddlyWiki/TiddlyDesktop/refs/tags/v0.0.20";
...
};
Then your outputs should look something like this:
outputs = {...} @ inputs: {
# Don't forget to add nixpkgs to your inputs
nixosConfigurations."nixos" = inputs.nixpkgs.lib.nixosSystem {
...
specialArgs = {inherit inputs;};
modules = [
./configuration.nix
...
];
};
};
And finally, somewhere in your configuration.nix:
{inputs, pkgs, ...}: {
...
environment.systemPackages = [
# Note that if `pkgs.stdenv.hostPlatform.system` is anything
# other than x86_64-linux (e.g., your system is ARM), this will fail.
inputs.tiddly-desktop.packages.${pkgs.stdenv.hostPlatform.system}.default
];
...
}
</details>
<details>
<summary>Non-Flakes</summary>
Pinning Tool
First add the pin using your pinning tool.
We assume you are using npins for this example but this can also be done with other similar tools (lon, niv, nvfetcher).
Point to a branch:
npins add github TiddlyWiki TiddlyDesktop -b master
Point to a rev in main branch:
npins add github TiddlyWiki TiddlyDesktop -b master --at 9715840d450b4febec4c24c6fdbd4f74a80a5a12
Point to a tag:
npins add github TiddlyWiki TiddlyDesktop --at v0.0.20
Or point to latest release:
npins add github TiddlyWiki TiddlyDesktop
Then add the package to your systemPackages:
let
sources = import ./npins;
in {
environment.systemPackages = [
(import sources.TiddlyDesktop)
];
}
No Pinning Tool
let
rev = "9715840d450b4febec4c24c6fdbd4f74a80a5a12"; # Or whatever rev you prefer
twdesktop = import (fetchTarball "https://github.com/TiddlyWiki/TiddlyDesktop/archive/${rev}.tar.gz") { };
in {
environment.systemPackages = [
twdesktop
];
}
</details>
Usage
Multiple Configurations
To have separate mutliple instances of TiddlyDesktop (for example, separate Personal and Professional instances), you can pass the --user-data-dir argument. e.g. /opt/TiddlyDesktop/nw --user-data-dir=/mnt/data/TiddlyWiki/config. The property should be a directory to use for holding configuration data.
Developer Tools
The F12 key opens the Chromium developer tools for the current window.
Debugging With VSCode
Instructions for Windows 10 64-bit (updates for other OSs welcome).
- Required software: VScode, Debugger for NWjs plugin installed in vscode
- Download the latest version of TiddlyDesktop-win64-v0.0.15 and unzip it to keep only four folders: html, images, js, tiddlywiki and package.json file
- Download nwjs-sdk-v0.69.1-win-x64, put it in C:\Users\your username.nwjs folder and unzip it. After unzipping you can see the nw.exe program in the .nwjs\nwjs-sdk-v0.69.1-win-x64 folder to indicate that it is correct. (Again, you can use Ctrl + shift + p in vscode to bring up the command to execute the NWjs Install command and select the version to install)
- Use vscode to open the TiddlyDesktop-win64 folder
- Modify the "main" field in the package.json file to "html/main.html"
- Click 'Debug' and select nwjs to automatically create the configuration file laugh.json (no need to modify it). Then click Start to debug.
Releasing with Continuous Integration
- Update the version number in package.json, plus any other changes that should be included
- Run
npm install --save - Make a commit and push it
- Check the build output in the GitHub Actions tab
- Tag that commit with
git tag v0.0.22, the version number you just updated in package.json - Push that tag with
git push origin v0.0.22and a draft release will be created - Edit the draft release: add release notes, edit whatever else might need to be changed. Download its build files and test them
- Switch the draft release to be a public release once it's tested and ready
Building
- Run
download-nwjs.shto download the latest nw.js binaries - Download the TiddlyWiki5 repo from https://github.com/Jermolene/TiddlyWiki5 to a sibling directory to the TiddlyDesktop repo called "TiddlyWiki5"
- Run
bld.sh - Execute
output/mac/TiddlyWiki.apporoutput/win/nw.exeoroutput/linux32/nworoutput/linux64/nw
Related Skills
node-connect
330.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
330.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.3kCommit, push, and open a PR
