All Projects → chakra-core → Chakracore

chakra-core / Chakracore

Licence: mit
ChakraCore is an open source Javascript engine with a C API.

Programming Languages

javascript
184084 projects - #8 most used programming language
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
WebAssembly
147 projects
assembly
5116 projects
Roff
2310 projects

Projects that are alternatives of or similar to Chakracore

Quickjs
The official repo is at bellard/quickjs.
Stars: ✭ 1,429 (-83.38%)
Mutual labels:  runtime, javascript-engine, vm
PyChakra
🔥✨🚀Python binding to Microsoft Chakra JavaScript Engine.
Stars: ✭ 27 (-99.69%)
Mutual labels:  runtime, chakra, chakracore
quickjs-build
Build for QuickJS JavaScript Engine
Stars: ✭ 25 (-99.71%)
Mutual labels:  vm, runtime, javascript-engine
Subethaedit
General purpose plain text editor for macOS. Widely known for its live collaboration feature.
Stars: ✭ 1,183 (-86.24%)
Mutual labels:  mit-license, osx
Lunatic
Lunatic is an Erlang-inspired runtime for WebAssembly
Stars: ✭ 2,074 (-75.88%)
Mutual labels:  runtime, vm
Chrysalisp
Parallel OS, with GUI, Terminal, OO Assembler, Class libraries, C-Script compiler, Lisp interpreter and more...
Stars: ✭ 1,205 (-85.99%)
Mutual labels:  osx, vm
Up For Grabs.net
This is a list of projects which have curated tasks specifically for new contributors. These issues are a great way to get started with a project, or to help share the load of working on open source projects. Jump in!
Stars: ✭ 2,427 (-71.78%)
Mutual labels:  help-wanted, up-for-grabs
Ripme
Downloads albums in bulk
Stars: ✭ 2,748 (-68.05%)
Mutual labels:  help-wanted, up-for-grabs
Chakracore Delphi
Delphi and Free Pascal bindings and classes for Microsoft's ChakraCore library
Stars: ✭ 109 (-98.73%)
Mutual labels:  microsoft, javascript-engine
corejam
A scaffolding for building progressive GraphQL powered jamstack applications.
Stars: ✭ 24 (-99.72%)
Mutual labels:  help-wanted, up-for-grabs
wazero
wazero: the zero dependency WebAssembly runtime for Go developers
Stars: ✭ 2,065 (-75.99%)
Mutual labels:  vm, runtime
Web-Development
Created this new Repository for Open Source Contribution for Beginners
Stars: ✭ 25 (-99.71%)
Mutual labels:  help-wanted, up-for-grabs
stirfry
StirFry is a self contained and lightweight web framework for nodejs
Stars: ✭ 24 (-99.72%)
Mutual labels:  help-wanted, up-for-grabs
Redtamarin
AS3 running on the command line / server side
Stars: ✭ 105 (-98.78%)
Mutual labels:  runtime, vm
Zenroom
Small, secure and portable virtual machine for crypto language processing
Stars: ✭ 96 (-98.88%)
Mutual labels:  osx, vm
Quickjs
QuickJS是一个小型并且可嵌入的Javascript引擎,它支持ES2020规范,包括模块,异步生成器和代理器。
Stars: ✭ 2,199 (-74.43%)
Mutual labels:  javascript-engine, vm
fresh script
Find Spotify tracks posted to the HipHopHeads subreddit and add them to a Spotify playlist.
Stars: ✭ 69 (-99.2%)
Mutual labels:  help-wanted, up-for-grabs
Ansible Osx Command Line Tools
An Ansible role for installing OS X Command Line Tools
Stars: ✭ 57 (-99.34%)
Mutual labels:  mit-license, osx
Forge
A Generic Low-Code Framework Built on a Config-Driven Tree Walker
Stars: ✭ 70 (-99.19%)
Mutual labels:  microsoft
Windrawlib
C library for Windows for easy-to-use 2D painting with Direct2D or, on older Windows versions, GDI+.
Stars: ✭ 72 (-99.16%)
Mutual labels:  mit-license

ChakraCore

Discord Chat Licensed under the MIT License PR's Welcome

ChakraCore is a JavaScript engine with a C API you can use to add support for JavaScript to any C or C compatible project. It can be compiled for x64 processors on Linux macOS and Windows. And x86 and ARM for Windows only. It is a future goal to support x86 and ARM processors on Linux and ARM on macOS.

Future of ChakraCore

As you may have heard Microsoft Edge no longer uses Chakra. Microsoft will continue to provide security updates for ChakraCore 1.11 until 9th March 2021 but do not intend to support it after that.

ChakraCore is planned to continue as a community project targeted primarily at embedded use cases. We hope to produce future releases with new features and enhancements to support such use cases. We also would like to invite any interested parties to be involved in this project. For further details please see the following draft planning documents: Overall plan Version 1.12 plan

Also see discussion in issue #6384

If you'd like to contact the community team please either open an issue or join the Discord chat linked above.

Security

If you believe you have found a security issue in ChakraCore 1.11, please share it with Microsoft privately following the guidance at the Microsoft Security TechCenter. Reporting it via this channel helps minimize risk to projects built with ChakraCore.

If you find a security issue in the Master branch of Chakracore but not in 1.11 please join our Discord server and private message one of the Core team members.

Documentation

Building ChakraCore

You can build ChakraCore on Windows 7 SP1 or above, and Windows Server 2008 R2 or above, with either Visual Studio 2015 or 2017 with C++ support installed. Once you have Visual Studio installed:

  • Clone ChakraCore through git clone https://github.com/Microsoft/ChakraCore.git
  • Open Build\Chakra.Core.sln in Visual Studio
  • Build Solution

On macOS you can build ChakraCore with the xcode command line tools and cmake. On Linux you can build ChakraCore with cmake and ninja.

More details in Building ChakraCore.

Alternatively, see Getting ChakraCore binaries for pre-built ChakraCore binaries.

Using ChakraCore

Once built, you have a few options for how you can use ChakraCore:

  • The most basic is to test the engine is running correctly with the application ch.exe (ch on linux or macOS). This app is a lightweight host of ChakraCore that you can use to run small applications. After building, you can find this binary in:
    • Windows: Build\VcBuild\bin\${platform}_${configuration} (e.g. Build\VcBuild\bin\x64_debug)
    • macOS/Linux: buildFolder/config/ch (e.g. out/Release/ch)
  • You can embed ChakraCore in your applications - see documentation and samples.

A note about using ChakraCore: ChakraCore is a JavaScript engine, it does not include the external APIs that are provided by a Web Browser or Node.js. For example, DOM APIs like document.write() are additional APIs that are not provided by ChakraCore, when embedding ChakraCore in an application you will need to implement your own input and output APIs. For debugging, in ch you can use print() to put text to the terminal.

Alternatively, if you are using the vcpkg dependency manager you can download and install ChakraCore with CMake integration in a single command:

  • vcpkg install chakracore

Contribute

Contributions to ChakraCore are welcome. Here is how you can contribute to ChakraCore:

Please refer to Contribution Guidelines for more details.

License

Code licensed under the MIT License.

Contact Us

If you have questions about ChakraCore, or you would like to reach out to us about an issue you're having or for development advice as you work on a ChakraCore issue, you can reach us as follows:

  • Open an issue and prefix the issue title with [Question]. See Question tag for already-opened questions.
  • Discuss ChakraCore with the team and the community via the Discord link above
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].