StreamClipper AI Faz 1: ingestion + sinyal analizi + STT + altyapı iskeleti
yt-dlp headless capture (15dk segmentleme), ses peak + chat velocity sinyal tespiti, OpenAI Whisper STT (kelime zaman damgalı), BullMQ/Redis/Postgres altyapısı ve kanal durumu + transkript kütüphanesi gösteren Next.js panel. LLM virality skorlama, render/crop/altyazı ve multi-platform dağıtım bu fazın kapsamı dışında. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { prisma } from "../src";
|
||||
|
||||
async function main() {
|
||||
const channelId = process.env.SEED_CHANNEL_ID ?? "UCXXXXXXXXXXXXXXXXXXXXXX";
|
||||
const channel = await prisma.channel.upsert({
|
||||
where: { channelId },
|
||||
update: {},
|
||||
create: {
|
||||
name: process.env.SEED_CHANNEL_NAME ?? "Test Kanal",
|
||||
youtubeHandle: process.env.SEED_CHANNEL_HANDLE ?? "@test",
|
||||
channelId,
|
||||
isActive: true,
|
||||
},
|
||||
});
|
||||
console.log("Seeded channel:", channel);
|
||||
}
|
||||
|
||||
main()
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
process.exitCode = 1;
|
||||
})
|
||||
.finally(() => process.exit());
|
||||
Reference in New Issue
Block a user