Re: [tw5] If I wanted to start a discussion ...

2022-12-10 Thread Arlen Beiler
>From my linux experience, the sweet spot is having everything required to immediately get down to business in every single situation. At minimum, having apt, nano, curl, and ssh installed is pretty much a no brainer. But you don't need the dev tools, you don't need the docker runtime or VMs, you

[tw5] TiddlyServer updated to TiddlyWiki 5.2.1

2022-03-20 Thread Arlen Beiler
Hi everyone, Sorry for the long silence. I've updated TiddlyServer to point to TiddlyWiki 5.2.1 (using my production builds of course). In the future I'll try to get these updated quicker. The process is pretty streamlined for me at this point. Enjoy Arlen -- You received this message because

Re: [tw5] Announcing TiddlyMarker v0.1.0-alpha for Firefox

2022-03-20 Thread Arlen Beiler
To use this with TiddlyServer you just need to make sure you are making all requests relative to the tiddlywiki you are targeting. TiddlyServer loads NodeJS instances dynamically as they are requested. So most likely you are making the call to the root path ("http://localhost/;) and usually that

[tw5] Interesting test for unique string processing

2020-12-29 Thread Arlen Beiler
Here is an interesting test to see which method of unique strings is faster in Javascript. Paste it into your browser console in a new tab and see what happens. for (let r = 0; r < 100; r++) { let test = Math.random().toExponential(10); let count = 1000; let test1 = {}; let test2 = [];

Re: [tw5] TiddlyServer and SSL

2020-09-05 Thread Arlen Beiler
Set the https property to a Javascript file which exports a function named serverOptions. It is called for each listener instance started with one argument and is expected to return the HTTPS options object for HTTPS createServer exports.serverOptions = function(address) { return { key: ...,

Re: [tw5] Running JS REPL inside TW

2020-05-23 Thread Arlen Beiler
I would say if you want to write it yourself, that's probably your best bet. For TiddlyWiki we just use the browser console, and TiddlyWiki doesn't focus on Javascript as a user feature so this isn't a core focus. I would say use a widget. If you look through the /core/modules/widgets/ folder you

Re: [tw5] Re: More redesigning TW. GettingStarted should be revamped.

2020-05-22 Thread Arlen Beiler
I understand the point. I'm not sure that a favorite star would be the most obvious way to do this. I think rather the getting started page should define a few terms (3 terms) that people have trouble with. It could also just present the default tiddlers edit box and explain what it does and where

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Arlen Beiler
t's exactly what it isn't doing. When I refresh the page, the > changes are gone. It is not saving. > > On Thu, May 21, 2020, 5:43 AM Arlen Beiler wrote: > >> I'm sorry, I'm not completely following. If you open an empty single file >> wiki, clicking the check mark will

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Arlen Beiler
help is greatly appreciated. > > Morgaine O'Herne > > On Friday, April 24, 2020 at 2:39:44 PM UTC-6, Arlen Beiler wrote: >> >> Hello Everyone, >> >> I've upgraded TiddlyServer to target 5.1.22. >> >> @someguynamedmatt helped rearrange the build process, r

Re: [tw5] Alternative solution of BobEXE on iPad?

2020-05-15 Thread Arlen Beiler
Actually, though, Bob uses a lighter format that does not load a full wiki server, so if you're looking for something equivalent to Bob, that's going to be easier for someone to come up with than trying to run the full NodeJS server. On Fri, May 15, 2020 at 9:33 AM Arlen Beiler wrote

Re: [tw5] Alternative solution of BobEXE on iPad?

2020-05-15 Thread Arlen Beiler
Basically you need an app that can run NodeJS, and although Bob isn't currently setup for that format, it probably could be. I'm not sure what would be required, nor do I know whether iOS would allow it to run in the background. There are ways to let it run in the background, but they're

Re: [tw5] Re: node.js error message - ?

2020-05-12 Thread Arlen Beiler
And I mean the literal text "undefined". Also, its tiddler type should be "application/json" if it isn't an actual JSON file. I forget off-hand how JSON files are handled exactly, but this one is being parsed as a JSON tiddler. On Tue, May 12, 2020 at 7:49 PM Arlen Beiler

Re: [tw5] Re: node.js error message - ?

2020-05-12 Thread Arlen Beiler
It looks like there is a JSON file with the text undefined, which is valid JSON.stringify output, but not valid JSON.parse input. It might be a JSON file or a .tid file, I'm not sure which. I'm also not sure if it's a regular file in the tiddlers folder or if it's in some other multids file or

Re: [tw5] what's the right way to install plugin(which has dependency) on TW5+node.js?

2020-05-12 Thread Arlen Beiler
You did it correctly. Dependencies are not installed automatically in this case. Why? Probably for security reasons. So you don't update a plugin and suddenly get a new dependency installed. Jeremy has been quite conscious of this over the years. On Sun, May 10, 2020 at 8:24 PM yrosgi L wrote:

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
ion. > > Andy > > > On Saturday, May 9, 2020 at 11:02:45 PM UTC+1, Arlen Beiler wrote: >> >> It seemed strange to me that there would be no logging for that error, >> and that would definitely have been a bug, however in trying to reproduce >> this, I am gettin

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
Do you see any messages like this? syncer-server-filesystem: Dispatching 'save' task: $:/StoryList or any other tiddler title On Sat, May 9, 2020 at 6:02 PM Arlen Beiler wrote: > It seemed strange to me that there would be no logging for that error, and > that would definitely have been

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
/GitHub/TiddlyWiki5-Arlen22/data/tiddlers/$__StoryList.tid' And it comes every second. If the directory cannot be created, there is no error, but then of course the tiddler fails to save. Can you verify that you were running tiddlywiki version 5.1.21 or 5.1.22? On Sat, May 9, 2020 at 5:45 PM Arlen

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
I'm sorry to hear this. As I deal with data folders a lot, I'm investigating this and will open a PR shortly. On Sat, May 9, 2020 at 2:00 AM Andy Redfern wrote: > Folks, > > Started using TiddlyWiki around four weeks ago. I love the friendliness of > the community and the product itself. As a

Re: [tw5] WebServer API error on PUT

2020-05-07 Thread Arlen Beiler
If you try creating a tiddler in the regular wiki and inspect the network request you'll notice there is an x-requested-with header there. That is there to keep random requests from accidentally putting tiddlers. So if you copy that value into your request you should be good to go. On Thu, May 7,

Re: [tw5] Keeping my Node.js TW instance's open tiddler state local to a device (or even browser tab)

2020-05-04 Thread Arlen Beiler
Leave the current text in there and just add that to the end. On Mon, May 4, 2020 at 9:26 AM Arlen Beiler wrote: > I apologize. The sync filter is actually a core syncer feature, not a > plugin syncadaptor feature. > > Add " -[[$:/StoryList]]" to the end of $:/config/SyncF

Re: [tw5] Keeping my Node.js TW instance's open tiddler state local to a device (or even browser tab)

2020-05-04 Thread Arlen Beiler
I apologize. The sync filter is actually a core syncer feature, not a plugin syncadaptor feature. Add " -[[$:/StoryList]]" to the end of $:/config/SyncFilter. Make sure you include the space in between. On Mon, May 4, 2020 at 9:01 AM Arlen Beiler wrote: > Hello, yes this is expe

Re: [tw5] Keeping my Node.js TW instance's open tiddler state local to a device (or even browser tab)

2020-05-04 Thread Arlen Beiler
Hello, yes this is expected behavior and it has been in tiddlywiki for many versions. The TiddlyWeb adapter plugin specifies the sync filter I believe. In any case you seen you simply need to add " -$:/StoryList" to the end of the active sync filter. This problem is only related to the server

Re: [tw5] Advice on set up for self hosted TW accessible on Mac and iOS

2020-05-04 Thread Arlen Beiler
to me like you wanted to be able to access the files on your iPad anywhere on the go. On Mon, May 4, 2020, 00:15 Jared Volpe wrote: > Thanks for the tips. Why Quine 2 instead of just viewing in the browser? > > On Sunday, May 3, 2020 at 2:17:19 PM UTC-7, Arlen Beiler wrote: >> >&

Re: [tw5] Re: Can't Make Upgrade From 5.1.21 to 5.2.22 Happen (node.js)

2020-05-03 Thread Arlen Beiler
Yeah, which would also explain why there is no tiddlywiki command on your $PATH. The --version command will give you the package.json version, which means that it should be more accurate than npm show version It does seem like there's a few problems with your npm install, I think. That's

Re: [tw5] Re: Can't Make Upgrade From 5.1.21 to 5.2.22 Happen (node.js)

2020-05-03 Thread Arlen Beiler
tl/tiddlers/$*__core*_ui_Buttons_save-and-close.tid > > ./dtl/tiddlers/$*__core*_ui_ViewTemplate.tid > > ./dtl/tiddlers/$*__core*_images_done-button.tid > > ./dtl/tiddlers/$*__core*_ui_Buttons_cancel-and-close.tid > > ./dtl/tiddlers/$*__core*_images_new-button.tid > >

Re: [tw5] Re: Can't Make Upgrade From 5.1.21 to 5.2.22 Happen (node.js)

2020-05-03 Thread Arlen Beiler
.tid > > ./dtl/tiddlers/$*__core*_ui_Buttons_cancel-and-close.tid > > ./dtl/tiddlers/$*__core*_images_new-button.tid > > ./dtl/tiddlers/$*__core*_images_options-button.tid > > ./dtl/tiddlers/$*__core*_images_close-button.tid > > ./dtl/tiddlers/$*__core*_images_right-a

Re: [tw5] Network Error Obnoxious on Chrome

2020-05-03 Thread Arlen Beiler
bout the failed upgrade.) > > On Sun, May 3, 2020 at 7:50 PM Arlen Beiler wrote: > >> What is the version number in the control panel. If you click the >> gear icon it will open the control panel, and the main tab should list the >> version. >> >> On Sun, May 3,

Re: [tw5] Re: Can't Make Upgrade From 5.1.21 to 5.2.22 Happen (node.js)

2020-05-03 Thread Arlen Beiler
gin tiddlywiki.js is > /usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js and that > reports 5.1.22. > > I think it is clear that the version I HAVE after attempting to upgrade is > 5.1.21, and npm is somehow broken and thinks I have 5.1.22. > > > On Sun, May 3, 2020 at 5:

Re: [tw5] Network Error Obnoxious on Chrome

2020-05-03 Thread Arlen Beiler
tty much makes node.js TW unusable in offline mode for me. More > importantly, it gets me in trouble with my wife! ;-) > > On Sunday, May 3, 2020 at 5:18:42 PM UTC-4, Arlen Beiler wrote: >> >> This is quite possibly related to your other post. Please try creating a >&g

Re: [tw5] Network Error Obnoxious on Chrome

2020-05-03 Thread Arlen Beiler
This is quite possibly related to your other post. Please try creating a new empty datafolder and only copy the tiddlywiki.info file from your current data folder to get a clean one. Then try testing everything again. On Sun, May 3, 2020 at 4:42 PM Kevin Kleinfelter <

Re: [tw5] Advice on set up for self hosted TW accessible on Mac and iOS

2020-05-03 Thread Arlen Beiler
I would recommend using single file wikis. On your desktop you can use TiddlyServer or TiddlyDesktop to access them. Use Dropbox to sync your folders. And use Quine 2 on iOS to access the files in your dropbox app through the iOS files integration system. Quine 2 allows you to directly access your

Re: [tw5] Re: Can't Make Upgrade From 5.1.21 to 5.2.22 Happen (node.js)

2020-05-03 Thread Arlen Beiler
can you run `which tiddlywiki`? Also, is you current folder a data folder? Meaning is there a tiddlywiki.info file in the folder you are running the tiddlywiki command from? On Sun, May 3, 2020 at 1:34 PM Kevin Kleinfelter < kleinfelter.gro...@gmail.com> wrote: > >- `node

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
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. On Fri, May 1, 2020 at 5:47 PM 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > When I try to access the JSON

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
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

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
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 <

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread Arlen Beiler
/Arlen22/TiddlyServer/issues/94#issuecomment-622179126 On Thu, Apr 30, 2020 at 7:47 PM Arlen Beiler wrote: > 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.

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread Arlen Beiler
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

Re: [tw5] Re: Local-First Storage, with backup to cloud (Github)

2020-04-30 Thread Arlen Beiler
generated data... And for that, i need both to be stored in > RDBMS (just in case you were wondering why :-) > > > On Thursday, April 30, 2020 at 12:23:00 PM UTC+1, Arlen Beiler wrote: >> >> Those last lines are a mystery to me. I've never seen them before. I'll >> chec

Re: [tw5] Re: Local-First Storage, with backup to cloud (Github)

2020-04-30 Thread Arlen Beiler
Yes, if they're properly showing up in the folder then everything is working. Data folders are the second officially supported format in tiddlywiki, after single file wikis. So feel free to just use the data folder, in my opinion you don't need to store it anywhere else. -- You received this

Re: [tw5] Re: Local-First Storage, with backup to cloud (Github)

2020-04-30 Thread Arlen Beiler
es into rows in the SQLite database where i want to store the > data. From what Tony said, i gather it would involve building a sync module > of some sort, but i have no idea how that might be done. Any prior art, or > ideas about this? > > > > On Wednesday, April 29, 2020 a

Re: [tw5] Re: Local-First Storage, with backup to cloud (Github)

2020-04-29 Thread Arlen Beiler
gt; >> -bash: npm: command not found >> Suppose i could use a different package manager, if i knew how (yes, i am >> a complete unix n00b =8-( >> >> Will try to bone up on the requisite skills, but any more crib notes >> would of course be apprecia

Re: [tw5] Re: Local-First Storage, with backup to cloud (Github)

2020-04-29 Thread Arlen Beiler
crib notes would > of course be appreciated! > > /walt > > > On Wednesday, April 29, 2020 at 3:06:52 PM UTC+1, Arlen Beiler wrote: >> >> I have tried doing SQLite but there are some caveats that need to be >> accounted for. >> >> What I would recommend you do is

Re: [tw5] TiddlyWiki API/IFTTT help

2020-04-29 Thread Arlen Beiler
I don't exactly know how IFTTT works, but I think the best way would be to push the content to your Dropbox or somewhere like that and then whenever you open up your wiki you could press the button to import all of the recent stuff from your Dropbox or wherever you have it stored, and it would

[tw5] Re: Question for TiddlyServer users

2020-04-29 Thread Arlen Beiler
if you didn't notice this thread before this. Arlen On Tue, Apr 28, 2020 at 10:51 AM Arlen Beiler wrote: > Good morning everyone, > > As you may have noticed TiddlyServer 2.2 is now in the works, and the main > goals are making it simpler and easier to use. So my question is wh

Re: [tw5] Re: Local-First Storage, with backup to cloud (Github)

2020-04-29 Thread Arlen Beiler
I believe Tony is referring to the fact that a browser session is quickly lost, including the unsaved data, once the user switches to a different app on mobile devices. The only workaround that I know of would be to store unsaved changes in local storage until they get synced. Which is basically

Re: [tw5] Re: Local-First Storage, with backup to cloud (Github)

2020-04-29 Thread Arlen Beiler
I have tried doing SQLite but there are some caveats that need to be accounted for. What I would recommend you do is use data folders instead of single file wikis. Data folders store tiddlers in individual text files using a custom format that Jeremy came up with. It works very well for text

Re: [tw5] Re: [meta] TiddlyWiki and... China - !?

2020-04-28 Thread Arlen Beiler
And Google is blocked in china... On Tue, Apr 28, 2020 at 3:34 PM TiddlyTweeter wrote: > Thomas Elmiger wrote: >> >> >> Mark S.: >>> >>> But why is Switzerland #2? >>> >> >> Is Google Trends considering population size? Then it was me, sorry! >> ;–) >> > > Thomas, have you been cloning? :-) > >

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
> > 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

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
gt; > That is all! > > [image: 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* > > > B

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
a separate JS or JSON file for the tree (which does need to have the correct extension, lol). On Tue, Apr 28, 2020 at 2:48 PM 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > > > On Tuesday, April 28, 2020 at 11:39:17 AM UTC-7, Arlen Beiler wrote: >> >> I'

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
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* >> >> On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani wrote: >> >>> Arlen >

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
node index.js --config settings.json > > That is all! > > [image: 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:\mySan

[tw5] Question for TiddlyServer users

2020-04-28 Thread Arlen Beiler
Good morning everyone, As you may have noticed TiddlyServer 2.2 is now in the works, and the main goals are making it simpler and easier to use. So my question is who all uses the "logging" settings to log directly to a file. I'm planning to remove this to keep things simpler. The recommended way

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
still v5.1.21. > > Thanks for building this. > Scott > > > > On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote: >> >> I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is >> my getting started guide for 2.1 and up. >>

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread Arlen Beiler
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 cha

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread Arlen Beiler
ck, thanks, Arlen On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki < tiddlywiki@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 wro

Re: [tw5] TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-24 Thread Arlen Beiler
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. On Fri, Apr 24, 2020 at 4:59 PM Saq Imtiaz

[tw5] TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-24 Thread Arlen Beiler
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,

Re: [tw5] Re: Possible TiddlyServer, node or Bob Feature idea

2020-04-23 Thread Arlen Beiler
In order to get the server route to work properly, you should need to add exports.bodyFormat === "stream" On Thu, Apr 23, 2020 at 7:01 PM Saq Imtiaz wrote: > Jed, looks like I was on the right track but this will save me a fair bit > of work. > For anyone else interested these are the relevant

Re: [tw5] Re: Possible TiddlyServer, node or Bob Feature idea

2020-04-23 Thread Arlen Beiler
The functionality is already built into TiddlyServer, and it's a standard HTML Form from a folder's directory index. However, all requests relating to data folders are handled by the TiddlyWiki server functions for that data folder, so anything that relates to the files directory or anything else

Re: [tw5] Re: A Portable Tiddlywiki Node.Js on a Thumb Drive

2020-04-20 Thread Arlen Beiler
t; secure computer. I suppose there's only a handful of people who will care > about some obscure directory being written to, but it's a good thing to > keep in mind. > > On Monday, April 20, 2020 at 10:30:23 AM UTC-7, Arlen Beiler wrote: >> >> The node executable its

Re: [tw5] Re: Local host address server tip

2020-04-20 Thread Arlen Beiler
I might have said that last part wrong. The docs should have it correct. On Mon, Apr 20, 2020 at 1:37 PM Arlen Beiler wrote: > TiddlyServer allows you to specify a range of IP addresses to listen on. > > There is more information here: > https://arlen22.github.io/tiddl

Re: [tw5] Re: Local host address server tip

2020-04-20 Thread Arlen Beiler
TiddlyServer allows you to specify a range of IP addresses to listen on. There is more information here: https://arlen22.github.io/tiddlyserver/docs/serverconfig.html#section-bindinfo You might need to experiment a little with different options. BindWildcard only binds to 0.0.0.0 and then

Re: [tw5] Re: A Portable Tiddlywiki Node.Js on a Thumb Drive

2020-04-20 Thread Arlen Beiler
n a secure machine, > whether it would send up some alarm because the disk is being written to. > > Since the idea of a portable tiddlywiki is to not leave any traces, this > is an important consideration. > > On Friday, April 17, 2020 at 1:53:32 PM UTC-7, Arlen Beiler wrote: >> >&

Re: [tw5] Re: A Portable Tiddlywiki Node.Js on a Thumb Drive

2020-04-20 Thread Arlen Beiler
feature you have on node.js > The Twexe and Apache serve single .html > > Just for information > > --Mohammad > > > > On Sunday, April 19, 2020 at 6:24:21 PM UTC+4:30, Arlen Beiler wrote: >> >> Ok, I ran top to see what the memory actually is. My computer is a 1

Re: [tw5] Re: A Portable Tiddlywiki Node.Js on a Thumb Drive

2020-04-20 Thread Arlen Beiler
ry and eats memory! > > Amazingly TWexe assume 4MB per wiki and Apache when is used 33MB (16 + 18) > but none have the feature you have on node.js > The Twexe and Apache serve single .html > > Just for information > > --Mohammad > > > > On Sunday, April 19, 2020 at 6:24:2

Re: [tw5] Re: A Portable Tiddlywiki Node.Js on a Thumb Drive

2020-04-19 Thread Arlen Beiler
and on TiddlyServer both, so it's probably somewhere in TiddlyWiki. On Sun, Apr 19, 2020 at 8:47 AM Arlen Beiler wrote: > People have in the past had problems with memory consumption when using > data folders and because TiddlyServer is intended to load data folders as > faithfully as poss

Re: [tw5] Re: A Portable Tiddlywiki Node.Js on a Thumb Drive

2020-04-19 Thread Arlen Beiler
and can be used on Raspberry Pi and similar > device. > > I am thinking one can put whole of these on an old Android cell phone and > setup a portable NodeJS+Tiddlywiki server > > > > On Saturday, April 18, 2020 at 1:23:32 AM UTC+4:30, Arlen Beiler wrote: >>

Re: [tw5] Possible TiddlyServer, node or Bob Feature idea

2020-04-18 Thread Arlen Beiler
TiddlyServer has this capability. You can upload files and create new directories within directories. You can set the name when you upload it. Currently, if the file exists it will be overwritten. If you cannot see the upload button in the directory index, you are either on a group index (meaning

Re: [tw5] Re: A Portable Tiddlywiki Node.Js on a Thumb Drive

2020-04-17 Thread Arlen Beiler
Another way is to download the zip file from NodeJS.org, and copy the node.exe file into the tiddlywiki folder, then (on windows) run "node.exe tiddlywiki.js". You can download the tiddlywiki folder from GitHub. It sounds like that is slightly more complicated than your method, but just thought

Re: [tw5] iOS Users, Rejoice! Quine 2 is here

2020-03-21 Thread Arlen Beiler
I think that still uses single-file wikis, in which case you're still better off using Quine 2. Good to know about that option though, for other related purposes! On Sat, Mar 21, 2020 at 4:56 PM brianburnham wrote: > Diego, > > Not sure if this helps for your purposes, but I do know you can

Re: [tw5] Re: iOS Users, Rejoice! Quine 2 is here

2020-03-20 Thread Arlen Beiler
orrect? We have to be in single-file mode with TW for this to work? > > > > On Thursday, March 19, 2020 at 9:12:26 PM UTC-5, Arlen Beiler wrote: >> >> In other words, in case I didn't make it clear, the FE File Explorer app >> integrates with the Files app as a storage provider,

[tw5] Re: iOS Users, Rejoice! Quine 2 is here

2020-03-19 Thread Arlen Beiler
didn't test it yet, but I think it should work that way. On Thu, Mar 19, 2020 at 10:06 PM Arlen Beiler wrote: > Not to steal any thunder from Chris Hunt, but I think this deserves a > cross post. > > Quine 2 is "Ready for Sale" and will appear in the App Store almost >

[tw5] iOS Users, Rejoice! Quine 2 is here

2020-03-19 Thread Arlen Beiler
Not to steal any thunder from Chris Hunt, but I think this deserves a cross post. Quine 2 is "Ready for Sale" and will appear in the App Store almost immediately. Sincere thanks to all of the beta testers - it's been so important to have their critical eyes on the App over the last couple of

Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-12 Thread Arlen Beiler
the main thrust. > > Many thanks! > > TT > > Arlen Beiler wrote: >> >> TiddlyWiki is not a multi-user platform. In fact, it is arguably not a >> platform at all. It is actually a syntax. >> > > >> It is a specification, not a library. >> >

Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-12 Thread Arlen Beiler
TiddlyWiki is not a multi-user platform. In fact, it is arguably not a platform at all. It is actually a syntax. It is a specification, not a library. It can be implemented in any language. Jeremy has implemented it in a Javascript library (wikitext parser) and single-user document framework (core

Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread Arlen Beiler
hat is the meaning here of "Wiki"? What does > it add? > > My concern about it is its in a way empty of meaning. > > I think if you used a wiki it makes some sense. But if you haven't? > > Just gentle thoughts > Josiah > > On Monday, 9 March 2020 21:07:52 UTC+1, Arl

Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread Arlen Beiler
AtomicWiki That's another idea. I think it captures the essence of TiddlyWiki. Or the office suite :) NoteWiki SheetWiki SlideWiki TableWiki More ideas PageWiki Coral Platform (the idea of living building blocks) MinnoWiki seems to carry about as much appeal as TiddlyWiki (if you have no

Re: [tw5] Re: GitHub Security

2020-01-15 Thread Arlen Beiler
Guys, a public link is ALWAYS a public link. Never consider it protected in any way if the link itself can get you all the way in without logging in at all. On Tue, Jan 14, 2020 at 14:41 Alfonso Arciniega wrote: > Re Dropbox, the easiest (for me at last) way is: > > >1. Create a new account

Re: [tw5] Re: Please provide a working example of tiddlyserver settings.json with multiple directories and authentication?

2020-01-13 Thread Arlen Beiler
will inherit the parents properties unless it also has an options objects. In that case, each property normally overrides the one above it, and inherits any not specified. On Mon, Jan 13, 2020, 23:14 Arlen Beiler wrote: > By $element: folder, I mean the literal string "folder". >

Re: [tw5] Re: Please provide a working example of tiddlyserver settings.json with multiple directories and authentication?

2020-01-13 Thread Arlen Beiler
By $element: folder, I mean the literal string "folder". On Mon, Jan 13, 2020, 23:13 Arlen Beiler wrote: > Instead of a folder string you use an object containing these properties > > $element: folder > key: optional custom alias (no slashes) > path: the folder st

Re: [tw5] Re: Please provide a working example of tiddlyserver settings.json with multiple directories and authentication?

2020-01-13 Thread Arlen Beiler
Instead of a folder string you use an object containing these properties $element: folder key: optional custom alias (no slashes) path: the folder string $options: an array containing putsaver, backup, and auth options objects, as desired. Now with that in mind, go to this section.

Re: [tw5] Anyone good with bookmarklets? QUick config of tiddlywikis

2020-01-05 Thread Arlen Beiler
A link to a tiddler can be dragged into a different wiki, or dragged to the bookmarks bar then dragged into another wiki for import. Also the best way to load an external file would probably be to append a script tag with src to the body. Haven’t tested it but it should work. On Thu, Jan 2, 2020

Re: [tw5] Bob and TiddlyServer

2019-12-10 Thread Arlen Beiler
I’m not sure. Jed would probably know a lot better. The main feature of TiddlyServer is organization. It lets you reference all your various TiddlyWiki folders and universes across your drives and lets you work with all of them from the browser without messing with different ports and savers and

Re: [tw5] Re: Inclusion of Whole MP3 Files

2019-12-09 Thread Arlen Beiler
There's something called canonical uri which lets you link external files in a way that is similar to including it in the wiki, but I'm not sure about the details. You should be able to find info on tiddlywiki.com. On Thu, Dec 5, 2019 at 3:00 PM Qalisto wrote: > We thank Luis for this thorough

Re: [tw5] Re: Best approach for multiple wikis

2019-12-09 Thread Arlen Beiler
everything's configured correctly. If it says it can't find a module, just let me know. On Mon, Dec 9, 2019 at 8:08 AM Arlen Beiler wrote: > src/generateDirectoryListing.js > > On Sun, Dec 8, 2019 at 2:01 AM Mohammad > wrote: > >> Hi Arlen, >> Where is the landing page of Tiddl

Re: [tw5] Re: Best approach for multiple wikis

2019-12-09 Thread Arlen Beiler
src/generateDirectoryListing.js On Sun, Dec 8, 2019 at 2:01 AM Mohammad wrote: > Hi Arlen, > Where is the landing page of TiddlyServer! > I gonna to give try if I can use TW for landing page! > > --Mohammad > > On Tuesday, December 3, 2019 at 11:30:43 PM UTC+3:3

Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-09 Thread Arlen Beiler
Saturday, December 7, 2019 at 8:31:11 PM UTC+2, Arlen Beiler wrote: >> >> Ok, here's the evalSandboxed code currently. Well, almost, there is one >> change inside the function, but just ignore that. >> /* >> Run code in a sandbox with only the specified context v

Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-07 Thread Arlen Beiler
Ok, here's the evalSandboxed code currently. Well, almost, there is one change inside the function, but just ignore that. /* Run code in a sandbox with only the specified context variables in scope */ $tw.utils.evalSandboxed = $tw.browser ? $tw.utils.evalGlobal : function(code ,context,filename) {

Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-07 Thread Arlen Beiler
You can google the specs for the raspberry pi 3, but it’s about what you described. And yes, it’s either a USB or MicroSD that it’s reading from, but that problem was already eliminated by the core plugin file fix above and it still takes 56 seconds for TiddlyWiki Node to load the core and run the

Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-07 Thread Arlen Beiler
No. It’s a problem I’ve run into before. Slow processor speed is the main culprit I think. What version of node are you using? On Sat, Dec 7, 2019 at 00:18 TonyM wrote: > that would mean something is broken then? > > On Saturday, December 7, 2019 at 2:48:57 PM UTC+11, Arlen Bei

Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-06 Thread Arlen Beiler
I just realized he was timing the runtime of the --version flag, which would literally load only the core plugin and nothing else. So that's almost 90 seconds to just load the core. On Fri, Dec 6, 2019 at 9:29 PM TonyM wrote: > Florian, > > Add a Splash screen to startup if not already and

Re: [tw5] Taking Node Server to the next level

2019-12-06 Thread Arlen Beiler
All three of those sites have an OAuth flow setup for that. Basically you get redirected to the login page and then the login page returns a code back to the client page. Wordpress might just involve using the browser session, though, I’m not sure. On Fri, Dec 6, 2019 at 07:58 bimlas wrote: >

Re: [tw5] TiddlyWiki starting time is sooooo slow

2019-12-06 Thread Arlen Beiler
In my experience, there are two things which are the main startup bottlenecks. The first is that evalSandboxed (in boot.js) runs every module in a new context. If you change it to all of them using one separate context which you create outside the function, it should speed things up some. This

Re: [tw5] Re: A client-side datafolder - Working Prototype

2019-12-06 Thread Arlen Beiler
A bag is a group of tiddlers. Currently each TiddlyWiki5 is one bag, for example. A recipe loads a list of bags in order with higher priority overriding lower priority. Saving works in a similar fashion. It's something from the TiddlyWiki classic days that newer users are probably not familiar

Re: [tw5] Taking Node Server to the next level

2019-12-06 Thread Arlen Beiler
WordPress (that's an interesting but very feasible suggestion), Google, and Github all support multi-user editing natively, so each user would have their own login credentials. On Fri, Dec 6, 2019 at 6:54 AM bimlas wrote: > Jeremy, TonyM, > > Another interesting sync adaptor would be one that

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread Arlen Beiler
>> how it gets set. >> >> Thanks! >> >> On Thursday, December 5, 2019 at 12:55:52 PM UTC-8, Arlen Beiler wrote: >>> >>> You can disable etag checking completely if you want. If you can include >>> some more examples from the log file that woul

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread Arlen Beiler
rver itself is located in C:\Program > Files\TiddlyServer2.1 > Dont forget backups which is used to backup single file wikis > > One question: > > I see Tiddlyserver knows path like ~\Desktop? Does it also recognize > absolute path? > > > --Mohammad > > > > O

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread Arlen Beiler
copy a different version to the directory, the browser > version should be "king". > > Perhaps checking the date slows things down. It's noticeably slower saving > a single-file wiki with TS than with BobSaver or file-backups. > > Thanks! > > On Wednesday, December

[tw5] A client-side datafolder - Working Prototype

2019-12-05 Thread Arlen Beiler
I have a working prototype for the client-side data folders. The reason I call them client-side is because they are stored on disk exactly as they appear on the client, and are deserialized directly from disk when requested. The client tiddlers are lazy loaded, which TiddlyWiki has supported for

  1   2   3   4   5   6   7   >