An HTML page previewing one file, ready to display.
About
Reads a text file from your workspace and builds a small HTML page that shows it: the path, the size, the file type and the contents. JSON, and anything that parses as JSON, is pretty-printed with coloured keys and values and a one-line summary of its shape. Other files are shown as plain source.
The page follows the light or dark setting of whoever views it and needs no scripts or outside files, so it can be shown anywhere that displays HTML. Content past 60,000 characters is cut off, with a note saying so. It currently runs inside Syvon.
- TypeScript
- HTML
Requirements
- Runs with
- Node.js 20 or later
- Operating systems
- windows, macos, linux
Costs
- External costs
- None
License
- License
- UNLICENSED (pending owner decision)Licence terms are not decided yet. Nothing can be acquired until the owner decides them.
- Does not
- It does not preview images, video or other binary files.
- It does not build a preview larger than about 90 KB; it asks for a smaller file instead.