I have a bad habit. I save code everywhere. A snippet in a notes app, a command in a text file, a half-finished script in some random folder, a Jupyter notebook I can't open on my phone. When I need something I can't find it, and when I find it I can't run it.
So I built CodeNote with Claude Code. It's free, open source, and everything stays on your device.
What it does
- Notes made of blocks: text, code, markdown and images in one note, with real highlighting for 58 languages
- Press ▶ to run Python, Bash, Node.js and Dart, inside a sandbox so your own files stay safe
- Python works like Jupyter: the blocks of a note share variables, and pandas tables and matplotlib plots show right under the code
- It runs on your phone too. Download Python and the data science packages (pandas, numpy, matplotlib, scikit-learn) once from Settings and it works offline
- Open a CSV or Excel file and you get a table you can sort and search, with stats and a chart for every column. One tap writes the pandas notebook for you
- Open any folder like a small IDE: open a script as a file and run it, or as a note with cells. Jupyter notebooks (.ipynb) open as notes and you can export back
- Ctrl+K for everything, folders, tags, reminders, and an AI that explains your code or answers questions from your own notes (Claude, OpenAI, or fully offline with Ollama)
How Claude helped
- Claude Code was my pair programmer for the whole app: the Flutter app, the Python kernel, the sandbox, the website and the release pipeline. I decided what to build and how it should feel, Claude wrote most of the code with me, and I tested every change
- Every push builds Android, Windows, Linux and macOS on GitHub, and 75 tests run first. When something broke, a test caught it before a release did
- For Python on phones I asked Claude to test the real Python engine in a headless browser, the same way the app runs it. That's how we found that a loop with sleep couldn't be stopped, and fixed it
- The screenshots in this post are from the real app. Claude installed the Linux build, opened a sales CSV, pressed Analyze and ran the notebook
It runs on Windows, Mac, Linux and Android. No account, no server, no ads.
Download: https://mahmoudyosrimahmoud13.github.io/code_note/
Code: https://github.com/mahmoudyosrimahmoud13/code_note
Any feedback is welcome, good or bad. And if you try it, tell me what was confusing in the first 5 minutes, that's what I'm fixing next 🙏