Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a plain server mode #159

Closed
srid opened this issue Dec 11, 2023 · 0 comments · Fixed by #161
Closed

Add a plain server mode #159

srid opened this issue Dec 11, 2023 · 0 comments · Fixed by #161
Labels
enhancement New feature or request

Comments

@srid
Copy link
Owner

srid commented Dec 11, 2023

We have two modes right now:

  • live server
  • static gen

I propose to add third mode:

  • plain server

This is like the live-server mode, but there's no websocket involved. The server will serve the HTML straight, and the client will behave similar to the generated static site.

cf. #88 (comment)

The goal here is to be able to host an Ema site behind a proxy (perhaps oauth protected), whilst also enabling it to monitor changes to local files. It'd be like the static site, but live monitoring of the source. And like the "live" version of the site but sans websocket stuff. Assuming git pull is run in the background, the plain server basically gives you a the latest rendered version of the site without having to use Github Pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant