- Ricerca nel testo: la cartella viene percorsa ricorsivamente e le note .md scaricate una alla volta (il WebDAV non cerca nel contenuto), con avanzamento, possibilità di fermare e il passaggio che contiene la parola. La ricerca per titolo nella lista resta istantanea. - Caselle di spunta: "- [ ]" e "- [x]" diventano caselle toccabili nell'anteprima; il tocco riscrive quella sola riga e salva subito, e l'editor segue (senza, uscendo riscriverebbe la versione vecchia sul server). - Tag: front-matter (tags: [a, b], lista a trattini o separata da virgole) e #tag nel testo; pastiglie in cima all'anteprima, #tag toccabili, nuova schermata Tag con il conteggio per tag. Il blocco front-matter non viene più stampato come testo. - tests/qml_contract_check.py: confronta i nomi JS e le proprietà usati dalla QML con i sorgenti, le pagine raggiungibili e i parametri dei gestori dei segnali — la classe di errori che la compilazione non vede. - Catalogo italiano aggiornato (25 stringhe nuove); repo ripulito dai residui di build e .gitignore esteso.
96 lines
4.0 KiB
Markdown
96 lines
4.0 KiB
Markdown
# harbour-quill
|
|
|
|
Markdown notes client (**Obsidian-like**) for Sailfish OS. Notes live in a
|
|
WebDAV folder (e.g. a Nextcloud directory): browse, edit and preview `.md`
|
|
notes with automatic save — no local storage, your vault stays on your
|
|
server.
|
|
|
|
## Features
|
|
|
|
- **WebDAV browsing**: folder navigation, all files shown (not only `.md`,
|
|
any file can be opened as text), mtime/size listing
|
|
- **Markdown editor** with automatic save on exit
|
|
- **Preview** rendered locally by the built-in parser (`Markdown.js`):
|
|
- GFM tables (delimiter row, column alignment, inline markup in cells)
|
|
- navigable `[[wiki-links]]`
|
|
- inline images with local cache
|
|
- relative links resolved against the note's WebDAV folder
|
|
- local `file:` links blocked with a banner (safety)
|
|
- **Note search** two ways: instant title filter in the list, and full-text
|
|
search over the whole folder (the tree is walked and the `.md` files are
|
|
downloaded one at a time — WebDAV has no content search), with the passage
|
|
that contains the word and a stop button
|
|
- **Task checkboxes**: `- [ ]` / `- [x]` are drawn as boxes in the preview and
|
|
can be tapped; the tap rewrites that one line and saves the note at once
|
|
- **Tags**: front-matter (`tags: [a, b]`, dash list or comma separated) and
|
|
inline `#tag`; front-matter tags show as chips on top of the preview, `#tag`
|
|
in the text is tappable, and a **Tags** screen lists every tag with how many
|
|
notes carry it (most used first)
|
|
- **New / delete notes** from the folder list
|
|
- **English and Italian** UI: language selector (system / English / Italiano),
|
|
applied on restart; Italian catalogue `.qm` in the app data dir
|
|
- Settings in `~/.config/harbour/quill/quill.conf` — the persistent zone of
|
|
the SailJail sandbox (Sailfish 4.4+/5.x)
|
|
|
|
## Build
|
|
|
|
You need the [Sailfish SDK](https://sailfishos.org/wiki/Sailfish_SDK).
|
|
|
|
```sh
|
|
sfdk target install SailfishOS-5.0.0.62-aarch64 # or your device target
|
|
sfdk target use SailfishOS-5.0.0.62-aarch64
|
|
sfdk build # produces the RPM in RPMS/
|
|
sfdk deploy # installs on the connected device
|
|
```
|
|
|
|
Targets: `aarch64` (Jolla Phone 2026, Xperia 10 II/III), `armv7hl`
|
|
(Xperia X, Jolla C), `x86_64` (emulator).
|
|
|
|
## Configuration
|
|
|
|
Open the app → menu → **Settings**:
|
|
|
|
| Field | Value |
|
|
|---|---|
|
|
| Server URL | e.g. `https://nextcloud.example.com/remote.php/dav/files/user/Notes` |
|
|
| Username | WebDAV user |
|
|
| Password | app password / account password |
|
|
| Language | System / English / Italiano (applied on restart) |
|
|
|
|
## Structure
|
|
|
|
```
|
|
qml/harbour-quill.qml app entry
|
|
qml/pages/ MainPage (folder list + search), EditorPage,
|
|
PreviewPage, SettingsPage, NewNoteDialog
|
|
qml/components/ DavClient.qml (WebDAV), Banner.qml,
|
|
Markdown.js (parser), PropfindParser.js
|
|
src/ main.cpp (language + translator), settings
|
|
(QSettings, sandbox config), downloader
|
|
(image cache)
|
|
tests/ test_parsers.js (Markdown/propfind parsers)
|
|
translations/ harbour-quill_it.ts (English is the source language)
|
|
rpm/ spec (lrelease → .qm in app data dir) and desktop
|
|
file (SailJail: Internet)
|
|
```
|
|
|
|
## Known limitations
|
|
|
|
- The WebDAV password is stored in plain text in the app settings
|
|
(`~/.config/harbour/quill/quill.conf`) — acceptable for personal use.
|
|
- The preview is a local render; some exotic Markdown edge cases may differ
|
|
from Obsidian.
|
|
- The language change takes effect on restart.
|
|
- Full-text search and the tag list download every note in the folder: on a
|
|
big vault the first scan takes time (it is sequential, one note at a time).
|
|
Notes are kept in memory up to 16 MB; past that they are still listed and
|
|
searchable by title, and a banner says so. Files over 256 KB and beyond the
|
|
first 500 are skipped.
|
|
- Front matter is understood only as simple `key: value` pairs with scalar,
|
|
bracket or dash-list values; nested YAML is not interpreted (the block is
|
|
never printed as text either way).
|
|
|
|
## License
|
|
|
|
GPLv3
|