From 06cf80d4a20a1fbb4fa3ff3d14cd72aaf00ad937 Mon Sep 17 00:00:00 2001 From: archipelago Date: Wed, 17 Jun 2026 03:43:29 -0400 Subject: [PATCH] fix(apps): classify Bitcoin Core as an app, not a website (#8, #9) bitcoin-core was missing from APP_CATEGORY_MAP, so isKnownApp() was false and isWebsitePackage() fell through to 'has a runtime LAN address'. Once the running container's LAN address (the bitcoind RPC port :8332) showed up ~a minute after launch, Bitcoin Core was reclassified as a website: it dropped out of the Apps tab and search, moved under Websites, and launching it opened :8332 (raw RPC) instead of the :8334 custom UI that Knots opens. Add 'bitcoin-core': 'money' alongside bitcoin-knots/bitcoin-ui so isKnownApp is true, isWebsitePackage is false, and launchAppNow routes through openSession -> resolveAppUrl (:8334 custom UI). Fixes search, category, and the launch URL. Co-Authored-By: Claude Opus 4.8 (1M context) --- neode-ui/src/views/apps/appsConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neode-ui/src/views/apps/appsConfig.ts b/neode-ui/src/views/apps/appsConfig.ts index 8efc3f64..53cd48e8 100644 --- a/neode-ui/src/views/apps/appsConfig.ts +++ b/neode-ui/src/views/apps/appsConfig.ts @@ -49,7 +49,7 @@ export function isServicePackage(id: string, pkg?: PackageDataEntry): boolean { // Known app -> category mappings (matches App Store categorisation) export const APP_CATEGORY_MAP: Record = { - 'bitcoin-knots': 'money', 'bitcoin-ui': 'money', 'electrumx': 'money', 'electrs': 'money', + 'bitcoin-core': 'money', 'bitcoin-knots': 'money', 'bitcoin-ui': 'money', 'electrumx': 'money', 'electrs': 'money', 'lnd': 'money', 'mempool': 'money', 'mempool-web': 'money', 'btcpay-server': 'commerce', 'fedimint': 'money', 'fedimint-gateway': 'money', 'indeedhub': 'media', 'jellyfin': 'media', 'photoprism': 'media', 'immich': 'media',