admin 79c6926cec Fix auth login URL and migrate users/me endpoint
- Fix SNAKKIMO_URL.replace('/api','') bug that stripped both /api occurrences
  producing wrong auth URL → use endswith/slice to remove only trailing /api
- Replace directus_users_me with JWT decode (snakkimo has no /users/me endpoint)
  Returns Directus-compatible shape with role.admin_access for UI admin checks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 16:46:38 +02:00
2026-04-23 22:10:45 +02:00
2026-04-23 22:10:45 +02:00
2026-04-23 22:10:45 +02:00
2026-04-23 22:10:45 +02:00

Bild-Ausschnitt-Tool

Kurzes Web-Tool, um ein lokales Bild aus dem Ordner pictures im Browser anzuzeigen, einen Rechteck-Ausschnitt mit der Maus zu wählen und den Ausschnitt in objects_image zu speichern.

Installation

  1. In den Projektordner wechseln:
cd /Users/tim/SynologyDrive/LanguageParent/content_mentor
  1. (Optional, empfohlen) Virtuelle Umgebung anlegen/aktivieren und Abhängigkeiten installieren:
python -m venv .venv
source .venv/bin/activate  # macOS / Linux
pip install -r requirements.txt
  1. Lege deine Quellbilder in den Ordner pictures neben dieser Datei.

Starten

python app.py

Dann im Browser aufrufen:

http://localhost:5000

Den Port kannst du in app.py im app.run(...)-Aufruf anpassen und später per Nginx/Reverse-Proxy von außen erreichbar machen.

Description
No description provided
Readme 1.2 MiB
Languages
TypeScript 48.3%
Python 21%
CSS 14.3%
JavaScript 12.5%
HTML 3.4%
Other 0.5%