惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
Security Latest
Security Latest
P
Proofpoint News Feed
GbyAI
GbyAI
PCI Perspectives
PCI Perspectives
博客园 - Franky
N
Netflix TechBlog - Medium
博客园_首页
WordPress大学
WordPress大学
K
Kaspersky official blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Vercel News
Vercel News
T
Threatpost
The Hacker News
The Hacker News
H
Help Net Security
S
Securelist
Recent Announcements
Recent Announcements
腾讯CDC
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Engineering at Meta
Engineering at Meta
C
Cisco Blogs
V
V2EX
C
Check Point Blog
S
Schneier on Security
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Jina AI
Jina AI
M
MIT News - Artificial intelligence
T
Threat Research - Cisco Blogs
博客园 - 叶小钗
A
Arctic Wolf
AWS News Blog
AWS News Blog
Latest news
Latest news
Martin Fowler
Martin Fowler
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
The GitHub Blog
The GitHub Blog
小众软件
小众软件
B
Blog
aimingoo的专栏
aimingoo的专栏
C
Cyber Attacks, Cyber Crime and Cyber Security
V
Visual Studio Blog
P
Palo Alto Networks Blog
Spread Privacy
Spread Privacy

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything BFF模式详解:构建前后端协同的中间层 I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
I Built Cuekiyo: a Local-First Anime OP/ED Video Pipeline with React, FastAPI, yt-dlp and FFmpeg
Looped · 2026-05-24 · via DEV Community

I just released Cuekiyo v1.0.0, an open-source local web app for building anime opening and ending compilation videos.

The idea is simple:

Pick anime titles → approve OP/ED songs → review YouTube clip candidates → export a finished MP4.

No cloud editor. No upload step. No paid API dependency. The whole thing runs on your machine.

GitHub: https://github.com/unloopedmido/cuekiyo

I built this because the manual workflow for making anime opening/ending compilations is honestly painful. You end up with a bunch of browser tabs, copied timestamps, separate download commands, trimming tools, naming chaos, random folders, and repeated re-renders whenever one clip changes.

Cuekiyo turns that into a guided local pipeline. It automates the boring parts, but still pauses at the moments where a human should make the decision.

The problem

Making a compilation video sounds simple until you actually try to do it cleanly.

A typical manual workflow looks something like this:

  1. Pick the anime you want to include.
  2. Find the opening and ending theme names.
  3. Search YouTube for each song.
  4. Check which uploads are usable.
  5. Copy links or timestamps somewhere.
  6. Download the source videos.
  7. Trim each clip.
  8. Normalize or at least avoid wildly inconsistent audio.
  9. Add title overlays/lower-thirds.
  10. Stitch everything together.
  11. Re-render when something is wrong.

That is not hard once. The problem is repetition.

If you are making one clip, a normal video editor is enough. If you are making a structured compilation with many anime titles, many theme songs, multiple sources, consistent overlays, and predictable output folders, the workflow becomes more like a small media pipeline than a one-off edit.

That was the actual problem I wanted to solve.

Not “replace video editors.”

More like:

Give me a local studio that handles the repetitive pipeline work, while still letting me control the creative choices.

What Cuekiyo does

Cuekiyo is built around a guided project flow.

You create a project, choose anime titles, select whether you want openings, endings, or both, then move through a set of approval steps.

The core flow is:

  1. Create a project
    Name it, choose anime titles, pick the song types, and configure overlay/render defaults.

  2. Select songs
    Cuekiyo loads theme data and lets you approve which OP/ED tracks should be included.

  3. Review clip candidates
    The app sources YouTube candidates, but you still choose what actually gets used. You can also paste your own link when automation gets it wrong.

  4. Trim and process clips
    Cuekiyo downloads, probes, normalizes, cuts, and overlays clips locally.

  5. Confirm render order
    You choose the final order before rendering.

  6. Export MP4
    The final compilation is written to your local project folder.

The important design rule was this:

Automation should handle labor, not taste.

That is why Cuekiyo pauses at user gates. Choosing the right song, source clip, trim point, and final order is subjective. A pipeline can help, but it should not pretend to know your taste better than you do.

