- name: peridot (revision 1, uploaded and awaiting review)
- description: Peridot is a Markdown note editor for Linux, Windows, macOS, Android and iOS, published by Noetisphere Innovations Private Limited. Website: https://peridot.noetisphereai.com. It includes a local code runner: a fenced code block in a note can be compiled and run on the user’s own computer, with a compiler or interpreter the user picks.
- snapcraft: built with
snap packby our own script, from our.debunpacked; it uses the host’s WebKitGTK 4.1 and GTK 3 as the.debdoes, and a launcher checks they are present and names the apt package if one is missing. The snap.yaml is:
name: peridot
version: "1.1.1"
summary: "Markdown editor with a local folder index"
description: |
Peridot edits, previews and indexes a folder of Markdown notes on your own machine.
architectures:
- amd64
base: core22
confinement: classic
grade: stable
apps:
peridot:
command: bin/peridot-launch
-
upstream: PRIVATE (the product site is https://peridot.noetisphereai.com)
-
upstream-relation: we are the developer and publisher.
-
supported-category: IDEs
-
reasoning: Peridot has a local code runner. A fenced code block in a note can be compiled and run on the user’s own computer, with a compiler or interpreter the user picks and points the app at: gcc, g++, java, python, node, go, rustc and others. The program is run in a temporary folder that is deleted afterwards. That means running host toolchains chosen by the user, at paths the user picks. Strict confinement does not allow that: the snap would not see the host’s compilers, and the
homeandremovable-mediainterfaces give file access only, not the ability to run the host’s toolchains with their own libraries.We have not shipped a strict build. Under strict confinement the snap runs against the core22 base filesystem, not the host’s, so a compiler the user installed with apt or under their home is not reachable as an executable with its own libraries; no interface exposes the host’s toolchains. That is the need the IDEs category covers.
The app also opens notes in any folder the user chooses, including folders outside
$HOMEand on external drives.It runs nothing by itself. Every run is started by the user from a dialog that shows the exact program first. Shell scripts are never run from a note. There is no background service, and it changes no system files. Updates come from the Snap Store; the app’s own updater is off inside a snap.
-
I understand that strict confinement is generally preferred over classic.
-
I’ve tried the existing interfaces to make the snap to work under strict confinement.