joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Add ability to build Joystick as a static site

Open rglover opened this issue 3 years ago • 1 comments

Fairly straightforward, just need to enforce some light conventions. Could do something as simple as:

joystick build -t static

That would spit out a directory of HTML, CSS, and JavaScript files built and ready to upload to a server or CDN. Could also tie this into Joystick Deploy so you have the option of pushing to a static bucket somewhere.

rglover avatar Jun 22 '22 01:06 rglover

This should also work with Push. Ideally you could do joystick push static and it would prompt you to choose a destination (either an IP, S3 bucket, etc).

rglover avatar Sep 05 '23 19:09 rglover

Not sure this is as easy as it seems. Hypothetically, yes, but you'd have to hit every route in the app, generate the HTML/CSS/JavaScript, and assume that the data it's fetching is public (i.e., no user required).

I may say table this for now as it's not really the use case for Joystick, even if it could work.

rglover avatar Jul 23 '24 21:07 rglover