Discussion:
[tw] Laptop + Mobile access = TiddlyServer?
Glenn D
2017-10-02 15:39:44 UTC
Permalink
If I want to view and edit from multiple devices would the server be the
best implementation?

If I install it on my Raspberry Pi, would I be able to edit using
TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/07672d0b-9db2-47ca-861b-f7bb0bf915ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jed Carty
2017-10-02 16:17:29 UTC
Permalink
I am working on getting this set up right now.

From what I have done so far the setup you are going to want is the
Raspberry Pi running TiddlyServer https://github.com/Arlen22/TiddlyServer

At the moment setup is manual and ensuring that you don't try to edit the
same wiki from two devices at the same time is up to you. I am exploring
options for configuration and possibly a multi-user (or concurrent device)
set-up.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4afdf367-a95c-474d-b590-6fc3a49fdde1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-10-02 19:40:57 UTC
Permalink
...you are going to want is the Raspberry Pi running TiddlyServer
https://github.com/Arlen22/TiddlyServer
Off topic, but may I ask how well TW performs on standard Raspi? Loading
time, editing tids, etc?

<:-)
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a71b0645-df43-4c4b-b41d-8a3330e2e235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jed Carty
2017-10-02 16:18:24 UTC
Permalink
If you are using TiddlyServer than you don't need anything like TiddlyFox
or TiddlyDesktop, you just visit the URL for the server and saving is
handled by the server.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7f83d1f8-cee4-49ed-a80b-2b362e3011a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-10-02 16:19:26 UTC
Permalink
Do you want ONE TW that you can edit from different devices? In so, maybe
look to Noteself that handles the syncing well. https://noteself.github.io/

