[tw5] tiddlywiki5 and flyio?

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/

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 :slight_smile:

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 :slight_smile:

-mario

1 Like

It seems a static web server is built in: Create a static website on Fly … So no need for an experiment.

-m