👋 Hey there! Welcome to Interactive Code Note - your new coding buddy that fits right into your favorite note-taking apps and markdown editors.
💗 Ideal for developers, educators, students anyone who seeking a flexible code editing and execution environment that can be integrated into various blogs and documents.
See Demos Here

📚 Interactive Code Note is a web-based code editor that supports multiple programming languages. You can run code snippets, save versions, and retrieve previous versions. This document provides instructions for setting up and running the project.
- Code execution in multiple languages(Still working on that)
- Save codes and see version history
- Embeddable in web pages or local markdown files
- Supports platforms like Typora, Obsidian, Notion, and more
- Docker-based deployment for easy setup and security
Navigate to the backend directory and initialize the Go module.
cd backend
go mod init InteractiveCodeNote
go get Interactive_noteEdit the config.yaml file to configure the server settings.
Run the parse_config.sh script to read the configuration variables.
chmod +x parse_config.sh
./parse_config.shcd ..
docker-compose down
docker-compose build
docker-compose up -dThen your can see your Interactive code block on http(s)//:your domain:port
If u want to insert blocks on pages like the demo.
Follow step below:
You can embed this block anywhere
Typora, Obsidian, Notion, Web ...
Change path/to/your/index.html. yourcodeid is the name of your code block.
<iframe id="go-editor-1" src="path/to/your/index.html?noteId=yourcodeid" style="width:100%; height:500px;
border:none;" frameborder="0"></iframe>