TiddlyServer upgraded to 5.1.22 (and NPM install)

497 views
Skip to first unread message

Arlen Beiler

unread,
Apr 24, 2020, 4:39:44 PM4/24/20
to TiddlyWiki
Hello Everyone,

I've upgraded TiddlyServer to target 5.1.22. 

@someguynamedmatt helped rearrange the build process, resulting in a clean production build. So, I've now published TiddlyServer to npm and you can install it by running 

     npm install -g tiddlyserver

This will install it globally, which also puts it in your PATH, so you can run it directly using 

     tiddlyserver --config /path/to/settings.json

Windows should also work just fine. You can use the tilde (~) if your shell supports it. I forgot to include tilde support for the config parameter (if the shell passes it through). I'll add that in the future. 

If you don't have npm installed or you want to do a portable install, you'll find the archives listed at https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I downloaded the tgz files from npm, and the zip files are the same archive converted to a zip file. 

I've separated out the tiddlywiki bundle into a separate npm package. If you're familiar with that it's still the same idea. I will add more info to the readme, but for now it's ready to use. It also includes the client-side .js files for adding in an html page, which probably nobody uses yet. I'm still working on the use cases and so forth for that, so that's just a little teaser. 


As always, remember to create backups before upgrading.

Enjoy, 
Arlen

Saq Imtiaz

unread,
Apr 24, 2020, 4:59:06 PM4/24/20
to TiddlyWiki
Can I use my own copy of the TiddlyWiki code by setting this appropriately?

"_datafoldertarget":"/path/to/tiddlywiki"

Thanks,
Saq

Arlen Beiler

unread,
Apr 24, 2020, 5:36:54 PM4/24/20
to TiddlyWiki
Yes. It is used for data folders and also the entire folder is served at /assets/tiddlywiki/. None of the regular TiddlyServer stuff applies to it (like permissions, file saving, loading data folders), it just serves the requested file if it exists.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/42faaabd-136e-4ff4-9919-25a6ab7864a0%40googlegroups.com.

Mohammad

unread,
Apr 25, 2020, 1:32:21 AM4/25/20
to TiddlyWiki
Many thanks Arlen!

I like the portable feature of Tiddlyserver. I go though and will let you know of any comment.

--Mohammad

Mohammad

unread,
Apr 25, 2020, 10:25:42 AM4/25/20
to TiddlyWiki


On Saturday, April 25, 2020 at 1:09:44 AM UTC+4:30, Arlen Beiler wrote:
Hello Everyone,

I've upgraded TiddlyServer to target 5.1.22. 

@someguynamedmatt helped rearrange the build process, resulting in a clean production build. So, I've now published TiddlyServer to npm and you can install it by running 

     npm install -g tiddlyserver

This will install it globally, which also puts it in your PATH, so you can run it directly using 

     tiddlyserver --config /path/to/settings.json

Windows should also work just fine. You can use the tilde (~) if your shell supports it. I forgot to include tilde support for the config parameter (if the shell passes it through). I'll add that in the future. 

If you don't have npm installed or you want to do a portable install, you'll find the archives listed at https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I downloaded the tgz files from npm, and the zip files are the same archive converted to a zip file. 

Arlen,
I downloaded the zip file on Windows 10 with node 12 installed! I cannot see any tiddlyserver.cmd server.js ...?
 How can I run and use Tiddlyserver using Portable install?

--Mohammad

Mark S.

unread,
Apr 25, 2020, 10:47:30 PM4/25/20
to TiddlyWiki
Because each zip file extracts with "package" dir, I'm lost what the final structure is supposed to be after the two packages are combined. Could you give a quick (text based) diagram of the structure?

 ~/TiddlyServer/node_modules/package/<bunch of dirs>

or

 ~/TiddlyServer/node_modules/tiddlywiki-production/<bunch of dirs>

or ???

I kind of lose track of which directory you mean by "it" in your release instructions.

Thanks!

Mark S.

unread,
Apr 25, 2020, 11:14:10 PM4/25/20
to TiddlyWiki
I'm running Linux, but like Mohammad I don't see a server.js file in the unzipped packages.

