inmysocks / plugindevelopment Goto Github PK
View Code? Open in Web Editor NEWA demo setup for developing plugins for tiddlywiki 5
A demo setup for developing plugins for tiddlywiki 5
It seems one needs to make Wikis
directory in advance
Run the MakeWiki.sh shows an error like below
Error: Error creating directory './Wikis/nella'
New wiki created in /c/Temp/PluginDevelopment-master/Wikis/ using empty edition
While it says a new wiki is created but it is not correct!
If I make the Wikis manually then it works fine
You can check "make this a template" in repo config, so we can create repo in a click.
Assume you put the PluginDevelopment in a folder like below
C:/Jed Carty/PluginDevelopment
and then run the Setup.sh
It creates new folder asC:/Jed again!
When I removed the space and use the folder like
C:/JedCarty/PluginDevelopment
it works fine. Note to space in Jed Carty
To reproduce
#####@#####-####### MINGW64 ~
$ cd PluginDevelopment
#####@#####-####### MINGW64 ~/PluginDevelopment (master)
$ ./Setup.sh
Welcome to the setup script!
Run this script to help setup your development environment for tiddlywiki 5.
If you move your plugin development folder you must re-run this script.
Checking for newer versions of tiddlywiki
From https://github.com/Jermolene/TiddlyWiki5.git
You have the newest version, v5.1.22
Enter the author name, this will be used as the author name for plugins you
create. It can be changed in the future by reruning this script or editing
Author.txt
Author Name (press enter to leave as DEFAULTAUTHOR):
aaa
#####@#####-####### MINGW64 ~/PluginDevelopment (master)
$ ./MakePlugin.sh PluginTest
New empty plugin created in /c/Users/#####/PluginDevelopment/Plugins/aaa/PluginTest.
Error: Error creating directory 'C:/Users/#####/PluginDevelopment/Wikis/aaa/PluginTest'
Error creating wiki. If you make a bug report please include all the output after you ran MakeWiki.sh
sed: can't read ./Wikis/aaa/PluginTest/tiddlywiki.info: No such file or directory
Any help much appreciated. Thanks
This is what I got on the terminal when I run Setup.sh
$ ./Setup.sh
Welcome to the setup script!
Run this script to help setup your development environment for tiddlywiki 5.
If you move your plugin development folder you must re-run this script.
Patching tiddlywiki to work with this version of the plugin library
creator.
s/collectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.pluginsPath))\;/var pluginsPaths = $tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar);for(var u
=0; u<pluginsPaths.length; u++) {collectPublisherPlugins(pluginsPaths[u]);}/g
sed: can't read s/collectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.pluginsPath))\;/var pluginsPaths = $tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsE
nvVar);for(var u=0; u<pluginsPaths.length; u++) {collectPublisherPlugins(pluginsPaths[u]);}/g: No such file or directory
sed: can't read s/collectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.themesPath))\;/var themesPaths = $tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVa
r);for(var u=0; u<themesPaths.length; u++) {collectPublisherPlugins(themesPaths[u]);}/g: No such file or directory
sed: can't read s/collectPlugins(path.resolve($tw.boot.corePath,$tw.config.languagesPath))\;/var languagesPaths = $tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEn
vVar);for(var u=0; u<languagesPaths.length; u++) {collectPlugins(languagesPaths[u]);}/g: No such file or directory
Enter the author name, this will be used as the author name for plugins you
create. It can be changed in the future by reruning this script or editing
Author.txt
Author Name (press enter to leave as DEFAULTAUTHOR):
After successful creating plugins and testing them, I create plugin library using:
./MakePluginLibrary.sh
and the output directory with library was created. It has
So everything was successful!
Then I used github pages to host static files, and did all configuration
I used the library in tiddlywiki.com but I noticed library is empty.
I investigated the index.html and I see the below
var assetList = ;
/*\
title: $:/plugins/tiddlywiki/pluginlibrary/libraryserver.js
type: application/javascript
module-type: library
A simple HTTP-over-window.postMessage implementation of a standard TiddlyWeb-compatible server. It uses real HTTP to load the individual tiddler JSON files.
\*/
(function(){
While this should be the list of plugins
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.