An open API service indexing awesome lists of open source software.

https://github.com/vezwork/polytope

Experimental, recursively-embeddable, domain-specific editors and text editor
https://github.com/vezwork/polytope

Last synced: over 1 year ago
JSON representation

Experimental, recursively-embeddable, domain-specific editors and text editor

Awesome Lists containing this project

README

          


Experiment 1

## About

Polytope is an experimental code editor that allows a user to write programs by embedding non-text editors (e.g. music notation editor, markdown editor, svg drawing tool, decision tree etc.) inline beside text in a text editor. The Polytope library provides utilities for constructing editors that work together and can be embedded in eachother. Polytope runs in the browser.

This repo contains **☣️research quality code☣️** (bad quality code) for the first/current version of Polytope. This version of Polytope may not be updated much in the future unless it receives community contributions. The idea of Polytope is not dead though, further experiments continue on the
ideas underlying Polytope. I am no longer actively working on this repo, and my goal with Polytope is to enable people to write code in new ways, so I am open sourcing this repo in hopes it will help someone despite the poor code and documentation quality. Please [reach out](#community) if you have any questions.

For more info:

- [Polytope project page](https://elliot.website/editor/)
- Polytope Demo on Youtube: [Polytope Demo Youtube Link](https://www.youtube.com/embed/8g_XCZSY7lM)

## Try it out

Note that this is an experiment and has many bugs and issues.

[Try it out](https://vezwork.github.io/Polytope/)

## Running locally and contributing

The Polytope library is located in the lib folder, and is written in TypeScript.
See lib/README.md for simple instructions on how to build the lib.

index.html and custom.js contain the code that run an example usage of the Polytope library. They are probably
the best place to start. You can simply clone this repo and open index.html in your browser to try it out.

## Community

If you are interested in Polytope, have any questions, or just want to say hi:

- [Twitter](https://twitter.com/elliotokay)
- [Polytope Discord](https://discord.gg/8zjCC6Vp)