mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 02:44:48 +00:00
* fix: apply automatic eslint fixes * lint: allow hashbang comment for tiddlywiki.js * lint: first back of manual lint fixes for unused vars * lint: added more fixes for unused vars * lint: missed files * lint: updated eslint config with selected rules from #9669
Utility Scripts
This folder contains tools used to extract the tiddlers from the original HTML file.
All pathnames in these instructions are relative to the root of this repository.
- Load
./editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project.htmin a browser - Open the developer console and paste the script from
./editions/tiddlywiki-surveys/scripts/extract-text-tiddlers-via-console.js. The JSON representation of the text tiddlers will be generated and copied to the clipboard - Paste the resulting JSON into
2010-great-interview-project.jsonin the./tmpfolder in the root of this repository - Open a terminal console in the root of this repository
- Run the script
./editions/tiddlywiki-surveys/scripts/import-great-interview-project-json.sh - Go back to the developer console and copy the text that was output by the previous line. This is quite tricky: it's a big block of text including newlines. It is easiest to scroll back up to find the line starting with
mkdir -pand then select down to the bottom - Paste the results of the previous into the terminal
- Build the wiki with
node ./tiddlywiki.js ./editions/tiddlywiki-surveys --build index
The resulting wiki will be found in ./editions/tiddlywiki-surveys/output/index.html.