Skip to content
This repository was archived by the owner on Aug 3, 2025. It is now read-only.

Commit 8ed3578

Browse files
authored
README: link to picocrypt.github.io as the better choice
unless you need a single .html file of course.
1 parent c0b3b71 commit 8ed3578

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
This is the single-file web interface for Picocrypt for offline use. You can save `index.html` anywhere and it will run offline.
2+
3+
**You will probably want to use https://picocrypt.github.io (https://github.com/Picocrypt/picocrypt.github.io) instead for more safety checks and reliability.**
4+
15
# Compiling
26
To build the web interface from source, you will need to compile the Go code into a WebAssembly file:
37
```
48
GOOS=js GOARCH=wasm go build -ldflags="-s -w" index.go
59
```
610
This will create a binary file. Compress it with [LZMA](https://github.com/LZMA-JS/LZMA-JS), encode it in Base64, and paste the final result to [L198](https://github.com/Picocrypt/Web/blob/main/index.html#L198).
711

8-
You'll also need to update [`wasm_exec.js`](https://cdn.jsdelivr.net/gh/golang/go@go1.21.5/misc/wasm/wasm_exec.min.js) (replace the Go version accordingly) on [L197](https://github.com/Picocrypt/Web/blob/main/index.html#L197) to glue everything together.
12+
You'll also need to update [`wasm_exec.js`](https://cdn.jsdelivr.net/gh/golang/go@go1.24.0/lib/wasm/wasm_exec.min.js) (replace the Go version accordingly) on [L197](https://github.com/Picocrypt/Web/blob/main/index.html#L197) to glue everything together.

0 commit comments

Comments
 (0)