antonmedv/codejar
An embeddable code editor for the browser 🍯 observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 47
- Release rhythm 20
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2346
- days_rel: 323
- days_push: 323
- n_releases_24m: 1
Adoption not part of the score
1974 stars · 123 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CodeJar is a lightweight (~2.5 kB), dependency-free embeddable code editor for the browser built on contenteditable. It handles indentation, auto-closing brackets and quotes, Tab key handling, and undo/redo, while letting you plug in any highlighting library like Prism.js or highlight.js.
Use cases
- embed a code editor in a web page
- add a lightweight code input box to a web app
- build an online code playground
- let users edit code snippets in the browser
- create a custom code editor with my own syntax highlighter
- replace CodeMirror with a tiny editor
When to choose
- you need a tiny, dependency-free code editor in the browser
- you want full control over syntax highlighting via your own highlight function
- you need basic editing features like auto-indent, bracket closing, and undo/redo without a heavyweight editor
When to avoid
- you need advanced IDE features like code folding, linting, or multi-cursor editing
- you need a full-featured editor with built-in language grammars and autocomplete
- you are building a non-browser (desktop or mobile-native) editor
Facets
library · maturity active
editor ui-components web-development frontend text-editors developer-tools browser code-editor embeddable lightweight syntax-highlighting contenteditable typescript no-dependencies web-server javascript
3 sources
- readme: https://github.com/antonmedv/codejar · fetched 2026-08-28 · 6ad1cf61d6ce
- homepage: https://medv.io/codejar/ · fetched 2026-08-29 · 1d5d06a17c07
- registry_npm: https://registry.npmjs.org/codejar · fetched 2026-08-29 · a9ec5545a7a1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antonmedv/codejar | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="antonmedv/codejar")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem