Trisq
TSX/JSX viewer · say “Trisk” /trɪsk/ · part of Qiew
React components, running – straight from the file.
Trisq shows what a .tsx or .jsx file renders: open a component – a prototype an AI assistant wrote, a single screen, a chart – and see it live. No project, no Node.js, no dev server.
Install Trisq Source on GitHub
- .tsx
- .jsx
What it does
- Just the fileTypeScript and JSX are translated in memory in a few milliseconds. React, Tailwind CSS, lucide-react and recharts come with Trisq and work offline.
- Files next to itImports of other components, style sheets, JSON and images work; other packages are fetched from esm.sh when a file asks for them.
- Fits the componentThe window opens as wide as the component is made for, and the toolbar takes on the colour of the page.
- Errors where they areSyntax errors with file, line and the lines around it; missing imports and errors while rendering are shown instead of a blank page.
- Export as HTMLOne file that runs in any browser, without Trisq: the component, the files it imports and the packages it uses. Works offline.
- Kept apartThe component runs in a frame of its own: no access to the app, only to the files of its own project folder.
Like every Qiew viewer
- Read-only by designA viewer never writes to the file it shows; an export goes to a file you name.
- Follows the fileWhen another program saves it, the view updates and keeps your place.
- Search that findsCtrl+F with match count in Marq, Xaq and Jayq; hits inside folded parts open up.
- Easy on the eyesFour colour schemes, light and dark, remembered; Trisq takes its colours from the component it shows.
Install
Get Trisq
With APT (Debian, Ubuntu, Linux Mint)
Once: add the be spex repository
curl -fsSLO https://bespex.github.io/packages/be-spex-archive-keyring.deb
sudo apt install ./be-spex-archive-keyring.deb && sudo apt update sudo apt install trisq