y-codemirror
codejar
y-codemirror | codejar | |
---|---|---|
1 | 5 | |
80 | 1,702 | |
- | - | |
0.0 | 6.5 | |
over 1 year ago | 4 months ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
y-codemirror
-
Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in Browser
Not mentioned in the article but CodeMirror has a brilliant story for collaborative editing. You have two options:
- An Operational Transform (OT) based system built by Marijn (the creator of CodeMirror)
OT Demo: https://codemirror.net/6/examples/collab/
- A Conflict Free Replicated Datatype (CRDT) based system using Yjs crated by Kevin Jahns (the creator of Yjs) - https://github.com/yjs/y-codemirror
Yjs Demo: https://demos.yjs.dev/codemirror/codemirror.html
Both are brilliant, but I'm a huge fan of Yjs - the number of different bindings to different editors (and state systems) is brilliant.
codejar
- CodeJar – A Code Editor for the Web
- [AskJS] What code formatter/beautifier are you using in the browser?
-
Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in Browser
FYI, this is a few months old, if you want to read something up to date, check out https://blog.replit.com/codemirror
Unfortunately copy and paste doesn't work well on Firefox on Linux in any of these fancy editors because support for the primary selection is broken and Mozilla doesn't seem interested in fixing it: https://bugzilla.mozilla.org/show_bug.cgi?id=1593761
The article calls CodeMirror "lightweight" but the minified JS is still over 1 MB. If you want lightweight then you probably want something like CodeJar (https://github.com/antonmedv/codejar) which clocks in at 2 kB.
-
Wren Playground
CodeJar
- CodeJar
What are some alternatives?
phonk - PHONK is a coding playground for new and old Android devices
PrismJS - Lightweight, robust, elegant syntax highlighting.
codemirror-vim - Vim keybindings for CM6
react-ace - React Ace Component
y-codemirror.next - Collaborative extensions for CodeMirror6
electron-react-boilerplate - A Foundation for Scalable Cross-Platform Apps
codemirror-emacs - Emacs keybindings for CM6
slate - A completely customizable framework for building rich text editors. (Currently in beta.)
Code-Server - VS Code in the browser
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.