Why local-first?

I wanted Cuekiyo to feel like a desktop creative tool, but with the development speed and UI flexibility of a web app.

So instead of building a hosted SaaS product, Cuekiyo runs locally:

  • The backend runs on your machine.
  • The frontend runs in your browser.
  • Project state lives in SQLite.
  • Media files live under data/projects/{id}/.
  • Rendering happens through local FFmpeg.
  • Nothing needs to be uploaded to a random cloud service.

That matters for this kind of app because video files are large, copyrighted media has legal/terms-of-service complexity, and creators often want direct control over their own files.

Local-first also keeps the project simpler operationally. There is no user account system, no storage billing, no hosted render queue, no cloud worker fleet, and no database server to maintain.

The trade-off is that users need local dependencies installed: Python, Node.js, FFmpeg, FFprobe, and yt-dlp. For v1, I accepted that trade-off because I wanted to ship the core product first.

Long term, I want the install experience to become much closer to “download, open, create.”

The stack

Cuekiyo is split into a FastAPI backend and a React frontend.

The main stack is:

  • Backend: FastAPI, SQLAlchemy, SQLite
  • Frontend: React 19, Vite, Tailwind CSS, shadcn/ui, React Router
  • Media: FFmpeg, FFprobe, yt-dlp
  • Overlay rendering: Satori-based HTML-to-PNG overlays
  • Metadata: Jikan and AniList
  • Progress updates: WebSockets
  • Project storage: local SQLite database + local filesystem

The frontend handles the guided workflow and review screens. The backend owns the pipeline, state transitions, media processing, and filesystem safety.

The architecture

At a high level, Cuekiyo is a state machine wrapped around a media pipeline.

The pipeline goes through stages like:

DRAFT
→ LOAD_THEMES
→ SONG_SELECTION
→ SOURCING
→ AWAITING_CANDIDATES
→ DOWNLOADING
→ PROBING_NORMALIZING
→ CUTTING
→ OVERLAYING
→ AWAITING_RENDER_ORDER
→ RENDERING
→ COMPLETED

Some stages run automatically. Others are user gates.

The user gates are the important part:

  • Song selection
  • Candidate review
  • Optional trim/review decisions
  • Final render order

Everything else can be automated.

A single FastAPI process owns the pipeline. Jobs run in background threads, and progress is pushed to the frontend over WebSockets. SQLite stores the project state, job state, and a heartbeat for the active pipeline lock.

For v1, Cuekiyo uses one global pipeline lock. That means one project renders/processes at a time. This is intentionally simple. It avoids a lot of messy cross-project concurrency bugs while keeping crash recovery understandable.

Is it the final architecture forever? No.

But for a v1 local app, it is honest and maintainable.

The media pipeline

The hardest part of Cuekiyo was not making a nice UI.

The hardest part was making a media pipeline that does not immediately collapse under real-world weirdness.

External media tools are powerful, but they fail in many ways:

  • A source video disappears.
  • yt-dlp returns unexpected metadata.
  • FFmpeg fails because of an encoder issue.
  • A clip has weird duration or stream data.
  • A path contains characters you forgot to handle.
  • GPU encoding works on your machine but not someone else’s.
  • A downloaded file exists, but a later processing artifact does not.

Cuekiyo tries to make those problems manageable by treating each stage as a separate pipeline step.

Downloads, probing, normalization, cutting, overlaying, and rendering are distinct operations. That makes the flow easier to inspect, easier to retry, and easier to explain in the UI.

I also made a point of passing subprocess arguments as argument arrays instead of shell strings. For a local media tool that touches user-provided links and filesystem paths, that is not optional polish. It is baseline safety.

GPU encoding and fallback

One feature I wanted early was NVIDIA NVENC support.

A lot of people doing local video work have NVIDIA GPUs, and hardware encoding can make rendering much faster. But hard-requiring NVENC would be a bad idea because not every machine supports it, and FFmpeg builds vary.

So Cuekiyo probes for NVENC support and falls back to CPU encoding with libx264 when needed.

