diff --git a/Makefile b/Makefile
index fc2dfbf..77ce405 100644
--- a/Makefile
+++ b/Makefile
@@ -116,11 +116,11 @@ build: static
.PHONY: docker
docker:
- docker build -t go-wasm .
+ docker build -t hackpad .
.PHONY: docker-run
docker-run: docker
docker run -it --rm \
- --name go-wasm \
+ --name hackpad \
-p 8080:80 \
- go-wasm:latest
+ hackpad:latest
diff --git a/cmd/editor/ide/window.go b/cmd/editor/ide/window.go
index 0a6a9d9..da6ddc8 100644
--- a/cmd/editor/ide/window.go
+++ b/cmd/editor/ide/window.go
@@ -130,7 +130,7 @@ func New(elem *dom.Element, editorBuilder EditorBuilder, consoleBuilder ConsoleB
dialogElem := dom.New("div")
dialogElem.AddClass("compatibility-warning-dialog")
dialogElem.SetInnerHTML(`
-
Go Wasm may not work reliably in your browser.
+ Hackpad may not work reliably in your browser.
If you're experience any issues, try a recent version of Chrome or Firefox on a device with enough memory, like a PC.
`)
diff --git a/cmd/editor/ide/window.html b/cmd/editor/ide/window.html
index 03df742..c7c152a 100644
--- a/cmd/editor/ide/window.html
+++ b/cmd/editor/ide/window.html
@@ -10,7 +10,7 @@
diff --git a/internal/interop/profile.go b/internal/interop/profile.go
index 46a8fb3..18c89e9 100644
--- a/internal/interop/profile.go
+++ b/internal/interop/profile.go
@@ -41,7 +41,7 @@ func TraceProfileJS(this js.Value, args []js.Value) interface{} {
log.Error("Failed to create memory profile: ", err)
return nil
}
- StartDownload("", "go-wasm-trace.pprof", buf)
+ StartDownload("", "hackpad-trace.pprof", buf)
return nil
}
@@ -61,7 +61,7 @@ func MemoryProfileJS(this js.Value, args []js.Value) interface{} {
log.Error("Failed to create memory profile: ", err)
return nil
}
- StartDownload("", "go-wasm-mem.pprof", buf)
+ StartDownload("", "hackpad-mem.pprof", buf)
return nil
}
@@ -75,7 +75,7 @@ func StartCPUProfile(ctx context.Context) error {
go func() {
<-ctx.Done()
pprof.StopCPUProfile()
- StartDownload("", "go-wasm-cpu.pprof", buf.Bytes())
+ StartDownload("", "hackpad-cpu.pprof", buf.Bytes())
}()
return nil
}
diff --git a/server/package-lock.json b/server/package-lock.json
index 495633d..dcaa9af 100644
--- a/server/package-lock.json
+++ b/server/package-lock.json
@@ -1,5 +1,5 @@
{
- "name": "go-wasm",
+ "name": "hackpad",
"version": "0.1.0",
"lockfileVersion": 1,
"requires": true,
diff --git a/server/package.json b/server/package.json
index 5ae176b..c433358 100644
--- a/server/package.json
+++ b/server/package.json
@@ -1,5 +1,5 @@
{
- "name": "go-wasm",
+ "name": "hackpad",
"version": "0.1.0",
"private": true,
"homepage": ".",
diff --git a/server/public/index.html b/server/public/index.html
index 15acddf..324cd37 100644
--- a/server/public/index.html
+++ b/server/public/index.html
@@ -25,7 +25,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
- Go Wasm | Playground
+ Hackpad | Playground
diff --git a/server/public/manifest.json b/server/public/manifest.json
index b709d08..ec7a262 100644
--- a/server/public/manifest.json
+++ b/server/public/manifest.json
@@ -1,6 +1,6 @@
{
- "short_name": "Go Wasm",
- "name": "Go Wasm",
+ "short_name": "Hackpad",
+ "name": "Hackpad",
"icons": [
{
"src": "favicon.ico",
diff --git a/server/src/Compat.js b/server/src/Compat.js
index 0bd9bea..a33391b 100644
--- a/server/src/Compat.js
+++ b/server/src/Compat.js
@@ -22,7 +22,7 @@ export default function Compat() {
}
return (
-
Go Wasm may not work reliably in your browser.
+
Hackpad may not work reliably in your browser.
If you're experience any issues, try a recent version of {joinOr(knownWorkingBrowsers)} on a device with enough memory, like a PC.
)
diff --git a/server/src/GoWASM.js b/server/src/GoWASM.js
index a63faef..5d62955 100644
--- a/server/src/GoWASM.js
+++ b/server/src/GoWASM.js
@@ -19,7 +19,7 @@ async function init() {
}
go.run(cmd.instance)
const { goWasm, fs } = window
- console.debug(`go-wasm status: ${goWasm.ready ? 'ready' : 'not ready'}`)
+ console.debug(`hackpad status: ${goWasm.ready ? 'ready' : 'not ready'}`)
const mkdir = promisify(fs.mkdir)
await mkdir("/bin", {mode: 0o700})