summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 13:55:35 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 13:55:35 +0100
commitf6883fa1d586a040bf228ab886b95ca64457fa34 (patch)
tree9e071b64c4f1a6ac46a7b4033e0c9a4b284742bb /crates
parent0b85e7989eacb26d3496cdb98ed3221868a4013f (diff)
Rename web front end to wipfel
'gipfel web' is taken by an existing related project. The browser app is now wipfel — web based gipfel photogrammetry for mountain images: crate gipfel-web -> wipfel, updated titles, docs, plan and dev script. The shared engine crate stays gipfel-core.
Diffstat (limited to 'crates')
-rwxr-xr-xcrates/gipfel-web/serve-here.sh12
-rw-r--r--crates/wipfel/Cargo.toml (renamed from crates/gipfel-web/Cargo.toml)4
-rw-r--r--crates/wipfel/README.md (renamed from crates/gipfel-web/README.md)6
-rw-r--r--crates/wipfel/index.html (renamed from crates/gipfel-web/index.html)2
-rwxr-xr-xcrates/wipfel/serve-here.sh12
-rw-r--r--crates/wipfel/src/app.rs (renamed from crates/gipfel-web/src/app.rs)4
-rw-r--r--crates/wipfel/src/bridge.rs (renamed from crates/gipfel-web/src/bridge.rs)0
-rw-r--r--crates/wipfel/src/canvas_view.rs (renamed from crates/gipfel-web/src/canvas_view.rs)0
-rw-r--r--crates/wipfel/src/compass.rs (renamed from crates/gipfel-web/src/compass.rs)0
-rw-r--r--crates/wipfel/src/main.rs (renamed from crates/gipfel-web/src/main.rs)0
-rw-r--r--crates/wipfel/src/markers.rs (renamed from crates/gipfel-web/src/markers.rs)0
-rw-r--r--crates/wipfel/src/widgets.rs (renamed from crates/gipfel-web/src/widgets.rs)0
-rw-r--r--crates/wipfel/www/style.css (renamed from crates/gipfel-web/www/style.css)0
13 files changed, 20 insertions, 20 deletions
diff --git a/crates/gipfel-web/serve-here.sh b/crates/gipfel-web/serve-here.sh
deleted file mode 100755
index 54038a6..0000000
--- a/crates/gipfel-web/serve-here.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# Build gipfel-web for wasm and refresh the static dist dir served from
-# /tmp/gipfel-web-dist (python http.server on :8090). Dev-only helper.
-set -e
-cd "$(dirname "$0")/../.."
-cargo build -p gipfel-web --target wasm32-unknown-unknown --release
-DIST=/tmp/gipfel-web-dist
-mkdir -p "$DIST"
-wasm-bindgen --target web --out-dir "$DIST" target/wasm32-unknown-unknown/release/gipfel-web.wasm
-cp crates/gipfel-web/www/style.css "$DIST/"
-gzip -9 -n -c gipfel.dat > "$DIST/gipfel.dat.gz"
-echo "dist refreshed: $(ls -la "$DIST" | awk '{s+=$5} END {print s" bytes"}')"
diff --git a/crates/gipfel-web/Cargo.toml b/crates/wipfel/Cargo.toml
index 303750a..e1e39e1 100644
--- a/crates/gipfel-web/Cargo.toml
+++ b/crates/wipfel/Cargo.toml
@@ -1,9 +1,9 @@
[package]
-name = "gipfel-web"
+name = "wipfel"
version.workspace = true
edition.workspace = true
license.workspace = true
-description = "gipfel web — browser front end (WASM)"
+description = "wipfel — web based gipfel photogrammetry for mountain images"
[dependencies]
gipfel-core = { path = "../gipfel-core" }
diff --git a/crates/gipfel-web/README.md b/crates/wipfel/README.md
index 74e93c5..37c09ea 100644
--- a/crates/gipfel-web/README.md
+++ b/crates/wipfel/README.md
@@ -1,4 +1,4 @@
-# gipfel-web
+# wipfel
Browser front end for gipfel (WASM, Yew + canvas 2D). See
[`/wasm-plan.md`](../../wasm-plan.md) for the overall plan and milestones.
@@ -18,7 +18,7 @@ cargo install --locked trunk
Serve with hot reload:
```sh
-cd crates/gipfel-web
+cd crates/wipfel
trunk serve --port 8090 # then open http://localhost:8090
```
@@ -43,5 +43,5 @@ trunk build --release
- The base image is decoded by the browser (`createImageBitmap`), not
by the `image` crate — faster decode and GPU-backed blitting.
-- The crate compiles natively (`cargo check -p gipfel-web`) so it can
+- The crate compiles natively (`cargo check -p wipfel`) so it can
be checked in CI without a wasm toolchain; runtime is wasm-only.
diff --git a/crates/gipfel-web/index.html b/crates/wipfel/index.html
index 32ec87f..d00adbe 100644
--- a/crates/gipfel-web/index.html
+++ b/crates/wipfel/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>gipfel web</title>
+ <title>wipfel — web based gipfel photogrammetry</title>
<link data-trunk rel="css" href="www/style.css" />
<link data-trunk rel="rust" />
</head>
diff --git a/crates/wipfel/serve-here.sh b/crates/wipfel/serve-here.sh
new file mode 100755
index 0000000..9667965
--- /dev/null
+++ b/crates/wipfel/serve-here.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Build wipfel for wasm and refresh the static dist dir served from
+# /tmp/wipfel-dist (python http.server on :8090). Dev-only helper.
+set -e
+cd "$(dirname "$0")/../.."
+cargo build -p wipfel --target wasm32-unknown-unknown --release
+DIST=/tmp/wipfel-dist
+mkdir -p "$DIST"
+wasm-bindgen --target web --out-dir "$DIST" target/wasm32-unknown-unknown/release/wipfel.wasm
+cp crates/wipfel/www/style.css "$DIST/"
+gzip -9 -n -c gipfel.dat > "$DIST/gipfel.dat.gz"
+echo "dist refreshed: $(ls -la "$DIST" | awk '{s+=$5} END {print s" bytes"}')"
diff --git a/crates/gipfel-web/src/app.rs b/crates/wipfel/src/app.rs
index f4b0de4..eeb82d6 100644
--- a/crates/gipfel-web/src/app.rs
+++ b/crates/wipfel/src/app.rs
@@ -679,8 +679,8 @@ pub fn app() -> Html {
html! {
<div class="app" ondrop={on_drop} ondragover={on_dragover}>
<aside class="sidebar">
- <h1>{ "gipfel" }</h1>
- <p class="tag">{ "web · W2 markers" }</p>
+ <h1>{ "wipfel" }</h1>
+ <p class="tag">{ "web gipfel photogrammetry" }</p>
<button onclick={open_picker}>{ "Open image…" }</button>
<button onclick={fit} disabled={bitmap.is_none()}>{ "Fit to window" }</button>
<input
diff --git a/crates/gipfel-web/src/bridge.rs b/crates/wipfel/src/bridge.rs
index 6dbba93..6dbba93 100644
--- a/crates/gipfel-web/src/bridge.rs
+++ b/crates/wipfel/src/bridge.rs
diff --git a/crates/gipfel-web/src/canvas_view.rs b/crates/wipfel/src/canvas_view.rs
index 9d4338e..9d4338e 100644
--- a/crates/gipfel-web/src/canvas_view.rs
+++ b/crates/wipfel/src/canvas_view.rs
diff --git a/crates/gipfel-web/src/compass.rs b/crates/wipfel/src/compass.rs
index b539e07..b539e07 100644
--- a/crates/gipfel-web/src/compass.rs
+++ b/crates/wipfel/src/compass.rs
diff --git a/crates/gipfel-web/src/main.rs b/crates/wipfel/src/main.rs
index 741393b..741393b 100644
--- a/crates/gipfel-web/src/main.rs
+++ b/crates/wipfel/src/main.rs
diff --git a/crates/gipfel-web/src/markers.rs b/crates/wipfel/src/markers.rs
index d024f2e..d024f2e 100644
--- a/crates/gipfel-web/src/markers.rs
+++ b/crates/wipfel/src/markers.rs
diff --git a/crates/gipfel-web/src/widgets.rs b/crates/wipfel/src/widgets.rs
index 1d22bac..1d22bac 100644
--- a/crates/gipfel-web/src/widgets.rs
+++ b/crates/wipfel/src/widgets.rs
diff --git a/crates/gipfel-web/www/style.css b/crates/wipfel/www/style.css
index 5122c43..5122c43 100644
--- a/crates/gipfel-web/www/style.css
+++ b/crates/wipfel/www/style.css