PlexMedia2HTML Export
by @kesuek
Exports Plex Media Library (Movies & TV Shows) as static HTML pages. Features: Multilingual (EN/DE), token obfuscation (machine-bound), genre filter, detail...
clawhub install plexmedia2html-export📖 About This Skill
name: plexmedia2html-export description: "Exports Plex Media Library (Movies & TV Shows) as static HTML pages. Features: Multilingual (EN/DE), token obfuscation (machine-bound), genre filter, detail popups. | Exportiert Plex Mediathek (Filme & Serien) als statische HTML-Seiten. Features: Multilingual (EN/DE), Token-Obfuskierung (maschinengebunden), Genre-Filter, Detail-Popups." language: ["en", "de"]
PlexMedia2HTML Export v1.2.3
🇬🇧 English
Exports your Plex Media Library as static HTML pages.
Features v1.2.3
Installation
Requires Python 3.8+. No external dependencies needed.
# Install via ClawHub
clawhub install plexmedia2html-exportOr manually copy and make executable
chmod +x ~/.openclaw/workspace/skills/plexmedia2html-export/plex-export
The plex-export wrapper is ready to use.
Onboarding
The following values will be requested on first run:
#### 1. Plex Server URL
Example: http://192.168.1.100:32400
#### 2. Plex Token
1. Open Plex Web → Settings → General → Advanced
2. Click "Show Token"
3. Copy the token here
Note: The token is obfuscated with a machine-specific key (not truly encrypted).
#### 3. Language
en (English) or de (German)
#### 4. Export Path (optional)
Default: ~/Exports/
Configuration
Configuration is stored in ~/.openclaw/workspace/data/plexmedia2html-export/config.json:
{
"plex_url": "http://192.168.1.100:32400",
"plex_token_encrypted": "BASE64_ENCRYPTED_TOKEN",
"export_path": "~/Exports",
"movies_per_page": 18,
"series_per_page": 18,
"language": "en"
}
Important: The Plex token is never stored in plain text!
Usage
# First export
plex-exportWith self-signed certificate (disable SSL verification)
plex-export --insecureAs cron job (daily at 2 AM)
0 2 * * * /usr/bin/python3 ~/.openclaw/workspace/skills/plexmedia2html-export/export.py
🇩🇪 Deutsch
Exportiert deine Plex Mediathek als statische HTML-Seiten.
Features v1.2.3
Installation
Der Skill benötigt Python 3.8+ und hat keine externen Dependencies.
# Skill installieren (via ClawHub)
clawhub install plexmedia2html-exportOder manuell kopieren und ausführbar machen
chmod +x ~/.openclaw/workspace/skills/plexmedia2html-export/plex-export
Der Wrapper plex-export ist direkt ausführbar.
Onboarding
Beim ersten Aufruf werden folgende Werte abgefragt:
#### 1. Plex-Server URL
Beispiel: http://192.168.1.100:32400
#### 2. Plex Token
1. Öffne Plex Web → Einstellungen → Allgemein → Erweitert
2. Klicke auf "Token anzeigen"
3. Kopiere den Token hierhin
Hinweis: Der Token wird obfuskiert mit einem maschinenspezifischen Schlüssel gespeichert (nicht verschlüsselt).
#### 3. Sprache
en (Englisch) oder de (Deutsch)
#### 4. Export-Pfad (optional)
Standard: ~/Exports/
Konfiguration
Die Konfiguration wird in ~/.openclaw/workspace/data/plexmedia2html-export/config.json gespeichert:
{
"plex_url": "http://192.168.1.100:32400",
"plex_token_encrypted": "BASE64_ENCRYPTED_TOKEN",
"export_path": "~/Exports",
"movies_per_page": 18,
"series_per_page": 18,
"language": "de"
}
Wichtig: Der Plex-Token wird nie im Klartext gespeichert!
Nutzung
# Erstmaliger Export
plex-exportMit selbst-signiertem Zertifikat (SSL-Verification deaktivieren)
plex-export --insecureAls Cron-Job (täglich um 2 Uhr)
0 2 * * * /usr/bin/python3 ~/.openclaw/workspace/skills/plexmedia2html-export/export.py
Security / Sicherheit
Privacy Note:
/etc/machine-id (Linux) or derives a fallback from hostname+usernameToken Storage (Obfuscation):
/etc/machine-id or hostname+usernameSSL/TLS:
--insecure flag only for self-signed certificates (not recommended)File Permissions:
chmod 600 (owner read/write only)ls -la ~/.openclaw/workspace/data/plexmedia2html-export/config.jsonLizenz / License
MIT – Frei verwendbar und modifizierbar / Free to use and modify.
Versions:
💡 Examples
⚙️ Configuration
Configuration is stored in ~/.openclaw/workspace/data/plexmedia2html-export/config.json:
{
"plex_url": "http://192.168.1.100:32400",
"plex_token_encrypted": "BASE64_ENCRYPTED_TOKEN",
"export_path": "~/Exports",
"movies_per_page": 18,
"series_per_page": 18,
"language": "en"
}
Important: The Plex token is never stored in plain text!
Usage
# First export
plex-exportWith self-signed certificate (disable SSL verification)
plex-export --insecureAs cron job (daily at 2 AM)
0 2 * * * /usr/bin/python3 ~/.openclaw/workspace/skills/plexmedia2html-export/export.py