diff --git a/hub/index.html b/hub/index.html
new file mode 100644
index 0000000..4cea031
--- /dev/null
+++ b/hub/index.html
@@ -0,0 +1,279 @@
+
+
+
+
+
+ Bincio
+
+
+
+
+
+
+
+
+
+
+
mangia
bevi
stai calmo
non strappare
+
+
+
+
+
+
+
+
+
+
+
diff --git a/scripts/dev_test.py b/scripts/dev_test.py
index 79981b3..d515046 100755
--- a/scripts/dev_test.py
+++ b/scripts/dev_test.py
@@ -145,7 +145,7 @@ def prepare_serve() -> None:
# ── 4. Hand off to bincio dev ─────────────────────────────────────────────────
-def start_dev(mobile: bool = False, hub: bool = False) -> None:
+def start_dev(mobile: bool = False) -> None:
section("Starting bincio dev")
print()
print(" \033[1mCredentials\033[0m")
@@ -163,9 +163,6 @@ def start_dev(mobile: bool = False, hub: bool = False) -> None:
env = os.environ.copy()
env.setdefault("PUBLIC_WIKI_URL", os.environ.get("WIKI_DEV_URL", "http://localhost:4322"))
- # --hub: simulate bincio.org hub mode (/ becomes login + app selector)
- if hub:
- env.setdefault("PUBLIC_ACTIVITY_URL", "http://localhost:4321")
try:
subprocess.run(cmd, cwd=PROJECT_DIR, env=env)
@@ -193,7 +190,6 @@ def main() -> None:
parser.add_argument("--fresh", action="store_true", help="Wipe DATA_DIR before starting")
parser.add_argument("--no-dev", action="store_true", help="Stop after extract, skip bincio dev")
parser.add_argument("--mobile", action="store_true", help="Bind API to 0.0.0.0 for local mobile testing")
- parser.add_argument("--hub", action="store_true", help="Simulate hub mode: / becomes login+app selector")
args = parser.parse_args()
raise_open_file_limit()
@@ -211,7 +207,7 @@ def main() -> None:
prepare_serve()
if not args.no_dev:
- start_dev(mobile=args.mobile, hub=args.hub)
+ start_dev(mobile=args.mobile)
else:
print(f"\n\033[32mDone.\033[0m Data ready at {DATA_DIR}")
print(f"Run: uv run bincio dev --data-dir {DATA_DIR}\n")
diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro
index f3bd8af..1be0c25 100644
--- a/site/src/pages/index.astro
+++ b/site/src/pages/index.astro
@@ -4,71 +4,12 @@ import ActivityFeed from '../components/ActivityFeed.svelte';
import { readShardHandles, isInstancePrivate } from '../lib/manifest';
const base = import.meta.env.BASE_URL;
-const activityUrl = import.meta.env.PUBLIC_ACTIVITY_URL ?? '';
-const wikiUrl = import.meta.env.PUBLIC_WIKI_URL ?? '';
-
const shards = readShardHandles();
const isSingleUser = shards.length === 1 && !isInstancePrivate();
const singleHandle = isSingleUser ? shards[0].handle : null;
---
-{activityUrl ? (
-
-
-
-
-
-
-
-
-
-
-
- mangia
bevi
stai calmo
non strappare
-
-
-
-
-
-
-
-
-
-) : isSingleUser ? (
+{isSingleUser ? (