Skip to content

CodeNote 1.8.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 19:15
· 5 commits to master since this release

CodeNote 1.8.0

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

New

  • Python works like Jupyter.
    • Shared variables: the Python blocks of a note share one kernel, so df made in one block is there in the next.
    • Like Jupyter cells: each run shows its In [n] counter, the last line's value is shown automatically, and display(x) works anywhere.
    • Interrupt stops a block and keeps the variables. Restart kernel forgets them.
    • Jupyter's shortcuts: !ls and %pip install … lines work as in Jupyter.
    • Servers aren't blocked: ★ primary and keep-running blocks still get their own process, so a server never blocks the notebook.
  • Rich output, for any library that supports Jupyter's display:
    • Plots: matplotlib and seaborn plots show as images, even without plt.show().
    • Tables: pandas (and polars) tables show as real tables, with their size.
    • Images and markdown: from Pillow, torchvision and more.
    • Interactive HTML (plotly, folium, pandas Styler) gets an Open button.
    • Progress bars (tqdm, pip) redraw in place.
    • Saving: "Save output into the note" keeps plots as image blocks and tables as Markdown tables.
    • Started from anywhere: this also works for Python started from Bash or the terminal.
  • New notebooks folder:
    • Data science (numpy, pandas, seaborn)
    • a Pandas cookbook (CSV, filter, groupby, pivot, merge, resample, text, missing values, styling, plots)
    • PyTorch (training a tiny model with tqdm and plotting it)

Fixed

  • Linux sandbox: bubblewrap failed with "Can't mkdir /run/media" on systems without that folder (Zorin, Ubuntu), so the terminal and every run stopped at once.
    • Hiding: the sandbox now hides only folders that exist, plus your real home folder wherever it is.
    • Self-test: CodeNote tests bubblewrap before using it, and Settings explains if it can't be used.
  • Terminal: it now notices when the shell closes and offers Restart shell, instead of saying "running…" forever.

Download

Platform File How to install
Android 7.0+ CodeNote-1.8.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.8.0-windows-x64.zip Unzip, then run code_note.exe. If SmartScreen warns, click More info > Run anyway.
Ubuntu, Debian, Mint, Zorin CodeNote-1.8.0-linux-amd64.deb sudo apt install ./CodeNote-1.8.0-linux-amd64.deb, then open CodeNote from the app menu.
Other Linux CodeNote-1.8.0-linux-x64.tar.gz Extract, then run ./code_note (needs GTK 3).
macOS 10.15+ CodeNote-1.8.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.