{"id":51861651,"url":"https://github.com/juninmd/shorts-generator","last_synced_at":"2026-07-24T08:02:34.824Z","repository":{"id":341574757,"uuid":"1170662786","full_name":"juninmd/shorts-generator","owner":"juninmd","description":"Automated YouTube Shorts generator — AI-powered viral clip extraction with Whisper, GPT-4o, and FFmpeg","archived":false,"fork":false,"pushed_at":"2026-07-22T01:03:04.000Z","size":29729,"stargazers_count":1,"open_issues_count":10,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-23T10:18:11.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juninmd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-02T11:25:47.000Z","updated_at":"2026-07-22T01:03:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/juninmd/shorts-generator","commit_stats":null,"previous_names":["juninmd/shorts-generator"],"tags_count":138,"template":false,"template_full_name":null,"purl":"pkg:github/juninmd/shorts-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juninmd%2Fshorts-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juninmd%2Fshorts-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juninmd%2Fshorts-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juninmd%2Fshorts-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juninmd","download_url":"https://codeload.github.com/juninmd/shorts-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juninmd%2Fshorts-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35832970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-24T08:02:33.964Z","updated_at":"2026-07-24T08:02:34.820Z","avatar_url":"https://github.com/juninmd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shorts Generator\n\nPainel de controle para geração e publicação de shorts por canal, com persistência em PostgreSQL, tokens criptografados por canal e interface admin dedicada.\n\n## Fluxo Atual\n\n- Cluster operacional: defina `CHANNEL_FLOW_MODE=cuts` e `VITE_CHANNEL_FLOW_MODE=cuts` para bloquear runs/criaÃ§Ã£o de `quiz`; fora do cluster, `quiz` segue disponÃ­vel.\n- Backend API: `pnpm start` sobe o Hono em `http://localhost:3001`.\n- Admin web: `pnpm web:dev` sobe a interface Vite para gerenciar canais, focos, fontes e disparar runs.\n- Banco: o control plane roda migrations automaticamente quando `ADMIN_API_TOKEN`, `DATABASE_URL` e `CONTROL_PLANE_ENCRYPTION_KEY` estão definidos.\n\n## Variáveis Obrigatórias do Control Plane\n\n```env\nPORT=3001\nDATABASE_URL=postgres://user:password@localhost:5432/shorts_generator\nADMIN_API_TOKEN=troque-este-token\nADMIN_ALLOWED_ORIGINS=http://localhost:5173\nCONTROL_PLANE_ENCRYPTION_KEY=base64-da-chave-de-32-bytes\nCONTROL_PLANE_ENCRYPTION_KEY_VERSION=v1\n```\n\n## Comandos Verificados\n\n```bash\npnpm test\npnpm build\npnpm bootstrap:control-plane\npnpm --dir web run test\npnpm --dir web run build\n```\n\n## Bootstrap Local\n\n`pnpm bootstrap:control-plane` cria um canal inicial de desenvolvimento sem gravar token em texto puro. Depois disso, abra a UI admin, salve as credenciais do canal de publicação e dispare o run pelo painel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuninmd%2Fshorts-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuninmd%2Fshorts-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuninmd%2Fshorts-generator/lists"}