From ecb04c6b7fbf5d06c2fdce5128e83575cac2bd21 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 23 May 2025 17:06:02 +0200 Subject: Web version (work in progress) --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4dd55b8..3f64e29 100644 --- a/README.md +++ b/README.md @@ -251,6 +251,19 @@ using [nodejs](https://nodejs.org): $ node web/examples/[filename] ``` +An example web app running nissy can be found in the `web/http` folder. +You can run a web server in that folder to check it out, but you need +to set some extra headers to make it work. For example, if you are using +[darkhttpd](https://github.com/emikulic/darkhttpd) you can start the server +with the following command: + +``` +$ darkhttpd web/http/ \ + --header 'Cross-Origin-Opener-Policy: same-origin' \ + --header 'Cross-Origin-Embedder-Policy: require-corp' \ + --mimetypes web/http/mime +``` + ## Cube format This format is a "base 32" encoding of the cube. It is not meant to be -- cgit v1.3