Installation
MikroText ships as two release archives:
- App - static files for the browser interface.
- API - a Node.js relay that stores short-lived room state and encrypted envelopes.
Use Online
Section titled “Use Online”Open text.mikrosuite.com to use the hosted MikroText app.
Requirements
Section titled “Requirements”- Node.js 24 or newer for the API.
- A static file server for the browser app.
- HTTPS for production deployments.
Download Release Archives
Section titled “Download Release Archives”curl -sSL -o mikrotext_app.zip https://releases.mikrosuite.com/mikrotext_app_latest.zipcurl -sSL -o mikrotext_api.zip https://releases.mikrosuite.com/mikrotext_api_latest.zipunzip mikrotext_app.zip -d mikrotext_appunzip mikrotext_api.zip -d mikrotext_apiStart the API:
cd mikrotext_api/*node mikrotext.mjsServe the app from another terminal:
cd mikrotext_app/*npx http-server . -a 127.0.0.1 -p 8000 -c-1Open http://127.0.0.1:8000.
Run From Source
Section titled “Run From Source”Install dependencies and start both the app and API:
npm installnpm run devThe API runs on http://127.0.0.1:3000.
The app runs on http://127.0.0.1:8000.
Build Locally
Section titled “Build Locally”npm run buildThe static app is written to dist/.
The API bundle is written to lib/mikrotext.mjs.
The static app reads dist/config.json to find the API. Local builds use http://127.0.0.1:3000. Hosted builds can set MIKROTEXT_PUBLIC_API_BASE_URL, or use CF_PAGES=1 for the MikroSuite default https://text-api.mikrosuite.com.
Serve the built app locally:
npx http-server dist -a 127.0.0.1 -p 8000 -c-1Start the built API:
node lib/mikrotext.mjsOpen http://127.0.0.1:8000.
Release URLs
Section titled “Release URLs”Latest release downloads:
https://releases.mikrosuite.com/mikrotext_app_latest.zip- static browser apphttps://releases.mikrosuite.com/mikrotext_api_latest.zip- Node API bundle
GitHub Releases provide versioned archives for pinned deployments.