sshcnfgr 0.1.0b1__tar.gz → 0.2.0b1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/CHANGELOG.md +8 -0
  2. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/PKG-INFO +29 -4
  3. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/README.md +28 -3
  4. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/SECURITY.md +2 -1
  5. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/pyproject.toml +1 -1
  6. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/__init__.py +1 -1
  7. sshcnfgr-0.2.0b1/src/sshcnfgr/assets/sshcnfgr.svg +51 -0
  8. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/gui/__init__.py +18 -0
  9. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/.gitignore +0 -0
  10. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/LICENSE +0 -0
  11. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/cli.py +0 -0
  12. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/dedup.py +0 -0
  13. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/dedup_screen.py +0 -0
  14. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/generator.py +0 -0
  15. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/gui/dedup_dialog.py +0 -0
  16. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/gui/main_window.py +0 -0
  17. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/identities.py +0 -0
  18. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/importer.py +0 -0
  19. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/logging_conf.py +0 -0
  20. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/model.py +0 -0
  21. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/paths.py +0 -0
  22. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/settings.py +0 -0
  23. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/store.py +0 -0
  24. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/tui.py +0 -0
  25. {sshcnfgr-0.1.0b1 → sshcnfgr-0.2.0b1}/src/sshcnfgr/tui.tcss +0 -0
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) (with PEP 440 pre-release tags).
7
7
 
8
+ ## [0.2.0b1] - 2026-11-26
9
+
10
+ ### Added
11
+ - **Linux AppImage (`x86_64`) with Gear Lever auto-updates:** Automated GitHub Actions build workflow (`appimage.yml` on `ubuntu-22.04`) bundling Python, `sshcnfgr`, and `PySide6-Essentials` via PyInstaller and `appimagetool`.
12
+ - **Embedded `gh-releases-zsync` update metadata & `.zsync` artifacts:** Enables automatic delta updates in Gear Lever and AppImageUpdate directly from GitHub Releases.
13
+ - **Custom vector SVG icon & desktop metadata:** Added `src/sshcnfgr/assets/sshcnfgr.svg`, Freedesktop `.desktop` entry (`de.tbaer.sshcnfgr`), AppStream metainfo, and native Wayland/X11 window icon integration.
14
+ - **Smart AppImage entry point:** Launching the AppImage without arguments opens the Qt6 desktop GUI directly; passing arguments delegates to the standard CLI/TUI.
15
+
8
16
  ## [0.1.0b1] - 2026-11-26
9
17
 
10
18
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: sshcnfgr
3
- Version: 0.1.0b1
3
+ Version: 0.2.0b1
4
4
  Summary: TUI, optional Qt6 GUI, and CLI to manage OpenSSH host configs from a single TOML file
5
5
  Project-URL: Homepage, https://github.com/thomsbe/SSHCnfgr
6
6
  Project-URL: Repository, https://github.com/thomsbe/SSHCnfgr
@@ -46,7 +46,7 @@ Description-Content-Type: text/markdown
46
46
 
