fuzzyworld

hawk / commit

Deploy to apps.fuzzyworld.net with fuzzyworld-tools

dd354806f996fa42e789d2fccc5d81f44cba461d · Pavel Safronov · 2026-10-26 18:51:28 -0700 · parents bd4c370cb990

Deploy to apps.fuzzyworld.net with fuzzyworld-tools

Adds a package.json with the fuzzyworld section and a deploy script (npx fuzzyworld-tools), and points gitlab.io / gitlab.com links at apps.fuzzyworld.net and code.fuzzyworld.net.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
 README.md           |  4 ++--
 package.json        | 14 ++++++++++++++
 public/index.html   | 10 +++++-----
 public/js/signin.js |  2 +-
 4 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 7331bc8..27b64e8 100644
--- a/README.md
+++ b/README.md
@@ -12,9 +12,9 @@ I'm pretty happy with the result, but it definitely needs a designer's touch. Pu
 
 ## Links
 
-Repo: https://gitlab.com/PavelSafronov/hawk
+Repo: https://code.fuzzyworld.net/hawk/
 
-Pages location: https://pavelsafronov.gitlab.io/hawk/
+Pages location: https://apps.fuzzyworld.net/hawk/
 
 ## TODOs
 
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..1eb34ed
--- /dev/null
+++ b/package.json
@@ -0,0 +1,14 @@
+{
+  "name": "hawk",
+  "private": true,
+  "scripts": {
+    "deploy": "npx --yes -p git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0 fw deploy"
+  },
+  "fuzzyworld": {
+    "app": "hawk",
+    "title": "Hawk",
+    "checks": [],
+    "build": "make",
+    "out": "public"
+  }
+}
diff --git a/public/index.html b/public/index.html
index 647eee8..95f8a1b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -19,7 +19,7 @@
         <div id="header" class="flex">
             <span class="left">
                 <h1 id="logo-and-text">
-                    <a href="https://pavelsafronov.gitlab.io/hawk/index.html">
+                    <a href="https://apps.fuzzyworld.net/hawk/index.html">
                         <img id="logo" src="images/hawk.png" />
                     </a>
                     <span>Hawk</span>
@@ -61,8 +61,8 @@
             </div>
         </div>
         <div>
-            Found an issue? Please report it by <a href="https://gitlab.com/PavelSafronov/hawk/-/issues/new"
-                target="_blank">creating an issue</a>
+            Found an issue? Please report it by <a href="mailto:bugs-k7q4+hawk@fuzzyworld.net?subject=hawk%20bug%20report"
+                target="_blank">email</a>
         </div>
     </div>
 
@@ -133,7 +133,7 @@
         <div id="info">
         </div>
         <div>
-            <a href="https://gitlab.com/PavelSafronov/hawk" target="_blank">Source</a>
+            <a href="https://code.fuzzyworld.net/hawk/" target="_blank">Source</a>
         </div>
         <div>
             <a href="https://www.vecteezy.com/free-vector/hawk" target="_blank">Hawk Vectors by Vecteezy</a>
@@ -233,7 +233,7 @@
     </template>
     <template id="app-info">
         <div>
-            Last updated on <a href="https://gitlab.com/PavelSafronov/hawk/-/commit/${version}"
+            Last updated on <a href="https://code.fuzzyworld.net/hawk/commit/${version}.html"
                 target="_blank">${updated}</a>
         </div>
     </template>
diff --git a/public/js/signin.js b/public/js/signin.js
index d3c1dcd..c2b588b 100644
--- a/public/js/signin.js
+++ b/public/js/signin.js
@@ -9,7 +9,7 @@ function getSpotifyRedirectURL() {
     } else if (window.location.hostname === '127.0.0.1') {
         return 'http://127.0.0.1:5500/public/index.html';
     } else {
-        return 'https://pavelsafronov.gitlab.io/hawk/index.html';
+        return 'https://apps.fuzzyworld.net/hawk/index.html';
     }
 }