Add SaraTag.

This commit is contained in:
sarah committed 2026-10-08 19:06:25 +02:00
1 parent 7ae9d5c6f0
commit c513e5f57a
5 files changed
+54 -1

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
# Kept in sync between SaraSuite/Programs/SaraTag/ and SaraTag/Packaging/SaraSuite/.
Name = "SaraTag"
Description = "Tag files with Books (sidecars) defined by Lexicons: browse, filter and sort by tag, edit tags on many files at once."
[Version]
File = "Core.py"
Pattern = 'AppVersion = "([^"]+)"'
[Source]
Git = "{GitHost}/SaraTag"
# .saratag/Core.py is the data library SaraFem and SaraView load too.
# SaraTagConf.toml is left out: SaraTag makes its own in {ConfigDir}.
Include = ["*.py", "requirements.txt", "assets/**", ".saratag/*.py"]
Exclude = ["Packaging"]
[Python]
RequirementsFile = "requirements.txt"
[[Templates]]
Source = "Location.toml"
Target = "{AppDir}/.saratag/Location.toml" # tells .saratag/Core.py where the data lives
[[Templates]]
Source = "Launch.sh"
Target = "{AppDir}/Packaging/Launch.sh"
Executable = true
[[Templates]]
Source = "SaraTag.desktop"
Target = "{ApplicationsDir}/SaraTag.desktop"
# Made by SaraTag itself. The Lexicons are your tag definitions: only tick
# "remove configs" if you don't need them any more.
[[Leftovers]]
Path = "{ConfigDir}"
Kind = "Config"
Note = "SaraTag's settings, Records, Libraries, history and Lexicons (Books next to your files are never touched)"
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Written by SaraSuite. Runs from the app folder so Flet finds assets/.
cd "{AppDir}" || exit 1
exec "{Python}" Main.py "$@"
+3
View File
@@ -0,0 +1,3 @@
# Written by SaraSuite. Where SaraTag keeps SaraTagConf.toml, its Records,
# history and Lexicons (see .saratag/Core.py).
DataDir = "{ConfigDir}"
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=SaraTag
Comment=Tag files with Books defined by Lexicons
Exec={AppDir}/Packaging/Launch.sh
Icon={AppDir}/assets/Icon.png
Terminal=false
Categories=Utility;Graphics;
StartupNotify=true
+1 -1
View File
@@ -1,6 +1,6 @@
# SaraSuite
Installs, updates and removes Sara programs (SaraSortd, SaraFem, and eventually the SaraView client).
Installs, updates and removes Sara programs (SaraSortd, SaraSort, SaraFem, SaraTag, and eventually the SaraView client).
It's one AppImage file: download it, run it, pick a program.
- **Install**: downloads the program's latest commit from its git repo, copies it into