# ajaxorg/ace

> Ace is a standalone code editor written in JavaScript, built for editing code in a browser. It is designed to be embedded in any web page or JavaScript application, and it was developed as the primary editor for Cloud9 IDE. Its core idea is to provide native-editor features such as syntax highlighting, search and replace, and code folding inside a web page.

Source: https://github.com/ajaxorg/ace
Indexed: commit 054a3d6 on 2026-08-13 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: JavaScript
- Stars: 27,133 at index time
- Code health: 8.4/10, Good
- Last commit: 2026-07-27
- Contributors: 461

## Install

From the README: https://github.com/ajaxorg/ace

Clone the ace repository.
    git clone https://github.com/ajaxorg/ace.git

Move into the ace folder.
    cd ace

Install the dependencies in the ace folder.
    npm install

Package Ace with the build script.
    node ./Makefile.dryice.js

Start the bundled mini HTTP server to open the editor locally.
    node ./static.js

Run the unit tests on Node.js after installing dependencies.
    npm run test

## How it works

The src directory holds the editor code and is the largest module in the repository. A page uses the editor by including the pre-packaged src/ace.js script and calling ace.edit on a DOM element, and that element must be explicitly sized and positioned absolute or relative. Themes and language modes are separate files such as src/theme-twilight.js and src/mode-javascript.js, which the page loads and then applies with editor.setTheme or editor.session.setMode. The Makefile.dryice.js script packages the code with the dryice build tool and accepts options for minifying and namespacing require and define calls. The demo directory contains sample pages such as demo/diff/index.html, and static.js starts a small HTTP server so the editor can be opened locally.

- Makefile.dryice.js: entry point
- demo/diff/examples/editor.16.js: entry point
- demo/diff/examples/editor.17.js: entry point
- demo/diff/examples/editor.40.js: entry point
- demo/diff/index.html: entry point
Modules: src, demo, tool, doc, root, .github, experiments, translations. 1,245 files, 236,070 lines, 3,377 symbols.

## Code health

- Score: 8.4/10 (Good)
- Rank: #43 of 4,000+ indexed repos
- Hotspots: none
- Lowest file: src/virtual_renderer.js
- Dead code: 18 findings

## Maintenance

- Last commit 2026-07-27, first commit 2013-09-29, 3,947 commits
- 461 contributors, bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/ajaxorg/ace/security

## More

- Page: https://repowise.dev/repo/ajaxorg/ace
- Ask this codebase: https://repowise.dev/repo/ajaxorg/ace/chat
- Docs: https://repowise.dev/repo/ajaxorg/ace/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/ajaxorg/ace