Arlen Beiler

unread,
Apr 26, 2020, 9:00:02 AM4/26/20
to TiddlyWiki
To run it portable, use "node index.js" instead of the "tiddlyserver" command.  (sorry, forgot to mention the name change). 

tiddlyserver-* contains a package folder which should be renamed TiddlyServer.

tiddlywiki-production-* contains a package folder which should become TiddlyServer/node_modules/tiddlywiki-production. In other words, create the node_modules folder, and put the tiddlywiki-production package folder inside that and rename it tiddlywiki-production. 

TiddlyServer 
    This is the package folder from tiddlyserver-*
TiddlyServer/node_modules 
     This is a folder you create
TiddlyServer/node_modules/tiddlywiki-production 
     This is the package folder from tiddlywiki-production-*
TiddlyServer/index.js 
     This is the executable bundle, run "node index.js"

Hope that helps. Let me know if it is still unclear.

I do appreciate you all's feedback, thanks,
Arlen

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Mark S.

unread,
Apr 26, 2020, 4:02:45 PM4/26/20
to TiddlyWiki
The startup didn't like my old 2.0 settings file. The upgrade instructions
say to use example-settings.json file as a starting point. But there are only
two json files in the directories (package.json), and neither are example-settings.json.

On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:
To run it portable, use "node index.js" instead of the "tiddlyserver" command.  (sorry, forgot to mention the name change). 

tiddlyserver-* contains a package folder which should be renamed TiddlyServer.

tiddlywiki-production-* contains a package folder which should become TiddlyServer/node_modules/tiddlywiki-production. In other words, create the node_modules folder, and put the tiddlywiki-production package folder inside that and rename it tiddlywiki-production. 

TiddlyServer 
    This is the package folder from tiddlyserver-*
TiddlyServer/node_modules 
     This is a folder you create
TiddlyServer/node_modules/tiddlywiki-production 
     This is the package folder from tiddlywiki-production-*
TiddlyServer/index.js 
     This is the executable bundle, run "node index.js"

Hope that helps. Let me know if it is still unclear.

I do appreciate you all's feedback, thanks,
Arlen

On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <tiddl...@googlegroups.com> wrote:
I'm running Linux, but like Mohammad I don't see a server.js file in the unzipped packages.

On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
Hello Everyone,

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.

Arlen Beiler

unread,
Apr 26, 2020, 5:07:16 PM4/26/20
to TiddlyWiki
I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is my getting started guide for 2.1 and up. https://arlen22.github.io/tiddlyserver/docs/gettingstarted 

You can just copy the tree property over, but the other settings are different for the most part. 

Arlen

To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com.

Scott Kingery

unread,
Apr 28, 2020, 2:54:18 AM4/28/20
to TiddlyWiki
Hi Arlen,
I have Tiddlyserver working on a previous version and decided to do a fresh install. I like making it portable so I tried to do that again this time. Installing without NPM is a little wonky right now.

And grabbed:
TiddlyServer-2.2.0-alpha-3.zip
tiddlywiki-production-5.1.22.zip

unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
unzipped tiddlywiki-production-5.1.22.zip 

I believe I am supposed to rename the "package" folder that is in tiddlywiki-production-5.1.22.zip 
It is unclear to me whether package should be renamed tiddlywiki and simply put into my twserver folder OR if I should first create a folder called node_modules in twserver, rename package to tiddlywiki-production and put it into node_modules.

Either way, your source currently does not have a server.js file nor can I find an index.js file.

I decided to go the npm route because I have it available as well and was able to get things working with my old setting.json file. Things look pretty good with one exception. Unless I missed something, your plugins are still v5.1.21.

Thanks for building this.
Scott
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.

Arlen Beiler

unread,
Apr 28, 2020, 10:35:36 AM4/28/20
to TiddlyWiki
Here is the folder structure. Hopefully this helps. Let me know if you have any further questions.

TiddlyServer (you can rename this whatever you like)
    This is the package folder from tiddlyserver-*
TiddlyServer/node_modules 
     This is a folder you create