47
47
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/thomsbe/SSHCnfgr/blob/main/LICENSE)
48
48
  [![Python 3.12+](https://img.shields.io/badge/Python-3.12%2B-3776AB.svg)](https://www.python.org/)
49
- [![Status: Beta](https://img.shields.io/badge/Status-0.1.0b1%20Beta-orange.svg)](https://pypi.org/project/sshcnfgr/)
49
+ [![Status: Beta](https://img.shields.io/badge/Status-0.2.0b1%20Beta-orange.svg)](https://pypi.org/project/sshcnfgr/)
50
50
 
51
51
  **SSHCnfgr** verwaltet deine OpenSSH-Hosts, Gruppen und Identities über eine einzige, saubere TOML-Datei (`~/.ssh/sshcnfgr.toml`) — per **Textual-TUI**, optionaler **Qt6-Desktop-GUI** (Wayland/X11/macOS/Windows) oder **Click-CLI**.
52
52
 
@@ -62,7 +62,7 @@ Description-Content-Type: text/markdown
62
62
 
63
63
  ## Schnellstart mit `uv` / `uvx`
64
64
 
65
- > **Hinweis zur Beta-Version (`0.1.0b1`):** Da es sich um eine Vorabversion handelt, benötigt `uvx` / `uv tool install` aktuell das Flag `--prerelease=allow`. Ab dem regulären `0.1.0`-Release entfällt dieses Flag.
65
+ > **Hinweis zur Beta-Version (`0.2.0b1`):** Da es sich um eine Vorabversion handelt, benötigt `uvx` / `uv tool install` aktuell das Flag `--prerelease=allow`. Ab dem regulären `0.2.0`-Release entfällt dieses Flag.
66
66
 
67
67
  ### Ohne Installation direkt ausführen (`uvx`)
68
68
 
@@ -94,6 +94,29 @@ sshcnfgr --help # zeigt alle Kommandos
94
94
 
95
95
  *(Falls `uv` noch nicht installiert ist: `curl -LsSf https://astral.sh/uv/install.sh | sh` auf Linux/macOS bzw. `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"` unter Windows.)*
96
96
 
97
+ ### Linux AppImage (ohne Python / ohne `uv`)
98
+
99
+ Für Linux-Desktop-Nutzer (z. B. Linux Mint, Ubuntu, Debian, Fedora) steht bei jedem [GitHub Release](https://github.com/thomsbe/SSHCnfgr/releases) eine fertige `SSHCnfgr-*-x86_64.AppImage` inklusive gebündelter Qt6-GUI bereit — es werden weder Python noch `uv` benötigt.
100
+
101
+ #### Optimal: Integration & Auto-Update mit Gear Lever (empfohlen)
102
+
103
+ 1. `SSHCnfgr-*-x86_64.AppImage` von den [GitHub Releases](https://github.com/thomsbe/SSHCnfgr/releases) herunterladen.
104
+ 2. In **[Gear Lever](https://mijorus.it/projects/gearlever/)** (per Flatpak / Software-Verwaltung) öffnen und **„In Anwendungsmenü verschieben“** (*Move to the app menu*) klicken.
105
+ 3. Fertig: Icon, Startmenü-Eintrag und Wayland/X11-Desktop-Integration werden automatisch eingerichtet.
106
+ 4. **Auto-Update inklusive:** Im AppImage sind bereits `gh-releases-zsync`-Update-Metadaten eingebettet (`gh-releases-zsync|thomsbe|SSHCnfgr|latest|SSHCnfgr-*-x86_64.AppImage.zsync`), und jedes Release liefert automatisch die passende `.AppImage.zsync`-Datei mit. Gear Lever erkennt Updates damit von selbst und lädt per Delta-Update nur die geänderten Blöcke nach.
107
+ *(Hinweis: Der Standard-Kanal `latest` folgt regulären Releases — bei als Pre-Release markierten Betas in Gear Lever ggf. Pre-Releases aktivieren.)*
108
+
109
+ #### Direkt ohne Gear Lever starten
110
+
111
+ ```bash
112
+ chmod +x SSHCnfgr-*-x86_64.AppImage
113
+ ./SSHCnfgr-*-x86_64.AppImage # startet direkt die Qt6 Desktop-GUI (wie Doppelklick)
114
+ ./SSHCnfgr-*-x86_64.AppImage tui # startet die Textual-TUI im Terminal
115
+ ./SSHCnfgr-*-x86_64.AppImage --help # alle CLI-Kommandos direkt nutzbar
116
+ ```
117
+
118
+ *(Falls auf einem System kein `libfuse2` installiert ist, funktioniert der Start jederzeit mit `APPIMAGE_EXTRACT_AND_RUN=1 ./SSHCnfgr-*-x86_64.AppImage` oder `--appimage-extract-and-run`.)*
119
+
97
120
  ---
98
121
 
99
122
  ## Typischer Ablauf
@@ -189,7 +212,7 @@ Weitere Dokumente: [CHANGELOG.md](CHANGELOG.md), [SECURITY.md](SECURITY.md), [CO
189
212
 
190
213
  ### Quickstart
191
214
  ```bash
192
- # Run directly with uvx (during 0.1.0b1 beta, pass --prerelease=allow)
215
+ # Run directly with uvx (during 0.2.0b1 beta, pass --prerelease=allow)
193
216
  uvx --prerelease=allow sshcnfgr
194
217
  uvx --prerelease=allow --from "sshcnfgr[qt]" sshcnfgr gui
195
218
 
@@ -202,4 +225,6 @@ sshcnfgr import --source ~/.ssh/config
202
225
  sshcnfgr generate
203
226
  ```
204
227
 
228
+ On Linux desktops (without Python or `uv`), download `SSHCnfgr-*-x86_64.AppImage` from [GitHub Releases](https://github.com/thomsbe/SSHCnfgr/releases). Open it in **Gear Lever** for one-click app-menu integration and automatic delta updates (`gh-releases-zsync` metadata and `.zsync` files are included), or make it executable (`chmod +x`) and run it directly (opens the Qt6 GUI by default; CLI/TUI arguments also work).
229
+
205
230
  Licensed under the [MIT License](LICENSE). See [SECURITY.md](SECURITY.md) for security reporting and [CONTRIBUTING.md](CONTRIBUTING.md) for development details.
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/thomsbe/SSHCnfgr/blob/main/LICENSE)
6
6
  [![Python 3.12+](https://img.shields.io/badge/Python-3.12%2B-3776AB.svg)](https://www.python.org/)
7
- [![Status: Beta](https://img.shields.io/badge/Status-0.1.0b1%20Beta-orange.svg)](https://pypi.org/project/sshcnfgr/)
7
+ [![Status: Beta](https://img.shields.io/badge/Status-0.2.0b1%20Beta-orange.svg)](https://pypi.org/project/sshcnfgr/)
8
8
 
9
9
  **SSHCnfgr** verwaltet deine OpenSSH-Hosts, Gruppen und Identities über eine einzige, saubere TOML-Datei (`~/.ssh/sshcnfgr.toml`) — per **Textual-TUI**, optionaler **Qt6-Desktop-GUI** (Wayland/X11/macOS/Windows) oder **Click-CLI**.
10
10
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  ## Schnellstart mit `uv` / `uvx`
22
22
 
23
- > **Hinweis zur Beta-Version (`0.1.0b1`):** Da es sich um eine Vorabversion handelt, benötigt `uvx` / `uv tool install` aktuell das Flag `--prerelease=allow`. Ab dem regulären `0.1.0`-Release entfällt dieses Flag.
23
+ > **Hinweis zur Beta-Version (`0.2.0b1`):** Da es sich um eine Vorabversion handelt, benötigt `uvx` / `uv tool install` aktuell das Flag `--prerelease=allow`. Ab dem regulären `0.2.0`-Release entfällt dieses Flag.
24
24
 
25
25
  ### Ohne Installation direkt ausführen (`uvx`)
26
26
 
@@ -52,6 +52,29 @@ sshcnfgr --help # zeigt alle Kommandos
52
52
 
53
53
  *(Falls `uv` noch nicht installiert ist: `curl -LsSf https://astral.sh/uv/install.sh | sh` auf Linux/macOS bzw. `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"` unter Windows.)*
54
54
 
55
+ ### Linux AppImage (ohne Python / ohne `uv`)
56
+
57
+ Für Linux-Desktop-Nutzer (z. B. Linux Mint, Ubuntu, Debian, Fedora) steht bei jedem [GitHub Release](https://github.com/thomsbe/SSHCnfgr/releases) eine fertige `SSHCnfgr-*-x86_64.AppImage` inklusive gebündelter Qt6-GUI bereit — es werden weder Python noch `uv` benötigt.
58
+
59
+ #### Optimal: Integration & Auto-Update mit Gear Lever (empfohlen)
60
+
61
+ 1. `SSHCnfgr-*-x86_64.AppImage` von den [GitHub Releases](https://github.com/thomsbe/SSHCnfgr/releases) herunterladen.
62
+ 2. In **[Gear Lever](https://mijorus.it/projects/gearlever/)** (per Flatpak / Software-Verwaltung) öffnen und **„In Anwendungsmenü verschieben“** (*Move to the app menu*) klicken.
63
+ 3. Fertig: Icon, Startmenü-Eintrag und Wayland/X11-Desktop-Integration werden automatisch eingerichtet.
64
+ 4. **Auto-Update inklusive:** Im AppImage sind bereits `gh-releases-zsync`-Update-Metadaten eingebettet (`gh-releases-zsync|thomsbe|SSHCnfgr|latest|SSHCnfgr-*-x86_64.AppImage.zsync`), und jedes Release liefert automatisch die passende `.AppImage.zsync`-Datei mit. Gear Lever erkennt Updates damit von selbst und lädt per Delta-Update nur die geänderten Blöcke nach.
65
+ *(Hinweis: Der Standard-Kanal `latest` folgt regulären Releases — bei als Pre-Release markierten Betas in Gear Lever ggf. Pre-Releases aktivieren.)*
66
+
67
+ #### Direkt ohne Gear Lever starten
68
+
69
+ ```bash
70
+ chmod +x SSHCnfgr-*-x86_64.AppImage
71
+ ./SSHCnfgr-*-x86_64.AppImage # startet direkt die Qt6 Desktop-GUI (wie Doppelklick)
72
+ ./SSHCnfgr-*-x86_64.AppImage tui # startet die Textual-TUI im Terminal
73
+ ./SSHCnfgr-*-x86_64.AppImage --help # alle CLI-Kommandos direkt nutzbar
74
+ ```
75
+
76
+ *(Falls auf einem System kein `libfuse2` installiert ist, funktioniert der Start jederzeit mit `APPIMAGE_EXTRACT_AND_RUN=1 ./SSHCnfgr-*-x86_64.AppImage` oder `--appimage-extract-and-run`.)*
77
+
55
78
  ---
56
79
 
57
80
  ## Typischer Ablauf
@@ -147,7 +170,7 @@ Weitere Dokumente: [CHANGELOG.md](CHANGELOG.md), [SECURITY.md](SECURITY.md), [CO
147
170
 
148
171
  ### Quickstart
149
172
  ```bash
150
- # Run directly with uvx (during 0.1.0b1 beta, pass --prerelease=allow)
173
+ # Run directly with uvx (during 0.2.0b1 beta, pass --prerelease=allow)
151
174
  uvx --prerelease=allow sshcnfgr
152
175
  uvx --prerelease=allow --from "sshcnfgr[qt]" sshcnfgr gui
153
176
 
@@ -160,4 +183,6 @@ sshcnfgr import --source ~/.ssh/config
160
183
  sshcnfgr generate
161
184
  ```
162
185
 
186
+ On Linux desktops (without Python or `uv`), download `SSHCnfgr-*-x86_64.AppImage` from [GitHub Releases](https://github.com/thomsbe/SSHCnfgr/releases). Open it in **Gear Lever** for one-click app-menu integration and automatic delta updates (`gh-releases-zsync` metadata and `.zsync` files are included), or make it executable (`chmod +x`) and run it directly (opens the Qt6 GUI by default; CLI/TUI arguments also work).
187
+
163
188
  Licensed under the [MIT License](LICENSE). See [SECURITY.md](SECURITY.md) for security reporting and [CONTRIBUTING.md](CONTRIBUTING.md) for development details.
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Version | Supported |
6
6
  | ------- | --------- |
7
- | `0.1.x` (Beta / Current) | Yes |
7
+ | `0.2.x` (Beta / Current) | Yes |
8
+ | `0.1.x` | Security fixes only |
8
9
 
9
10
  ## Security Design Principles
10
11
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sshcnfgr"
3
- version = "0.1.0b1"
3
+ version = "0.2.0b1"
4
4
  description = "TUI, optional Qt6 GUI, and CLI to manage OpenSSH host configs from a single TOML file"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -2,4 +2,4 @@
2
2
 
3
3
  __all__ = ["__version__"]
4
4
 
5
- __version__ = "0.1.0b1"
5
+ __version__ = "0.2.0b1"
@@ -0,0 +1,51 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="SSHCnfgr Icon">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
4
+ <stop offset="0%" stop-color="#0f172a"/>
5
+ <stop offset="55%" stop-color="#1e293b"/>
6
+ <stop offset="100%" stop-color="#0f2937"/>
7
+ </linearGradient>
8
+ <linearGradient id="border" x1="0%" y1="0%" x2="100%" y2="100%">
9
+ <stop offset="0%" stop-color="#38bdf8"/>
10
+ <stop offset="100%" stop-color="#10b981"/>
11
+ </linearGradient>
12
+ <linearGradient id="accent" x1="0%" y1="0%" x2="100%" y2="100%">
13
+ <stop offset="0%" stop-color="#38bdf8"/>
14
+ <stop offset="100%" stop-color="#34d399"/>
15
+ </linearGradient>
16
+ <linearGradient id="keyGrad" x1="0%" y1="0%" x2="100%" y2="100%">
17
+ <stop offset="0%" stop-color="#fbbf24"/>
18
+ <stop offset="100%" stop-color="#f59e0b"/>
19
+ </linearGradient>
20
+ </defs>
21
+
22
+ <!-- Rounded tile background -->
23
+ <rect x="14" y="14" width="228" height="228" rx="48" fill="url(#bg)" stroke="url(#border)" stroke-width="6"/>
24
+
25
+ <!-- Subtle top window bar -->
26
+ <path d="M22 62 C22 36 36 22 62 22 L194 22 C220 22 234 36 234 62 L234 72 L22 72 Z" fill="#0b1220" opacity="0.72"/>
27
+ <circle cx="52" cy="47" r="7" fill="#f87171"/>
28
+ <circle cx="76" cy="47" r="7" fill="#fbbf24"/>
29
+ <circle cx="100" cy="47" r="7" fill="#34d399"/>
30
+
31
+ <!-- Subtle config lines on top right of window bar -->
32
+ <rect x="136" y="42" width="68" height="10" rx="5" fill="#334155"/>
33
+
34
+ <!-- Terminal prompt chevron '>' -->
35
+ <path d="M52 114 L88 140 L52 166" fill="none" stroke="url(#accent)" stroke-width="15" stroke-linecap="round" stroke-linejoin="round"/>
36
+ <!-- Prompt underscore '_' -->
37
+ <line x1="98" y1="168" x2="132" y2="168" stroke="#38bdf8" stroke-width="13" stroke-linecap="round"/>
38
+
39
+ <!-- Stylized SSH key badge on lower right -->
40
+ <g transform="translate(132, 92)">
41
+ <!-- Key bow (ring) -->
42
+ <circle cx="48" cy="34" r="24" fill="none" stroke="url(#keyGrad)" stroke-width="13"/>
43
+ <circle cx="48" cy="34" r="7" fill="#0f172a"/>
44
+ <!-- Key shaft & teeth -->
45
+ <path d="M48 58 L48 112 M48 86 L66 86 M48 104 L62 104" fill="none" stroke="url(#keyGrad)" stroke-width="13" stroke-linecap="round" stroke-linejoin="round"/>
46
+ </g>
47
+
48
+ <!-- Subtle bottom host-list bars -->
49
+ <rect x="48" y="198" width="76" height="10" rx="5" fill="#38bdf8" opacity="0.45"/>
50
+ <rect x="134" y="198" width="32" height="10" rx="5" fill="#34d399" opacity="0.65"/>
51
+ </svg>
@@ -3,6 +3,15 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import sys
6
+ from pathlib import Path
7
+
8
+
9
+ def _icon_path() -> Path:
10
+ assets_dir = Path(__file__).resolve().parent.parent / "assets"
11
+ png_icon = assets_dir / "sshcnfgr.png"
12
+ if png_icon.exists():
13
+ return png_icon
14
+ return assets_dir / "sshcnfgr.svg"
6
15
 
7
16
 
8
17
  def run_gui() -> None:
@@ -11,6 +20,7 @@ def run_gui() -> None:
11
20
  Qt6 waehlt unter Linux automatisch das passende Plattform-Plugin
12
21
  (Wayland oder X11/xcb).
13
22
  """
23
+ from PySide6.QtGui import QIcon
14
24
  from PySide6.QtWidgets import QApplication
15
25
 
16
26
  from .main_window import SSHCnfgrWindow
@@ -21,8 +31,16 @@ def run_gui() -> None:
21
31
  app = QApplication(sys.argv)
22
32
  app.setApplicationName("SSHCnfgr")
23
33
  app.setOrganizationName("SSHCnfgr")
34
+ # Wichtig fuer Wayland, damit Panel/Taskleiste das .desktop-Icon zuordnen koennen.
35
+ app.setDesktopFileName("de.tbaer.sshcnfgr")
36
+
37
+ icon_file = _icon_path()
38
+ if icon_file.exists():
39
+ app.setWindowIcon(QIcon(str(icon_file)))
24
40
 
25
41
  window = SSHCnfgrWindow()
42
+ if icon_file.exists():
43
+ window.setWindowIcon(QIcon(str(icon_file)))
26
44
  window.show()
27
45
 
28
46
  if created_app:
File without changes
File without changes