❗ This book is WIP ❗

Introduction

Graviton is a modularized and composable code editor, meaning that the different modules can be used to build other editors, with for example, a different frontend.

Modules:

  • core: The backend engine
  • core_api: A set of APIs for extensions to use
  • core_deno: Deno runtime for third-party extension
  • web: A web-based frontend implementation
  • languages: All the translations as NPM package
  • desktop: A desktop client for Graviton, powered by Tauri
  • server: A remote server for Graviton, unsecure for now

Learn more:

Building 🧰

Graviton Desktop

Requisites:

Installing dependencies:

cd Graviton-App
pnpm install

To develop, run:

pnpm run dev_desktop

To create a binary / installer, run:

pnpm run build_desktop

To run automated tests:

pnpm test

To lint all the code:

pnpm run lint

To format all the code:

pnpm run format