TiddlyServer/node_modules/tiddlywiki-production 
     This is the package folder from tiddlywiki-production-*
TiddlyServer/index.js 
     This is the executable bundle, run "node index.js"

Arlen

To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/66a63833-c4f2-4bdd-b86e-5e26044c1c43%40googlegroups.com.

Mohammad Rahmani

unread,
Apr 28, 2020, 11:35:36 AM4/28/20
to tiddl...@googlegroups.com
Arlen
 I tested on Windows 10. It works fine!
 Just one issue, It cannot create the backups folder and requires to have that folder in advance!

Assume you have a working Node.js on your machine, follow this setup:

1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
2. download tiddlywiki-production-5.1.22.zip and unzip in a separate folder
3. unzipping both in separate folders, both creates package folder
4. create a folder called TiddlyServer and put the content of package folder from step 1
5. create folder node_modulus in TiddlyServer folder
6. create folder tiddlywiki-production under  node_modulus
7. copy and paste the content of package folder from step 2 in  tiddlywiki-production
8. create a setting.json as described in https://github.com/Arlen22/TiddlyServer/
9. open terminal
10. run:  node index.js --config settings.json

That is all!

Slide-42.png



NOTE: You can put your settings.json everywhere you like and create a batch file to run TiddlyServer
example

startServer.cmd
node d:\TiddlyServer\index.js c:\mySandbox\settings.hson


Best wishes
Mohammad


Arlen Beiler

unread,
Apr 28, 2020, 2:03:26 PM4/28/20
to TiddlyWiki
It should be node d:\TiddlyServer\index.js --config c:\mySandbox\settings.hson

Mark S.

unread,
Apr 28, 2020, 2:37:20 PM4/28/20
to TiddlyWiki
What is a hson file?


On Tuesday, April 28, 2020 at 11:03:26 AM UTC-7, Arlen Beiler wrote:
It should be node d:\TiddlyServer\index.js --config c:\mySandbox\settings.hson

Arlen Beiler

unread,
Apr 28, 2020, 2:39:17 PM4/28/20
to TiddlyWiki
I'm very sure that was a typo, but I left it since that was how Mohammad wrote it. In any case, TiddlyServer doesn't care what the extension is, it expects a JSON file. 

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Mohammad

unread,
Apr 28, 2020, 2:42:29 PM4/28/20
to TiddlyWiki
Arlen,

Yes,

 node d:\TiddlyServer\index.js --config c:\mySandbox\settings.json


is the correct one! Sorry for typo!

--Mohammad

On Tuesday, April 28, 2020 at 10:33:26 PM UTC+4:30, Arlen Beiler wrote:
It should be node d:\TiddlyServer\index.js --config c:\mySandbox\settings.hson

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.

Mohammad

unread,
Apr 28, 2020, 2:44:09 PM4/28/20
to TiddlyWiki
Hi Mark,

Oops, It was a typo! hson --> json

The correct one is

 node d:\TiddlyServer\index.js --config c:\mySandbox\settings.json


--Mohammad

Mark S.

unread,
Apr 28, 2020, 2:44:24 PM4/28/20
to TiddlyWiki
Those are nice directions, Mohammad.

Mark S.

unread,
Apr 28, 2020, 2:48:08 PM4/28/20
to TiddlyWiki


On Tuesday, April 28, 2020 at 11:39:17 AM UTC-7, Arlen Beiler wrote:
I'm very sure that was a typo, but I left it since that was how Mohammad wrote it. In any case, TiddlyServer doesn't care what the extension is, it expects a JSON file. 


In your directions (unless they were changed) you mention that you can use an xml file. There is (or was) even a small snippet that used XML. But there were no directions that I could find that told how to invoke an xml file. Is the XML still in there, and if so, how is it invoked?

I swap off between different saving techniques so that I can understand what other people are experiencing. So it's been awhile since I last used tiddlyserver. I feel that this time it is a little faster than before. Is that possible? Or a false memory? ;-)

Thanks!

Arlen Beiler

