summaryrefslogtreecommitdiff
path: root/site (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-05site: add headers for survey POST requeststuebinm1-2/+8
2021-04-05add example surveystuebinm3-0/+4
these can be found in site/examples. There is a simple unencrypted survey in "example.json", and an encrypted variant of the same in "encrypted.json". The key used for encryption can be found in "key.age"; in particular, note that the passphrase for the encrypted survey is exactly that private key.
2021-04-05add wasm blobsstuebinm5-0/+695
the nix tooling for rust and wasm appears to be really bad, so binary blobs are easier for now.
2021-04-05load survey from (and submit result to) path given as fragmentstuebinm1-18/+30
syntax: http(s)://domain.tld/path/to/file/index.html#[upload url] The upload url may be relative to the site's position, or absolute. Survey results will be POSTed to [upload path]/upload.
2021-04-04simple python server for testing purposesstuebinm1-0/+15
web assembly needs its own mimetype set to work in the browser, which most other development tools don't support — so this python script can be used instead.