Codapi – Interactive code examples for documentation, education and fun

Codapi offers interactive code examples by embedding code snippets into documentation, courses, or blog posts. It manages sandboxes for isolated execution and provides a lightweight JavaScript widget for easy integration. The platform automatically converts static code examples into mini-playgrounds and supports any programming language, database, or software. It is open source with the Apache-2.0 license. Users can run code in sandboxes through the API, with detailed response information provided. The JavaScript widget can be embedded into web pages. Contributions are welcome, and updates can be tracked by subscribing for new features.

https://github.com/nalgeon/codapi

To top