OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-note commits / 35d132e

pgh.args: encode serve/network/prefix/storage for pgh-managed run (0.2.2)
hypernote is now a live pgh-managed app (not the retired raw-bare tmux launch in hypercore-up). Add a single pgh.args array so the supervisor spawns the exact startup the reverse proxy needs and reuses the existing storage: serve 4040 --network --prefix /hypernote --storage ${HOME}/.config/hypernote/server-data - --network is load-bearing: without it host=localhost and the 7rnx.net proxy (10.22.0.1:4040) can't reach it -> 503. - --storage is explicit (belt-and-suspenders over the StorageLocator breadcrumb): the 2.9G dataset + server-identity.json stay at ~/.config/hypernote/server-data, anchored to $HOME, independent of the app's install CWD. ${VAR} expands at start via effectiveArgs. Verified end-to-end: 0.0.0.0:4040, localhost + https://7rnx.net/hypernote/ both 200, same storage across pgh app restart. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
35d132e61add21e6c6bb743f7a5fb225ec77a580
by plankatron <fleeky@gmail.com> · 2026-06-23T19:08:27.000Z

Changed files (1) +2 -1

package.json +2 -1
……@@ -1,6 +1,6 @@
11{
22 "name": "hypernote",
3 "version": "0.2.1",
3 "version": "0.2.2",
44 "description": "P2P note-taking app built on Hypercore",
55 "type": "module",
66 "main": "hypernote-server.js",
……@@ -12,6 +12,7 @@
1212 "entrypoint": "hypernote-server.js",
1313 "type": "terminal",
1414 "runtime": "bare",
15 "args": ["serve", "4040", "--network", "--prefix", "/hypernote", "--storage", "${HOME}/.config/hypernote/server-data"],
1516 "upgrade": "pgh://1dd36bdfa9cb7f7d84adbd07f017e7200f7f90a3a546cd0761fac2a1f8a13e86/hypernote"
1617 },
1718 "scripts": {