Hi everyone!

I am attempting to set up personal TiddlyWiki notebooks that I can access 
over the web. I understand that it's possible to set up a Node.js server on 
an AWS EC2 instance and use the server edition of TW5. However, I don't 
want to do this - I'd be paying Amazon to run a server 24/7 and I only want 
to pay for my notebooks when I am reading from or writing to them.

I have been trying to set up a lambda function which can serve my notebooks 
for me. What I want to do is the following:

   1. When I access `domain.com/notebook` and authenticate, a lambda 
   function loads `notebook` from my S3 bucket and serves it to me.
   2. I read and make changes to my notebook in my browser.
   3. As I make changes, a lambda function saves the modified tiddlers to 
   my S3 bucket.

Is this possible? If so,

   1. How do I get the output of `tiddlywiki editions/aws --build lambda` 
   to serve a notebook?
   2. How do I replace the saver with something that writes to S3?

If I get this working, I promise I'll write a tutorial - I haven't been 
able to find one, and I think this would be a fantastic way to run TW5: 
lambdas and S3 are extremely cheap and this would be more convenient than 
synchronising over DropBox.

Thanks!

PS. Yihang asked a similar question 
<https://groups.google.com/g/tiddlywiki/c/Xvox3JjTO-Q/m/glL9dFCsAQAJ> in 
2018, but it was unanswered.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8cde07b-42cf-4c3e-adf1-430b93d85561n%40googlegroups.com.

Reply via email to