diff options
Diffstat (limited to 'docs/CHAT-APPLICATION.txt')
| -rw-r--r-- | docs/CHAT-APPLICATION.txt | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/docs/CHAT-APPLICATION.txt b/docs/CHAT-APPLICATION.txt index 27ab61f..7ebac77 100644 --- a/docs/CHAT-APPLICATION.txt +++ b/docs/CHAT-APPLICATION.txt @@ -25,8 +25,9 @@ EXPERIMENTAL PRIVATE CHAT WHAT EXISTS A Rust HTTP server and a Rust cryptographic command compiled to WASI. - Small, readable, free JavaScript modules implement the browser interface and - a capability-limited WASI host. Text is displayed through textContent. + Strict TypeScript implements the browser interface and a capability-limited + WASI host, compiled to small, readable, free JavaScript classic scripts. + Build configuration and source licensing are documented in TYPESCRIPT.txt. Text is displayed through textContent. SearXNG and the other existing services are unchanged. Startup shows an ASCII download bar, percentage, and received/total MiB @@ -377,7 +378,8 @@ LICENSES, SOURCE, AND VERIFICATION The yellow GNU LibreJS-compliant badge links to the GNU project and exposes a hover/focus explanation distinguishing software freedom from security. A source archive is built by infra/chat/build-source.sh from an explicit - source allowlist, Cargo-vendored dependencies, and the original verified + source allowlist, TypeScript sources/configurations/npm lock, Cargo-vendored + dependencies, and the original verified OpenSSL archive. It excludes .env, .git, keys, target files, runtime data, downloaded browser tools, and exports. .env.example is public. The original dependency license texts are preserved. GNU-friendly human-readable names @@ -393,12 +395,13 @@ LICENSES, SOURCE, AND VERIFICATION Run the normal strict workspace check, then browser tests: cargo stack check - PLAYWRIGHT_BROWSERS_PATH="$PWD/.tools/browsers" node crates/chat-crypto/tests/browser.mjs - PLAYWRIGHT_BROWSERS_PATH="$PWD/.tools/browsers" node crates/chat-server/tests/browser.mjs - PLAYWRIGHT_BROWSERS_PATH="$PWD/.tools/browsers" node crates/chat-server/tests/progress.mjs + PLAYWRIGHT_BROWSERS_PATH="$PWD/.tools/browsers" npm run test:crypto + PLAYWRIGHT_BROWSERS_PATH="$PWD/.tools/browsers" npm run test:chat + PLAYWRIGHT_BROWSERS_PATH="$PWD/.tools/browsers" npm run test:progress - Browser automation additionally needs Node, Playwright under .tools/browser, - and its browser downloads under .tools/browsers. These are development tools + Browser automation additionally needs Node and the root locked Playwright + development dependency, with browser downloads under .tools/browsers. See + TYPESCRIPT.txt for installation and the strict TypeScript build. These tools are excluded from releases. The fixtures use temporary isolated installation roots with one temporary .env each, and remove their private data on completion. They listen on loopback port 9081 by default (override with CHAT_TEST_PORT), |
