Added optional Explorer/Indexer
Build Service / BuildPackage (push) Has been cancelled

This commit is contained in:
2026-05-20 15:43:38 -04:00
parent 2cdc4a5f34
commit e41ff31221
27 changed files with 1431 additions and 70 deletions
+60 -4
View File
@@ -17,12 +17,68 @@ const dict = {
'getserverinfo non-JSON. stdout=${stdout} stderr=${stderr}': 11,
'Spaced Sync health check crashed: ${error}': 53,
'space-cli exited ${code}: ${error}': 54,
'Show Web UI Password': 55,
'Show Space-CLI Web UI Password': 55,
'Display the existing username and password for the Spaces web terminal.':
56,
Database: 57,
'postgres is ready': 58,
'postgres is not ready': 59,
'Show Database Credentials': 60,
'Display the PostgreSQL username, password, database, and connection URL.':
61,
'Reset Database State': 62,
'Wipe /data/postgres so PostgreSQL re-initializes from scratch.': 63,
'This deletes all PostgreSQL data on disk. The next start will re-create an empty database. store.json (passwords + RPC credentials) is preserved.':
64,
'PostgreSQL data has been wiped. Start (or restart) the service to re-initialize the database.':
65,
'Could not wipe PostgreSQL state: ${error}': 66,
'Use these credentials to connect to the Spaces PostgreSQL database (loopback only inside the container).':
67,
'Connection URL': 68,
'Indexer Process': 69,
'indexer process is running': 70,
'Indexer Sync': 71,
'indexer psql exited ${code}: ${error}': 72,
'indexer has not run a sync cycle yet.': 73,
'indexer has not yet committed any blocks (spaced tip ${tip}).': 74,
'indexer caught up at block ${end} (spaced tip ${tip}).': 76,
'indexer at block ${end}, ${lag} behind spaced tip ${tip}.': 77,
'Indexer Sync health check crashed: ${error}': 78,
'Reset Indexer State': 79,
'Wipe /data/explorer-indexer so the next start re-fetches the indexer source and rebuilds the sync + goose binaries.':
80,
'This deletes the cached indexer source and compiled binaries. The next start will need internet access to re-download from GitHub and to fetch Go modules. PostgreSQL data (the indexed blocks themselves) is preserved — use Reset Database State if you also want to clear that.':
81,
'Indexer cache has been wiped. Start (or restart) the service to re-fetch and rebuild from GitHub.':
82,
'Could not wipe indexer state: ${error}': 83,
'Enable Embedded Explorer': 84,
'Turn on the embedded PostgreSQL + Go indexer. Spaces protocol data (blocks, transactions, spaces, rollouts) will be indexed locally for use by the future explorer web UI. Service restarts automatically.':
85,
'Embedded explorer enabled. The service is restarting; the indexer will begin fetching blocks shortly. First-time start can take several minutes for the Go build.':
86,
'Disable Embedded Explorer': 87,
'Stop the embedded PostgreSQL + Go indexer. Indexed data on disk (/data/postgres, /data/explorer-indexer) is preserved and will be reused if the explorer is re-enabled later. Service restarts automatically.':
88,
'Embedded explorer disabled. The service is restarting in spaces-only mode (spaced + web terminal). Run "Enable Embedded Explorer" to turn it back on.':
89,
'Explorer Web UI': 90,
'explorer UI is ready': 91,
'explorer UI is not ready': 92,
'SvelteKit explorer for the Spaces protocol. Reads from the embedded PostgreSQL populated by the indexer. Only useful while the embedded explorer is enabled.':
93,
'Reset Explorer UI State': 94,
'Wipe /data/explorer-ui so the next start re-fetches the explorer source and rebuilds it from scratch.':
95,
'This deletes the cached explorer source and the built SvelteKit bundle. The next start will need internet access to re-download from GitHub and to fetch npm dependencies. PostgreSQL data is preserved.':
96,
'Explorer cache has been wiped. Start (or restart) the service to re-fetch and rebuild from GitHub.':
97,
'Could not wipe explorer state: ${error}': 98,
// interfaces.ts
'Web UI': 12,
'Space-CLI Web UI': 12,
'Browser terminal that exposes space-cli inside the Spaces container.': 13,
// dependencies.ts / tasks
@@ -30,9 +86,9 @@ const dict = {
'Spaces needs an admin password for the web terminal': 15,
// actions
'Reset Web UI Password': 16,
'Reset Space-CLI Web UI Password': 16,
'Generate a new admin password for the Spaces web terminal': 17,
'Show Web UI Credentials': 18,
'Show Space-CLI Web UI Credentials': 18,
'Display the username and password for the Spaces web terminal': 19,
'Set up Bitcoin RPC': 20,
'Re-run the bitcoind RPC credential setup for Spaces': 21,