That kind of fallback matters because local-first software has to handle different user machines gracefully. You cannot assume the environment is exactly like yours.

The frontend

The frontend is built with React 19, Vite, Tailwind CSS, shadcn/ui, and React Router.

The UI goal was not to look like a raw admin dashboard. I wanted it to feel more like a creative tool:

  • project cards
  • guided steps
  • clear status states
  • clip candidate review
  • visible progress
  • settings that affect the pipeline without feeling scary

The frontend talks to the backend through API routes and WebSocket progress events. That live progress feedback is important because media work can take time. If the UI just sits there silently while FFmpeg runs, users assume something broke.

Even when the backend is doing heavy work, the frontend should make the pipeline feel understandable.

The biggest design decision: pause only when the user needs to choose

A lot of automation tools make one of two mistakes:

  1. They automate too little, so the user still does all the boring work.
  2. They automate too much, so the user has to clean up wrong decisions afterward.

Cuekiyo’s middle ground is the user gate model.

The app should not ask for confirmation after every tiny technical step. That would be annoying.

But it also should not silently pick every YouTube source and every final order without review. That would be risky.

So the pipeline auto-advances through mechanical stages and pauses at taste-based decisions.

That model ended up making the product feel much better. It also made the backend easier to reason about because gated states became explicit parts of the state machine instead of random UI conditions.

Known v1 trade-offs

Cuekiyo v1.0.0 is not perfect, and I do not want to pretend it is.

The biggest v1 trade-offs are:

One pipeline job at a time

The global lock keeps the job runner simple and prevents multiple projects from fighting over local resources. The downside is that cross-project parallelism is not supported yet.

For a local v1 release, I think this is acceptable. Parallel jobs are on the roadmap.

Simplified concat/crossfade graph

The current rendering path supports the compilation flow, but the FFmpeg filter graph can become more sophisticated. A richer render graph would make future transitions and multi-clip layouts easier.

Retry can be smarter

The current retry flow is good enough for the v1 model, but a more durable per-stage cursor would be better. That would let the app resume from the exact failed boundary instead of inferring it.

These are not hidden issues. They are documented because I would rather be honest about the architecture than pretend every v1 decision is final.

What I learned

Building Cuekiyo taught me a few things.

1. Local-first apps still need product thinking

It is easy to think “local tool” means “developer utility.” But Cuekiyo is not just a script with a UI. It needs onboarding, clear states, useful errors, and a workflow that makes sense to a non-author.

The fact that it runs locally does not remove the need for product design.

2. State machines are worth it for workflow-heavy apps

Once an app has long-running jobs, user gates, retries, failures, cancellations, and progress events, implicit state becomes painful fast.

Making the pipeline states explicit helped a lot.

3. FFmpeg is powerful, but the wrapper code matters

FFmpeg can do almost anything, but users should not have to care about the command graph. The real work is building a safe, inspectable layer around it.

4. “Automate everything” is not always the right product

The best version of Cuekiyo is not a bot that blindly creates videos. It is a studio that removes repetitive labor while keeping human choice in the loop.

That distinction changed how I designed the whole app.

What is next

Now that v1.0.0 is public, the next focus is making Cuekiyo easier to try.

The biggest priorities are:

  • A better first-run experience
  • A portable desktop-style release
  • Better install/dependency checks
  • Smarter retry behavior
  • Parallel project jobs
  • Richer render/crossfade options
  • More creator-focused docs and demos

The core pipeline works, but discoverability and install friction matter a lot for open-source projects. If someone is interested, they should be able to understand and try the project quickly.

Final thoughts

Cuekiyo started as a niche idea, but it became one of the most complete projects I have built so far.

It combines full-stack app development, local-first architecture, media processing, background jobs, WebSocket progress, UI/UX design, and release engineering into one project.

That is exactly the kind of project I wanted in my portfolio: not just a demo, but an actual tool with product decisions, trade-offs, and a real workflow.

If you are interested in local-first tools, media automation, React/FastAPI apps, or just weirdly specific open-source software, feel free to check it out.

GitHub: https://github.com/unloopedmido/cuekiyo

Stars and feedback are genuinely appreciated.