clip2md: Paste-to-Markdown Tool (Turndown+GFM, Nginx, Coolify-ready)

- Smart Paste: HTML->Markdown, sonst roh; Cmd/Ctrl+Shift+V erzwingt roh
- Auto-Dateiname aus Titel + Datum, editierbar
- Speichern via Button / Cmd+Ctrl+S, Kopieren, Leeren, Zaehler
- Vendored Turndown 7.2.4 + turndown-plugin-gfm 1.0.2 (kein CDN)
- nginx:alpine Dockerfile + Healthcheck

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-11 05:21:40 +00:00
commit 6acb87a189
7 changed files with 1524 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Gzip for the text assets.
gzip on;
gzip_types text/html text/css application/javascript application/json image/svg+xml;
gzip_min_length 512;
# Lightweight health endpoint for Coolify / Docker healthcheck.
location = /healthz {
access_log off;
add_header Content-Type text/plain;
return 200 "ok\n";
}
# Vendor libs can be cached hard.
location /vendor/ {
expires 30d;
add_header Cache-Control "public, immutable";
}
# Never cache the app shell, so updates land immediately.
location = /index.html {
add_header Cache-Control "no-cache";
}
location / {
try_files $uri $uri/ /index.html;
}
# Minimal hardening headers.
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Referrer-Policy "no-referrer" always;
}