unread,
Apr 28, 2020, 2:56:19 PM4/28/20
to TiddlyWiki
There are various changes under the hood, and I assume NodeJS is improving as well, so possibly. Using a separate XML file for the tree is a feature that I plan to implement but I have not yet. I just thought the semantics of XML would be less confusing than JSON. You can currently specify a separate JS or JSON file for the tree (which does need to have the correct extension, lol). 

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Arlen Beiler

unread,
Apr 28, 2020, 3:04:26 PM4/28/20
to TiddlyWiki
After doing it myself, I just realized that it is going to be way easier to use NPM to create the portable install. 

  • Create a new folder and cd into the folder.
  • Run "npm install tiddlyserver". Notice there is no -g option there.
  • Create your bash or batch file with the command
    • "node node_modules/tiddlyserver/index.js --config settings.json"
  • You can also download the Node executable and put in in the directory. If using bash, you need to add ./ (dot slash) to the beginning of the command.
That's it! Easy! There are some more changes coming to the NPM dependencies that TiddlyServer uses so this option makes it easy to update as well. Just run "npm install tiddlyserver@latest" on any computer that has NPM installed on it, and you're updated. TiddlyServer specifies the exact TiddlyWiki version so updating TiddlyServer will update the TiddlyWiki dependencies as well. 


Mohammad

unread,
Apr 28, 2020, 3:23:18 PM4/28/20
to TiddlyWiki


  • Create a new folder and cd into the folder.
  • Run "npm install tiddlyserver". Notice there is no -g option there.
  • Create your bash or batch file with the command
    • "node node_modules/tiddlyserver/index.js --config settings.json"
  • You can also download the Node executable and put in in the directory. If using bash, you need to add ./ (dot slash) to the beginning of the command.

Minor comment: it is better to use the full path for index.js


Tested on Windows 10 works!

--Mohammad 

Arlen Beiler

unread,
Apr 28, 2020, 4:19:14 PM4/28/20
to TiddlyWiki
Minor comment: it is better to use the full path for index.js

Interesting. Where did you run into this? I'm curious because it would seem preferable to have a relative path for portable installs, although if you don't need to specify a drive letter on windows, it should work on at least windows and macos mostly consistently. Perhaps specifying the __dirname equivelant in bash would be another idea.  
Message has been deleted

Mohammad

unread,
Apr 29, 2020, 12:29:03 AM4/29/20
to TiddlyWiki
Arlen,
 I mean you may keep wikis in different places in different machines with different settings.json! You are right portability needs relative path!
 So, please go with your own instruction and ignore my comment.

--Mohammad

Mark S.

unread,
Apr 30, 2020, 6:45:33 PM4/30/20
to TiddlyWiki
How do I tell TS where my physical plugin library and/or where do I put a collection of plugins?

Thanks!

On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
Hello Everyone,

Arlen Beiler

unread,
Apr 30, 2020, 7:48:06 PM4/30/20
to TiddlyWiki
You're the second person to ask that in the last few days. This must be a recent change in TiddlyWiki. 

Normally you specify the plugins by name in the tiddlywiki.info file so they get upgraded automatically when you upgrade to a new version of TiddlyWiki. This is definitely the better way to do it, otherwise you will end up running into compatibility issues between core and the official plugins. 

In any case, this would be a TiddlyWiki data folder question. It's not specific to TiddlyServer. 

Apparently you can also drag in the plugin library config tiddler. 
https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Arlen Beiler

unread,
Apr 30, 2020, 7:52:16 PM4/30/20
to TiddlyWiki
Here is my reply in that issue. I also include an example tiddlywiki.info

Like I said, it's not a good idea to use the plugin library with data folders because they won't get upgraded when you upgrade to a newer version of TiddlyWiki. So that's probably why it's not included. 

Mark S.

unread,
Apr 30, 2020, 8:21:29 PM4/30/20
to TiddlyWiki
Let me try again. I'm asking a bit of a different question.

How do I tell TS where to look for additional plugin libraries?

