Files
nanobot/tui/RELINKING.md
T

1.5 KiB

Native TUI corresponding source and relinking

The nanobot TUI release archive contains the executable, its complete JavaScript/TypeScript application source, dependency lockfile, build scripts, and third-party notices. It is built with Bun 1.3.13 and OpenTUI 0.5.3. See SOURCE_OFFER.md for the corresponding-source offer that accompanies the executable. The archive also contains the complete LGPL 2.0 and LGPL 2.1 license texts.

Corresponding upstream source:

To rebuild against a modified JavaScriptCore/WebKit, first build Bun 1.3.13 from its complete source checkout together with the WebKit revision above by following Bun's pinned license and build instructions. Then unpack nanobot-tui-source.tar.gz from the release archive and run the resulting Bun executable:

cd nanobot-tui-source
/path/to/modified/bun install --frozen-lockfile
/path/to/modified/bun run build -- <target>

Supported targets are darwin-arm64, darwin-x64, linux-arm64, linux-x64, and win32-x64. The resulting executable is written to dist/.

Questions about source availability can be reported at https://github.com/HKUDS/nanobot/issues.