0.0.21 • Published 3 months ago

typerion v0.0.21

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 months ago

Contributors Forks Stargazers Issues Apache 2.0 License

typerion

About The Project

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.

Getting Started

Quick Start

A local instance of Typerion can be started with npx:

npx typerion-cli

Pre-Requisites

Install pnpm

Install and Run

  1. Clone the repo
    git clone https://github.com/Vilos92/typerion.git
  2. Navigate to the typerion package.
    cd packages/typerion
  3. Install packages
    pnpm install
  4. Run in development mode
    pnpm dev

After the last command, the Typerion app can be accessed at http://localhost:5173/

Imports

There are two components that can be imported from typerion.

import {Notebook, Pad} from 'typerion';

Type definitions are included in the typerion package.

Usage

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.

Contributing

Contributions are greatly appreciated. This project is intended to be fully open-source, and the support and feedback from other developers are fully welcome.

Contact

Gregory Linscheid - Website - linscheid.greg@gmail.com

Project Link: https://github.com/Vilos92/typerion

Acknowledgments

  • Byron Barmby - Design contributions for the logo.

License

Distributed under the Apache 2.0 License. See LICENSE for more information.

0.0.21

3 months ago

0.0.20

5 months ago

0.0.17

5 months ago

0.0.18

5 months ago

0.0.19

5 months ago

0.0.11

5 months ago

0.0.12

5 months ago

0.0.13

5 months ago

0.0.14

5 months ago

0.0.15

5 months ago

0.0.16

5 months ago

0.0.10

5 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.1

6 months ago

0.0.0

6 months ago