tiddlywiki5 and flyio?

80 views
Skip to first unread message

gne...@gmail.com

unread,
Feb 28, 2022, 11:39:26 AM2/28/22
to TiddlyWiki
Anyone figure out how to get tw5 working in fly.io with persistent volumes?

https://fly.io (I believe it's backed by heroku) is a function-as-a-service provider and they've recently come out with ability to add persistent storage to your function. Better, 3GB included in the free plan.


Seems like a natural for tw5. "Ghost" blog platform figure out how to do this.... https://favadi.com/host-a-ghost-blog-on-fly-io-for-free/


PMario

unread,
Feb 28, 2022, 4:06:56 PM2/28/22
to TiddlyWiki
On Monday, February 28, 2022 at 5:39:26 PM UTC+1 gne...@gmail.com wrote:
Anyone figure out how to get tw5 working in fly.io with persistent volumes?

.. is a function-as-a-service provider and they've recently come out with ability to add persistent storage to your function. Better, 3GB included in the free plan.

fly.io says:
>Run your full stack apps (and databases!) all over the world. No ops required.

So they seem to serve "full stack apps" .. It seems to be an interesting service. The blog posts are interesting and full of "techspeak". They give a good overview about their implementation details. 

It seems to use docker images and "covers" them in a light weight virtual machine to start them fast. ...

Seems like a natural for tw5. "Ghost" blog platform figure out how to do this.... https://favadi.com/host-a-ghost-blog-on-fly-io-for-free/

Seems to be a fit for TW. .. BUT as so often, it depends on what you want to do?

I can see at least 4 different ways to use it.

Do you want to create "static" pages with TiddlyWiki and "just" serve them with a simple "file server"?
  - I think it would be possible to create a container with a read-only filesystem, for maximum security.
    This would be an interesting experiment. Didn't think about that yet :)

Do you want to use the platform as a server and save back?
 - WebDav may be an option. Using single file wikis
 - TWs own server would be an option too. ..
        But I didn't test it with 256MB of ram, which may be a bit low for nodejs.
        256MB seems to be the "base" free tier server

So .. It depend :)
-mario

PMario

unread,
Feb 28, 2022, 4:18:50 PM2/28/22
to TiddlyWiki
On Monday, February 28, 2022 at 10:06:56 PM UTC+1 PMario wrote:

Do you want to create "static" pages with TiddlyWiki and "just" serve them with a simple "file server"?
  - I think it would be possible to create a container with a read-only filesystem, for maximum security.
    This would be an interesting experiment. Didn't think about that yet :)

It seems a static web server is built in: https://fly.io/docs/getting-started/static/ ... So no need for an experiment.
-m
Reply all
Reply to author
Forward
0 new messages