[tw5] Re: TiddlyWiki server using AWS Lambda

2020-10-25 Thread desEsseintes
I tried looking at both the AWS plug-in documentation and the code, but was 
unable to figure it out.

On Sunday, October 25, 2020 at 1:00:54 PM UTC Mohamed Amin wrote:

> Hi desEsseintes,
>
> I'm not an expert , but did you check the AWS plugin? if not, check this 
> Post : https://groups.google.com/forum/#!topic/Tiddlywiki/GwPAfMOKeeo
>
> P.S., I hope to see your tutorial soon :)
>
> Regards
> M.A.
>
>
> On Saturday, October 24, 2020 at 6:19:47 PM UTC+2, desEsseintes wrote:
>>
>> 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` <http://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/742fbd74-edc3-4475-a932-9d551d86n%40googlegroups.com.


[tw5] TiddlyWiki server using AWS Lambda

2020-10-24 Thread desEsseintes
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 
 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.