Skip to content

CodeNote 1.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 18:27
· 8 commits to master since this release

CodeNote 1.6.0

A notebook for code, notes and ideas. Local-only: your notes stay on your device.

New

  • Run Python and Bash in your notes. Python, Bash and PowerShell (Windows) code blocks get a small ▶. Output shows under the code, with Stop, an input line for scripts that ask questions, and "Save output into the note".
  • Everything runs in a sandbox. Each folder of notes has its own sandbox folder, shared by the notes in it, so a backend in one note and a web page in another work together.
    • Android: Android's own app sandbox.
    • macOS: Apple's App Sandbox.
    • Linux: bubblewrap. Scripts can't see your home folder.
    • Windows (and Linux without bubblewrap): only a private folder, so running code is off until you allow it in Settings.
  • Files stay in the sandbox until you choose Save a copy from the Files button.
  • ▶ Run folder starts every note in a folder, then opens its web pages. Mark a block ★ main (the only one that runs with the folder) or skip.
  • Runs keep going when you leave the note, with a "● running" badge on the note card and Stop all in the command palette and Settings.
  • Terminal: a real shell inside the sandbox, from the sidebar, Ctrl+K, or the terminal button under any output.
  • Settings → Runtimes and sandbox:
    • Download Python (python-build-standalone) or BusyBox Bash for Windows from their official sources.
    • Install, update and remove Python packages. They live in CodeNote's own environment and never change your system.
    • See what's running, and clear sandbox files.
  • Mini apps: web page notes can now save data. localStorage just works, and is kept per note and in backups.
    • codenote.storage saves values.
    • codenote.api(8000, '/path') calls a server started in the same folder, without CORS problems.
    • codenote.file('name') shows a file from the folder's sandbox.
  • New sample notes:
    • youtube-downloader (yt-dlp with video or audio, quality, formats, subtitles, thumbnails, SponsorBlock, playlists, speed limit, live progress)
    • fastapi-todo (a FastAPI backend and its frontend)
    • Snake, a mini app game that saves your best score
    • small Python and Bash scripts
  • Onboarding explains the sandbox.

Improved

  • Markdown on note cards and folder previews looks like Markdown: headings, bold, code, lists and checkboxes instead of raw # and **.

Download

Platform File How to install
Android 7.0+ CodeNote-1.6.0-android.apk Open the file on your phone and tap Install. Updates install over the old version, and your notes stay.
Windows 10/11 CodeNote-1.6.0-windows-x64.zip Unzip, then run code_note.exe. If SmartScreen warns, click More info > Run anyway.
Ubuntu, Debian, Mint, Zorin CodeNote-1.6.0-linux-amd64.deb sudo apt install ./CodeNote-1.6.0-linux-amd64.deb, then open CodeNote from the app menu.
Other Linux CodeNote-1.6.0-linux-x64.tar.gz Extract, then run ./code_note (needs GTK 3).
macOS 10.15+ CodeNote-1.6.0-macos.zip Unzip and move to Applications. The first time, right-click the app > Open (it isn't notarized).

Check your download: compare it with SHA256SUMS.txt using sha256sum <file> (Linux), shasum -a 256 <file> (Mac) or certutil -hashfile <file> SHA256 (Windows).

Back up your notes: Settings > Backup saves everything to one file you can restore anywhere.