git404hub

what is chakracore fr?

chakra-core/chakracore — explained in plain English

Analysis updated 2026-06-24

9,247JavaScriptAudience · developerComplexity · 4/5LicenseSetup · hard

tl;dr

A JavaScript engine originally from Microsoft's Edge browser that you can embed in any C or C++ application via a C API, letting users write JavaScript scripts to control or extend your program, now community-maintained for embedded use cases.

vibe map

mindmap
  root((ChakraCore))
    What it is
      JavaScript engine
      C API for embedding
      Former Edge engine
    Platform support
      Linux
      macOS
      Windows x64
      Windows ARM
    Use cases
      Embedded scripting
      Plugin systems
      Automation tools
    Status
      Community maintained
      MIT license
      Security patched

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Embed a full JavaScript scripting engine into a C++ desktop application so users can automate or extend it with scripts

VIBE 2

Compile ChakraCore on Linux or macOS and run JavaScript files with the included ch command-line tool

VIBE 3

Use the C API to evaluate JavaScript expressions and pass results back into a host C application

VIBE 4

Build a plugin system for a game engine or tool that accepts user-written JavaScript logic

what's the stack?

CC++JavaScriptCMake

how it stacks up fr

chakra-core/chakracoretypekit/webfontloadermdbootstrap/material-design-for-bootstrap
Stars9,2479,2599,261
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyhardeasyeasy
Complexity4/52/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Requires a C++ build toolchain and CMake, building on Windows also requires Visual Studio.

Free to use, modify, and distribute for any purpose including commercial use, keep the copyright notice.

in plain english

ChakraCore is a JavaScript engine, meaning it is the piece of software responsible for reading and running JavaScript code. It exposes a C programming interface, which makes it possible to embed a full JavaScript runtime inside any program written in C or C++. If you are building an application and want users to be able to write scripts in JavaScript to control or extend it, ChakraCore provides the machinery to do that. The engine was originally built by Microsoft and used inside the older Edge browser before Microsoft switched to a Chromium-based browser engine. At that point, Microsoft stopped using ChakraCore in Edge. Microsoft continued to issue security updates for version 1.11 until March 2021, but officially ended active development beyond that. The project has since continued as a community effort, with the focus shifted toward embedded use cases rather than browser environments. A JavaScript engine like this does not include the things a web browser or a runtime like Node.js adds on top, such as the ability to interact with web pages or the file system. ChakraCore is only the engine itself. When you embed it in your own application, you provide whatever input and output capabilities your program needs and call into ChakraCore to execute JavaScript logic. The engine can be compiled and run on Linux, macOS, and Windows for 64-bit processors. Building it on Windows additionally supports 32-bit and ARM processors. A small test application called ch is produced as part of the build and can be used to run simple JavaScript files directly from the terminal to confirm the engine is working. The project is open source under the MIT license. New contributors can help by reporting bugs, submitting fixes, or joining the community Discord server. Anyone interested in taking a more active role in the project's direction is invited to get in touch through the issue tracker or Discord.

prompts (copy fr)

prompt 1
I want to embed ChakraCore in a C++ application so users can run JavaScript scripts. Show me the minimal C API calls to initialize the engine, evaluate a JS string, and retrieve the return value.
prompt 2
How do I build ChakraCore from source on Linux using CMake, and then run the included ch binary to confirm a simple JavaScript file executes correctly?
prompt 3
Using the ChakraCore C API, show me how to expose a custom C++ function so that JavaScript code running inside my application can call it with arguments.
prompt 4
What is the difference between embedding ChakraCore and bundling Node.js, and when should I choose ChakraCore for an embedded scripting use case?

Frequently asked questions

what is chakracore fr?

A JavaScript engine originally from Microsoft's Edge browser that you can embed in any C or C++ application via a C API, letting users write JavaScript scripts to control or extend your program, now community-maintained for embedded use cases.

What language is chakracore written in?

Mainly JavaScript. The stack also includes C, C++, JavaScript.

What license does chakracore use?

Free to use, modify, and distribute for any purpose including commercial use, keep the copyright notice.

How hard is chakracore to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is chakracore for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.