Repository navigation
SweetCherry 1.1 — an open-source web companion for CherryTree CTB databases #2939
turkerozturk
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I have been using CherryTree for a long time. To meet some of my own needs, I developed an independent companion application called SweetCherry.
It uses CherryTree’s CTB database format and provides a browser-based interface for accessing notes. It is a separate project, not an official CherryTree application or a replacement for CherryTree.
Why I built it
My main goal was to access my CherryTree notes from other devices, especially a phone, while keeping the database on my own computer or server.
SweetCherry provides:
Editing and other features
For databases configured as writable, SweetCherry supports:
Export options include:
There is also a specialized table-based view that presents structured node content as rows and columns.
Installation and getting started
SweetCherry is written in Java and requires Java 17 or later when using an existing Java installation.
The Windows x64 installer and portable ZIP include Java 17, so Windows users do not need to install Java separately. A desktop control window provides application status, browser access, settings and shutdown controls. Linux launch scripts are also included; I run SweetCherry on a Raspberry Pi.
Other Java-capable platforms may work, but I have not verified every platform.
The distribution includes:
The guides can be selected inside SweetCherry or opened in CherryTree.
SweetCherry calls its database connection definitions “tenant configs.” In practice, these are small text files containing the database location and opening settings, including whether editing is allowed. A wizard can create and edit them, so users do not have to prepare the files manually.
SQLite CTB files are the main use case. SweetCherry also supports compatible MariaDB/MySQL and PostgreSQL databases; I have manually tested the main operations with SQLite, MariaDB and PostgreSQL.
Important limitations
.ctbfiles only.SweetCherry is open source under GPL-3.0-or-later.
Thank you to the CherryTree developers and contributors for the application I have been using all these years.
If anyone would like to try SweetCherry with a copy of their CTB, I would appreciate feedback—particularly on content rendering, shared-node behavior and anything that does not behave as expected.
All reactions