Keep in mind that TS can serve up individual TW files. I would like to make a library of plugins available to those files, the way they can currently load plugins from the official library. Also, if the library was served up on the network, than even TW files that were not being served up (local file) could access the library. There's a way to specify additional plugin paths either for standard node.js on the command line or by using environmental variables. But I don't which, if any, approach TS can use.

Thanks!

On Thursday, April 30, 2020 at 4:52:16 PM UTC-7, Arlen Beiler wrote:
Here is my reply in that issue. I also include an example tiddlywiki.info

Like I said, it's not a good idea to use the plugin library with data folders because they won't get upgraded when you upgrade to a newer version of TiddlyWiki. So that's probably why it's not included. 


On Thu, Apr 30, 2020 at 7:47 PM Arlen Beiler
You're the second person to ask that in the last few days. This must be a recent change in TiddlyWiki. 

Normally you specify the plugins by name in the tiddlywiki.info file so they get upgraded automatically when you upgrade to a new version of TiddlyWiki. This is definitely the better way to do it, otherwise you will end up running into compatibility issues between core and the official plugins. 

In any case, this would be a TiddlyWiki data folder question. It's not specific to TiddlyServer. 

Apparently you can also drag in the plugin library config tiddler. 
https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672
On Thu, Apr 30, 2020 at 6:45 PM 'Mark S.' via TiddlyWiki <tiddl...@googlegroups.com> wrote:
How do I tell TS where my physical plugin library and/or where do I put a collection of plugins?

Thanks!

On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
Hello Everyone,

I've upgraded TiddlyServer to target 5.1.22. 

@someguynamedmatt helped rearrange the build process, resulting in a clean production build. So, I've now published TiddlyServer to npm and you can install it by running 

     npm install -g tiddlyserver

This will install it globally, which also puts it in your PATH, so you can run it directly using 

     tiddlyserver --config /path/to/settings.json

Windows should also work just fine. You can use the tilde (~) if your shell supports it. I forgot to include tilde support for the config parameter (if the shell passes it through). I'll add that in the future. 

If you don't have npm installed or you want to do a portable install, you'll find the archives listed at https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I downloaded the tgz files from npm, and the zip files are the same archive converted to a zip file. 

I've separated out the tiddlywiki bundle into a separate npm package. If you're familiar with that it's still the same idea. I will add more info to the readme, but for now it's ready to use. It also includes the client-side .js files for adding in an html page, which probably nobody uses yet. I'm still working on the use cases and so forth for that, so that's just a little teaser. 


As always, remember to create backups before upgrading.

Enjoy, 
Arlen

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.

Mark S.

unread,
May 1, 2020, 11:57:23 AM5/1/20
to TiddlyWiki

I'm trying to have TS serve up a plugin library.

Everything seems to work, except TS doesn't actually serve up the plugin tiddlers.

I think the problem is that TS isn't serving up static files from sub-directories. Is there a setting that will tell TS to serve up static files more than one level deep?

Thanks!


Arlen Beiler

unread,
May 1, 2020, 2:26:01 PM5/1/20
to TiddlyWiki
TiddlyServer will not serve files within data folders, that is the data folder's job. 

But it doesn't make sense that you would be trying to serve plugin tiddlers from within a data folder, so I'm not quite sure what you're asking. 

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/21a0177e-4165-48a4-b1b4-1db59caba7b9%40googlegroups.com.

Mark S.

unread,
May 1, 2020, 2:45:20 PM5/1/20
to TiddlyWiki
I'm trying to serve up a plugin library. A library is an index.html file with specified directories below it, and some tid files in those directories. Data folders do not have to be involved at all. Just the static server part of TS.

I can accomplish this already by running http-server on node, but that means I have to have two servers running (TS and http-server). It would be convenient if I could just run TS. I set a virtual "library" in settings.json that points to the directory containing the index.html file. I put this path into the url field of a tiddler tagged $:/tags/PluginLibrary. Now I can go into the plugins under control panel and click on "Get More Plugins". It opens up and shows my new, personal library. But when I attempt to install a plugin, it fails.

Ok, I just ran a test. It appears that TS won't serve up JSON files. So maybe my question is, how do I enable TS to serve JSON files?

