SkillAgentSearch skills...

Terminosaurus

Agnostic terminal GUI library for TypeScript, distributed with a native React renderer

Install / Use

/learn @arcanis/Terminosaurus
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img src="./logo.svg"/>

Terminosaurus is a DOM-like UI library for TypeScript that makes it easy to build powerful graphical interfaces for your terminal without having to deal with complex positioning or state updates.

Features

  • Framework-agnostic API
  • React renderer
  • Advanced layout positioning
  • Event handlers
  • Text wrapping
  • CSS properties
  • Fast rendering

Getting Started

<table><tr> <th>Framework Agnostic</th> <th>React Syntax</th> </tr><tr><td>
import {
    TermElement,
    TermText,
    run,
} from 'terminosaurus';

run({}, async screen => {
    const text = new TermText();
    text.appendTo(screen.rootNode);

    let counter = 0;

    const increaseCounter = () => {
        counter += 1;
        text.setText(`Counter: ${counter}`);
    };

    text.onClick.addEventListener(() => {
        increaseCounter();
    });

    increaseCounter();
});
</td><td>
import {
    useState
} from 'react'
import {
    render,
} from 'terminosaurus/react';

function App() {
    const [counter, setCounter] = useState(0);

    const increaseCounter = () => {
        setCounter(counter + 1);
    };

    return (
        <term:div onClick={increaseCounter}>
            Counter: {counter}
        </term:div>
    );
}

render({}, <App/>);
</td></tr></table>
View on GitHub
GitHub Stars208
CategoryDevelopment
Updated12d ago
Forks8

Languages

TypeScript

Security Score

85/100

Audited on Mar 26, 2026

No findings