Best wishes
Josiah
Post by Glenn D
If I want to view and edit from multiple devices
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5e16ddda-a79c-4d84-9d4a-19e7b023f7b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Glenn D
2017-10-02 18:16:29 UTC
Permalink
What if one of my devices is my iPhone running Firefox?
Post by @TiddlyTweeter
Do you want ONE TW that you can edit from different devices? In so, maybe
look to Noteself that handles the syncing well.
https://noteself.github.io/
Best wishes
Josiah
Post by Glenn D
If I want to view and edit from multiple devices
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3c84d167-3cfe-4e37-8ac4-b924fa8869ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Lost Admin
2017-10-02 16:57:22 UTC
Permalink
If you are going to the extent of putting a server on a Raspberry Pi, why
not setup a proper web server? Apache with either webdav (for the dav
saver) or mod_php for the store.php used by tiddlyspot (it's on Github)
will give you a lot more flexibility.

You can even have ssl/tls if you register a domain. You can use Letsencrypt
for the certificate for free with readily available scripts.
Post by Glenn D
If I want to view and edit from multiple devices would the server be the
best implementation?
If I install it on my Raspberry Pi, would I be able to edit using
TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Arlen Beiler
2017-10-02 17:31:49 UTC
Permalink
If using DAV saver, TiddlyServer will prevent overwriting the server with a
stale copy if you are working on more than one device. Apache is supposed
to do this, but we were having trouble with it, so I'm not sure where it
stands.

Here is the link to the discussion. https://groups.google.com/d/
msgid/tiddlywiki/3206b23b-d4e5-4fe3-8984-70b449b7218c%
40googlegroups.com?utm_medium=email&utm_source=footer
Post by Lost Admin
If you are going to the extent of putting a server on a Raspberry Pi, why
not setup a proper web server? Apache with either webdav (for the dav
saver) or mod_php for the store.php used by tiddlyspot (it's on Github)
will give you a lot more flexibility.
You can even have ssl/tls if you register a domain. You can use
Letsencrypt for the certificate for free with readily available scripts.
Post by Glenn D
If I want to view and edit from multiple devices would the server be the
best implementation?
If I install it on my Raspberry Pi, would I be able to edit using
TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSQ%3DtCCgzbZ5E0rfhJsqZ0e%3DbK3oQYqa7%2BiMVLU3RPa2sA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Lost Admin
2017-10-03 14:14:00 UTC
Permalink
I've done some pretty thorough testing on this. Where it stands is this:

After you save to the Apache (or ISS) DAV, you need to reload the wiki
(press browser reload) and you can continue just fine.

*Technical details:*

The TiddlyWiki DAV saver uses an HTTP header called eTag. This is a value
that indicates the state of the "object" (in this case tiddlywiki file)
when it was last received by the browser. When you perform a DAV save
operation (a PUT method), the file changed and so the eTag value changed
as well. Apache does not set a new eTag value with the PUT operation
because Apache cannot confirm that there was no post processing once the
file was saved so it does not send an updated eTag until you issue another
GET call.

This is documented and proper behavior. A PUT is only supposed to send an
updated eTag in the response if the server knows that the browser version
of the data is the same as the server version. While this can be done with
a GET operation, Apache is unable to confirm this with a PUT since Apache
is not aware of any post-processing that might happen server-side.

I'm still trying to figure out how to force Apache to send an eTag with the
response to the PUT, but I haven't yet figured out how.
Post by Arlen Beiler
If using DAV saver, TiddlyServer will prevent overwriting the server with
a stale copy if you are working on more than one device. Apache is supposed
to do this, but we were having trouble with it, so I'm not sure where it
stands.
Here is the link to the discussion.
https://groups.google.com/d/msgid/tiddlywiki/3206b23b-d4e5-4fe3-8984-70b449b7218c%40googlegroups.com?utm_medium=email&utm_source=footer
Post by Lost Admin
If you are going to the extent of putting a server on a Raspberry Pi, why
not setup a proper web server? Apache with either webdav (for the dav
saver) or mod_php for the store.php used by tiddlyspot (it's on Github)
will give you a lot more flexibility.
You can even have ssl/tls if you register a domain. You can use
Letsencrypt for the certificate for free with readily available scripts.
Post by Glenn D
If I want to view and edit from multiple devices would the server be the
best implementation?
If I install it on my Raspberry Pi, would I be able to edit using
TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/1febf956-0b1d-45ee-82a8-d1582eca44af%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f77e11a7-8a98-4b89-aa7b-4d41ae3b8a61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Glenn D
2017-10-02 18:18:07 UTC
Permalink
I already have a Kirby blog, miniflux and wallabag running on my Pi via
Apache and PHP.
Post by Lost Admin
If you are going to the extent of putting a server on a Raspberry Pi, why
not setup a proper web server? Apache with either webdav (for the dav
saver) or mod_php for the store.php used by tiddlyspot (it's on Github)
will give you a lot more flexibility.
You can even have ssl/tls if you register a domain. You can use
Letsencrypt for the certificate for free with readily available scripts.
Post by Glenn D
If I want to view and edit from multiple devices would the server be the
best implementation?
If I install it on my Raspberry Pi, would I be able to edit using
TiddlyDesktop on my laptop? Or would it be better to stick w/ TiddlyFox?
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1016cfc6-b55f-4f43-8584-4188e43f0ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jed Carty
2017-10-02 19:57:17 UTC
Permalink
It should run just fine on a raspberry pi. I haven't tried it with
tiddlyserver yet because I am trying to get everything configured on my
desktop first, but the normal tiddlywiki server runs just fine on a
raspberry pi and tiddlyserver shouldn't take much more power.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20c6cb4d-274e-4dc6-afcb-0c0954549ed5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Glenn D
2017-10-02 20:15:24 UTC
Permalink
I may be a bit confused here, but -- what is the difference between a
'normal' tiddlywiki server and tiddlyserver?
Post by Jed Carty
It should run just fine on a raspberry pi. I haven't tried it with
tiddlyserver yet because I am trying to get everything configured on my
desktop first, but the normal tiddlywiki server runs just fine on a
raspberry pi and tiddlyserver shouldn't take much more power.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/307b7b85-0283-4b0e-b700-40c6f57a5c3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
RichardWilliamSmith
2017-10-02 22:18:59 UTC
Permalink
I recently wrote up some notes about how I am running TiddlyServer on my
Raspberry Pi. First you install TW, which has a 'single instance per port'
server, then you install TS, which can serve lots of
wikis. https://www.didaxy.com/tiddlyserver-on-the-raspberry-pi

Regards,
Richard
Post by Glenn D
I may be a bit confused here, but -- what is the difference between a
'normal' tiddlywiki server and tiddlyserver?
Post by Jed Carty
It should run just fine on a raspberry pi. I haven't tried it with
tiddlyserver yet because I am trying to get everything configured on my
desktop first, but the normal tiddlywiki server runs just fine on a
raspberry pi and tiddlyserver shouldn't take much more power.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/de2e515f-b05b-4345-bbab-af2e580d9dd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Glenn D
2017-10-03 11:32:04 UTC
Permalink
getting a syntax error when running 'node server' command - an hour of
troubleshooting hasn't fixed it. Got the tiddlywiki itself working, just
not the server install
Post by RichardWilliamSmith
I recently wrote up some notes about how I am running TiddlyServer on my
Raspberry Pi. First you install TW, which has a 'single instance per port'
server, then you install TS, which can serve lots of wikis.
https://www.didaxy.com/tiddlyserver-on-the-raspberry-pi
Regards,
Richard
Post by Glenn D
I may be a bit confused here, but -- what is the difference between a
'normal' tiddlywiki server and tiddlyserver?
Post by Jed Carty
It should run just fine on a raspberry pi. I haven't tried it with
tiddlyserver yet because I am trying to get everything configured on my
desktop first, but the normal tiddlywiki server runs just fine on a
raspberry pi and tiddlyserver shouldn't take much more power.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/63d28208-f0fd-4110-8d9b-4891e8380ac5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
RichardWilliamSmith
2017-10-03 12:17:11 UTC
Permalink
Hi Glenn,

If you'd like more help, maybe you can post the error that you're getting.
If the problem you're having is with Tiddlyserver, I'd wager it's the
settings.json file that's not right, so post that too, or comb through it
looking for a mismatched brace somewhere.

JSON is hard to debug without a proper editor.

Regards,
Richard
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Arlen Beiler
2017-10-03 12:26:01 UTC
Permalink
You could try https://jsonlint.com/ and see if that sheds any light.

On Tue, Oct 3, 2017 at 8:17 AM, RichardWilliamSmith <
Post by RichardWilliamSmith
Hi Glenn,
If you'd like more help, maybe you can post the error that you're getting.
If the problem you're having is with Tiddlyserver, I'd wager it's the
settings.json file that's not right, so post that too, or comb through it
looking for a mismatched brace somewhere.
JSON is hard to debug without a proper editor.
Regards,
Richard
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/
msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRDKp3P4BtiFq%3DeREJEDPo2qwnkwfzMxvLCdO4EPPDgLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Glenn D
2017-10-03 16:58:06 UTC
Permalink
Arlen and Richard - thank you both for your assistance. I now have
TiddleyServer up and running after having figured out all Node update and
syntax issues. Now to experiment!
Post by Arlen Beiler
You could try https://jsonlint.com/ and see if that sheds any light.
On Tue, Oct 3, 2017 at 8:17 AM, RichardWilliamSmith <
Post by RichardWilliamSmith
Hi Glenn,
If you'd like more help, maybe you can post the error that you're
getting. If the problem you're having is with Tiddlyserver, I'd wager it's
the settings.json file that's not right, so post that too, or comb through
it looking for a mismatched brace somewhere.
JSON is hard to debug without a proper editor.
Regards,
Richard
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/b38d2ee4-41ea-41d8-ae00-e6bf9607b2ba%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bc4583ac-20cd-4ce8-b445-40819305564b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...