From e4674b5ddad745009ba46d5029b1194698260852 Mon Sep 17 00:00:00 2001 From: Marius Mutu Date: Sun, 26 Apr 2026 08:06:52 +0000 Subject: [PATCH] chore: auto-commit from dashboard --- cron/jobs.json | 20 ++++++++--------- dashboard/videos | 1 + memory/kb/index.json | 30 +++++++++++++------------- tools/VIDEO_USE.md | 43 +++++++++++++++++++++++++++++++++++++ tools/hyperframes_render.sh | 35 ++++++++++++++++++++++++++++++ 5 files changed, 104 insertions(+), 25 deletions(-) create mode 120000 dashboard/videos create mode 100644 tools/VIDEO_USE.md create mode 100755 tools/hyperframes_render.sh diff --git a/cron/jobs.json b/cron/jobs.json index 6203428..97ae695 100644 --- a/cron/jobs.json +++ b/cron/jobs.json @@ -53,9 +53,9 @@ "report_on": "changes", "timeout": 180, "enabled": true, - "last_run": "2026-04-25T03:00:00.002815+00:00", + "last_run": "2026-04-26T03:00:00.002050+00:00", "last_status": "ok", - "next_run": "2026-04-26T03:00:00+00:00" + "next_run": "2026-04-27T03:00:00+00:00" }, { "name": "kb-index-refresh", @@ -69,9 +69,9 @@ "report_on": "never", "timeout": 120, "enabled": true, - "last_run": "2026-04-25T03:30:00.001901+00:00", + "last_run": "2026-04-26T03:30:00.002073+00:00", "last_status": "ok", - "next_run": "2026-04-26T03:30:00+00:00" + "next_run": "2026-04-27T03:30:00+00:00" }, { "name": "archive-tasks-daily", @@ -85,9 +85,9 @@ "report_on": "changes", "timeout": 60, "enabled": true, - "last_run": "2026-04-25T03:00:00.002264+00:00", + "last_run": "2026-04-26T03:00:00.001722+00:00", "last_status": "ok", - "next_run": "2026-04-26T03:00:00+00:00" + "next_run": "2026-04-27T03:00:00+00:00" }, { "name": "backup-config", @@ -101,9 +101,9 @@ "report_on": "never", "timeout": 120, "enabled": true, - "last_run": "2026-04-25T02:00:00.002819+00:00", + "last_run": "2026-04-26T02:00:00.003364+00:00", "last_status": "ok", - "next_run": "2026-04-26T02:00:00+00:00" + "next_run": "2026-04-27T02:00:00+00:00" }, { "name": "insights-extract", @@ -269,8 +269,8 @@ "prompt": "Heartbeat check. Rulează src/heartbeat.py printr-un scurt raport de status.\nDacă nu e nimic de raportat (email=0, calendar nu are evenimente <2h, kb ok), răspunde doar cu HEARTBEAT_OK și oprește-te — nu trimite mesaj.\nDacă e ceva: raport scurt pe Discord #echo-work.", "allowed_tools": [], "enabled": true, - "last_run": "2026-04-25T18:00:00.002246+00:00", + "last_run": "2026-04-26T08:00:00.003149+00:00", "last_status": "ok", - "next_run": "2026-04-26T06:00:00+00:00" + "next_run": "2026-04-26T10:00:00+00:00" } ] diff --git a/dashboard/videos b/dashboard/videos new file mode 120000 index 0000000..4349b48 --- /dev/null +++ b/dashboard/videos @@ -0,0 +1 @@ +/home/moltbot/videos \ No newline at end of file diff --git a/memory/kb/index.json b/memory/kb/index.json index b7e08ab..a6b436f 100644 --- a/memory/kb/index.json +++ b/memory/kb/index.json @@ -53,6 +53,19 @@ "video": "", "tldr": "| Yann Tiersen | Comptine d'un autre été (Extended 1h) | https://www.youtube.com/watch?v=nJQV1jCM0gk |" }, + { + "file": "notes-data/tools/infrastructure.md", + "title": "Infrastructură (Proxmox + Docker)", + "date": "2026-04-25", + "tags": [], + "domains": [], + "types": [], + "category": "tools", + "project": null, + "subdir": null, + "video": "", + "tldr": "- Orice operație distructivă" + }, { "file": "notes-data/youtube/2026-04-25_claude-code-playwright-automates-anything.md", "title": "Claude Code + Playwright Automates Literally Anything", @@ -81,19 +94,6 @@ "video": "", "tldr": "- **Infrastructură / Proxmox** → romfastsql" }, - { - "file": "notes-data/tools/infrastructure.md", - "title": "Infrastructură (Proxmox + Docker)", - "date": "2026-04-24", - "tags": [], - "domains": [], - "types": [], - "category": "tools", - "project": null, - "subdir": null, - "video": "", - "tldr": "- Orice operație distructivă" - }, { "file": "notes-data/projects/grup-sprijin/prompt-newsletter-cercetasi.md", "title": "Prompt: Rezumat Newsletter Cercetași pentru WhatsApp", @@ -8520,8 +8520,8 @@ "title": "Proiect: Vending Master - Integrare Website → ROA", "date": "2026-01-30", "tags": [ - "vending-master", - "integrare" + "integrare", + "vending-master" ], "domains": [ "work" diff --git a/tools/VIDEO_USE.md b/tools/VIDEO_USE.md new file mode 100644 index 0000000..a73a8ba --- /dev/null +++ b/tools/VIDEO_USE.md @@ -0,0 +1,43 @@ +# video-use — editare video cu Claude Code + +Repo: https://github.com/browser-use/video-use + +## Ce face +Editare automata de footage brut: taie filler words, adauga subtitluri, color grading, overlay-uri animate. +Claude Code citeste transcriptul (nu "vede" video-ul) si ia decizii de taiere pe baza cuvintelor. + +## Cand se foloseste +- Ai inregistrari brute (workshop, talking head, zoom call) +- Vrei sa tai umm-urile, pauzele, false start-uri +- Vrei subtitluri arse automat +- Vrei color grading de baza + +## Cand NU se foloseste +- Vrei sa creezi continut de la zero → foloseste HyperFrames (tools/hyperframes_render.sh) + +## Dependente +- ElevenLabs API key (Scribe) — transcriere word-level cu timestamps +- ffmpeg (/home/moltbot/bin/ffmpeg — deja disponibil) +- Python + uv + +## Nota despre Whisper +video-use NU foloseste Whisper — are nevoie de timestamps la nivel de cuvant +pentru taieri precise. ElevenLabs Scribe ofera asta. Tier gratuit: ~10 min/luna. + +## Setup +```bash +git clone https://github.com/browser-use/video-use ~/Developer/video-use +cd ~/Developer/video-use +uv sync +cp .env.example .env +# Adauga ELEVENLABS_API_KEY in .env +ln -sfn ~/Developer/video-use ~/.claude/skills/video-use +``` + +## Utilizare +```bash +cd /home/moltbot/videos/ +claude # sau echo-core claude session +# "editeaza aceste inregistrari intr-un video de 3 minute" +``` +Output-ul merge in /edit/final.mp4 diff --git a/tools/hyperframes_render.sh b/tools/hyperframes_render.sh new file mode 100755 index 0000000..a73fb5c --- /dev/null +++ b/tools/hyperframes_render.sh @@ -0,0 +1,35 @@ +#!/bin/bash +# Rendareza un proiect HyperFrames la MP4. +# Proiectele sunt in ~/videos//index.html +# Output-ul merge in acelasi director, accesibil la: +# https://moltbot.tailf7372d.ts.net/echo/videos//output.mp4 +# +# Utilizare: +# ./hyperframes_render.sh [output.mp4] +# ./hyperframes_render.sh ~/videos/obs-vs-interpretare +# ./hyperframes_render.sh ~/videos/obs-vs-interpretare final.mp4 +# +# Fix LXC: HyperFrames foloseste pipe in loc de TCP (seccomp blocheaza socket) +# si chrome-headless-shell din cache-ul Playwright. + +set -e + +CHROME="/home/moltbot/.cache/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-linux64/chrome-headless-shell" +PROJECT_DIR="${1:?Utilizare: $0 [output.mp4]}" +OUTPUT="${2:-output.mp4}" + +if [ ! -f "$PROJECT_DIR/index.html" ]; then + echo "Eroare: nu gasesc $PROJECT_DIR/index.html" + exit 1 +fi + +export PATH="/home/moltbot/bin:$PATH" +export HYPERFRAMES_BROWSER_PATH="$CHROME" + +cd "$PROJECT_DIR" +npx hyperframes render --output "$OUTPUT" --fps 30 --quality standard + +echo "" +echo "Video randat: $PROJECT_DIR/$OUTPUT" +RELPATH="${PROJECT_DIR#/home/moltbot/videos/}" +echo "Link: https://moltbot.tailf7372d.ts.net/echo/videos/$RELPATH/$OUTPUT"