Thanks!

On Friday, May 1, 2020 at 11:26:01 AM UTC-7, Arlen Beiler wrote:
TiddlyServer will not serve files within data folders, that is the data folder's job. 

But it doesn't make sense that you would be trying to serve plugin tiddlers from within a data folder, so I'm not quite sure what you're asking. 

On Fri, May 1, 2020, 11:57 'Mark S.' via TiddlyWiki <tiddl...@googlegroups.com> wrote:

I'm trying to have TS serve up a plugin library.

Everything seems to work, except TS doesn't actually serve up the plugin tiddlers.

I think the problem is that TS isn't serving up static files from sub-directories. Is there a setting that will tell TS to serve up static files more than one level deep?

Thanks!


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.

Mark S.

unread,
May 1, 2020, 3:07:42 PM5/1/20
to TiddlyWiki
More testing. I added "json" as mimetype. Not sure if that was necessary.

But, when I navigate with TS down the directory, I find that it can't load:

%24%3A%2Fplugins%2FMAS%2FTEST.json

So, maybe TS doesn't like these special characters?

When I changed the name to TEST.json, then even though I can browse the file with either TS or http-server, I couldn't load it as a library with either server. So apparently the url-encoded name structure is important for some reason.

Is there any reason that TS wouldn't be able to load files with url-encoded names?

Thanks!

Arlen Beiler

unread,
May 1, 2020, 5:15:27 PM5/1/20
to TiddlyWiki
What is the request log in the terminal? Can you paste the request lines in here?

To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6d9e4ae1-70a7-422b-bc0e-54505f332b66%40googlegroups.com.

Mark S.

unread,
May 1, 2020, 5:47:49 PM5/1/20
to TiddlyWiki
When I try to access the JSON file, the terminal shows this:

[2020-05-01T14:44:59.021-0700] GET                     - 127.0.0.1 /library/recipes/library/tiddlers/%2524%253A%252Fplugins%252FMAS%252FTEST.json - ms - -

repeatedly (I guess every 2 or 3 minutes). But the browser page is stuck in loading mode, nothing displayed.

Arlen Beiler

unread,
May 1, 2020, 10:39:36 PM5/1/20
to TiddlyWiki
I see. It should work the same with or without TiddlyServer, so it would be better to start a new thread for this because I'm not really as familiar with this part of it. 

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Mark S.

unread,
May 6, 2020, 8:01:27 PM5/6/20
to TiddlyWiki
Reading the docs, it seems like there's supposed to be an upload menu somewhere?? I don't see one on any of the pages, but maybe I've understood something.

Thanks!

Morgaine O'Herne

unread,
May 20, 2020, 11:28:48 PM5/20/20
to TiddlyWiki
Arlen and Matt, thank you for the time and labor you've put into this. 
When I go to the link in my browser there is an empty wiki, but when I edit it and save it, it downloads a saved copy to my Downloads folder, but does not save the original.
Any help is greatly appreciated.

Morgaine O'Herne

Arlen Beiler

unread,
May 21, 2020, 7:43:23 AM5/21/20
to TiddlyWiki
I'm sorry, I'm not completely following. If you open an empty single file wiki, clicking the check mark will download a copy of the wiki at that moment. but autosave is turned on by default so it should already be saving the file back to its original location. 

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Morgaine O'Herne

unread,
May 21, 2020, 10:24:53 PM5/21/20
to tiddl...@googlegroups.com
Yes, and that's exactly what it isn't doing. When I refresh the page, the changes are gone. It is not saving. 

You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/mF_3uxbth0g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR1m%3DXfqCv_MX%2BHXPUTPs8xsEPeWmRbNr7MMqqn3Z-Hkg%40mail.gmail.com.

Arlen Beiler

unread,
May 21, 2020, 10:46:24 PM5/21/20
to TiddlyWiki
What is the terminal (command line) output? If you can copy in the full logs (minus the names if it matters) that would be great. Also, is the checkmark red or grey? And can you verify that your wiki is at least 5.1.15?

Reply all
Reply to author
Forward
0 new messages