Add StartOS 0.4 package scaffold (manifest, main, interfaces, 2 actions)

- package/Makefile + s9pk.mk + package.json + tsconfig.json
- startos/manifest: dockerBuild source pointing at ../image/Dockerfile
- startos/main: reads /data/config.yaml reactively, passes env vars to container
- startos/interfaces: binds port 9999 as HTTP UI
- startos/actions: showPublicKey (read /data/ssh/id_ed25519.pub), configureSparks
- TS + JS bundle compile clean (tsc --noEmit, ncc build)
This commit is contained in:
Grant
2026-05-12 09:36:15 -05:00
parent ae8efa1754
commit dd9d53060b
28 changed files with 931 additions and 0 deletions
@@ -0,0 +1,24 @@
export const DEFAULT_LANG = 'en_US'
const dict = {
// main.ts
'Starting Spark Control…': 0,
'Web Interface': 1,
'The web interface is ready': 2,
'The web interface is not ready': 3,
// interfaces.ts
'Web UI': 4,
'The Spark Control web interface': 5,
// actions
'Show Public Key': 6,
'Configure Sparks': 7,
} as const
/**
* Plumbing. DO NOT EDIT.
*/
export type I18nKey = keyof typeof dict
export type LangDict = Record<(typeof dict)[I18nKey], string>
export default dict