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

How to export single-page HTML? #220

Closed
michael10101 opened this issue Apr 18, 2023 · 3 comments
Closed

How to export single-page HTML? #220

michael10101 opened this issue Apr 18, 2023 · 3 comments

Comments

@michael10101
Copy link

Is there any way to save the web site on a single HTML file? So I can run any web-browser offline mode?

@SnowzNZ
Copy link
Contributor

SnowzNZ commented Aug 30, 2023

You can use privacy.sexy locally, but just not as a single html file. There are 2 ways to do this:

  1. Get the latest desktop app for your operating system
  2. Clone the repo, run npm install then npm run dev. You can then go to 127.0.0.1:5173 in your web browser.

Hope this helps. If you need any help, let me know 😄

@undergroundwires
Copy link
Owner

You can also run it as docker, see instructions but I just realized that the commands are not working anymore. I will fix the Dockerfile in following days.

undergroundwires added a commit that referenced this issue Sep 27, 2023
This commit improves multiple aspects of Docker builds:

- Enable artifact output validation for Dockerfile.
- Correct the path references in Dockerfile for the distribution
  directory.
- Add Dockerfile specific indentation rules to `.editorconfig`.
- Use `npm run install-deps` for dependency installation, enhancing
  build reliability.
- Add automation script `verify-web-server-status.js` to verify running
  web server on given URL.
- Introduce automated build verification for Dockerfile:
  - On macOS, install Docker with colima as the container runtime
    because default agents do not include Docker and Docker runtime is
    not installed due to licensing issues (see actions/runner-images#17).
  - On Windows, there's no Linux container support (actions/runner#904,
    actions/runner-images#1143), so keep the checks for macOS and Ubuntu
    only.
@undergroundwires
Copy link
Owner

Dockerfile is fixed/updated with automated tests. Closing this issue.

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

No branches or pull requests

3 participants