typerion
typerion-cli
A Typescript notebook for developing, prototyping, and sharing software.
Explore the docs »
Web App
·
Report Bug
·
Request Feature
Table of Contents
This is an interactive TypeScript notebook that can be used to develop, prototype, and share software. Typerion is entirely open-source, with a focus on low-barrier-to-use and ease-of-sharing results with other developers.
The Typerion notebook:
- Has a rich code editor with syntax highlighting.
- Supports dynamically importing modules that are loaded from https://unpkg.com/.
- Allows passing context forward between code cells.
- Provides saving and loading behavior so that results can be persisted and shared.
A local instance of Typerion can be started with npx
:
npx typerion-cli
- Install
pnpm
- Install turborepo
pnpm install turbo --global
- Clone the repo
git clone https://github.com/Vilos92/typerion.git
- Install packages
pnpm install
- Run in development mode
turbo run dev
After the last command, the Typerion app can be accessed at http://localhost:5173/
The Notebook header contains controls to:
- Create cells above and below the current cell.
- Run all cells in the Notebook.
- Save the current Notebook state to a file.
- Load the Notebook state from a file.
Some keyboard shortcuts include:
CMD
+Enter
- Run the currently focused cell.
Shift
+Enter
- Run the currently focused cell, and then move to the next cell.
- If the last cell is currently selected, a new cell is created.
CMD
+Up
/Down
- Move focus up and down the cells in the Notebook.
- Improved README.
- Better dynamic imports of packages.
- Simpler passing of global context between cells.
- Improved output logging for cells.
- Web application hosted on typerion.dev
- The ability for each cell to interact with its own DOM.
See the open issues for a full list of proposed features (and known issues).
Contributions are greatly appreciated. This project is intended to be fully open-source, and the support and feedback from other developers are fully welcome.
Gregory Linscheid - Website - [email protected]
Project Link: https://github.com/Vilos92/typerion
- Byron Barmby - Design contributions for the logo.
Distributed under the Apache 2.0 License. See LICENSE
for more information.