# grapesjs/grapesjs

> GrapesJS is a free and open source Web Builder Framework for building HTML templates without coding, to be delivered in sites, newsletters or mobile apps. It takes an HTML-like structure as input and lets users assemble drag and drop templates inside an embeddable builder that developers can add to their own applications. The project is written in TypeScript.

Source: https://github.com/grapesjs/grapesjs
Indexed: commit 3b2c671 on 2026-10-19 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: TypeScript
- Stars: 26,431 at index time
- Code health: 8.8/10, Excellent
- Last commit: 2026-10-15
- Contributors: 60

## Install

From the README: https://github.com/grapesjs/grapesjs

Clone the grapesjs repository.
    git clone https://github.com/grapesjs/grapesjs.git

Move into the grapesjs folder.
    cd grapesjs

Run the test suite.
    pnpm test

## How it works

Input enters as an HTML-like structure, passed with options such as container, components and style to grapesjs.init. The packages directory holds most of the code, and packages/core wires together editor initialization, the editor model and module loading so the rest of the code can rely on a working editor. Inside packages/core/src/utils/sorter, the file DropLocationDeterminer.ts is a hotspot that works out where a dragged item can be dropped. packages/cli/src/cli.ts is a command-line entry point that parses arguments and routes serving, building and project initialization. The docs directory is the VuePress documentation site, and docs/.vuepress holds Vue components that start the visual editor inside demo pages. The output is the builder itself, which a page or application embeds.

- packages/cli/src/cli.ts: entry point
- packages/cli/src/main.ts: entry point
- packages/cli/src/template/src/index.js: entry point
- .eslintrc.js: central file
- .github/FUNDING.yml: central file
Modules: packages, docs, scripts, root. 640 files, 66,063 lines, 4,318 symbols.

## Code health

- Score: 8.8/10 (Excellent)
- Rank: #26 of 272 ranked repos
- Hotspots: packages/core/src/utils/sorter/DropLocationDeterminer.ts
- Lowest file: packages/core/src/dom_components/model/Component.ts
- Dead code: none found

## Maintenance

- Last commit 2026-10-15, first commit 2023-08-28, 605 commits
- 60 contributors, bus factor 1

## Security

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

## More

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