Building a Curated Video Site in Two Hours: A Technical Workflow
This article describes a two-hour practice for building a runnable curated video site prototype with an AI coding tool. Instead of cloning a video platform, it focuses on requirement abstraction, a prompt-driven workflow, data modeling and filtering rules, explainable ranking, and deployment, observability, security, and compliance planning. Readers get a practical blueprint for turning community recommendations into a personal curation entry while understanding what remains necessary for production use.
Building a Curated Video Site in Two Hours: A Technical Workflow
1. Problem Abstraction: From Recommendation Fatigue to a Personal Curation Entry
On a Friday evening, a developer opens a mainstream video platform. The home page is dominated by exaggerated thumbnails, repeated topics, and highly stimulating content, making it hard to quickly find videos that are genuinely worth watching. The next day, he uses an AI coding tool under a medium reasoning-strength configuration to build a curation site in about two hours. The site aggregates only videos that a technical community has repeatedly recommended over the years.
The core of this event is not “replicating a video platform.” It is using natural-language requirements to rapidly generate a complete prototype that includes a data pipeline, frontend layout, recommendation logic, and deployment flow. It shows that with the help of AI coding tools, an individual can build a curation entry oriented to personal interests and transform “platform recommendations” into a filtering mechanism based on “community consensus plus personal preference.”
It is important to clarify that a curated video site is not a full video platform. It does not handle heavy operations such as video upload, transcoding, copyright review, or ad delivery. It stores only necessary metadata and external links, and organizes categorization, search, comment aggregation, and personalized ranking around “community recommendation signals.” Its technical goals can be divided into five categories: home recommendation feed, topic category pages, video detail pages, personal history and watch later, and search plus personalized recommendation. Acceptance should check first-screen usability, mobile adaptation, data deduplication, external-link playability, comment-summary readability, and log observability. What is completed in two hours is a runnable prototype; productionization still requires investment in copyright, rate limiting, security, and operations.
2. Two-Hour Workflow Breakdown
The key to rapid construction is not generating all code at once, but splitting the workflow into verifiable stages. The first stage is requirement condensation: the prompt includes the goal, data scope, page style, technical constraints, and acceptance criteria at the same time. The second stage is data collection and cleaning: collect video titles, topic tags, publish time, view-count snapshots, community discussion links, recommendation counts, and last recommendation time from public pages, and generate deduplication fingerprints. The third stage is frontend layout replication: the left navigation bar carries likes, history, and watch later; the right recommendation feed reuses a unified card component; the detail page shows community discussion summaries and recommendation information. The fourth stage is recommendation ranking: weight by community recommendation count, topic similarity, time decay, and popularity snapshot. The fifth stage is deployment and observability: separate static resources, service processes, logs, and health checks; ensure accessibility first, then iterate on experience.
This workflow can run in a short time because AI coding tools are good at converting structured requirements into components, interfaces, and pseudocode, but developers still need to take responsibility for architecture judgment and acceptance. In particular, data collection boundaries, copyright compliance, crawl frequency, and model safety guardrails cannot be left to the tool to decide automatically.
3. Prompt Engineering: Turning a One-Line Request into an Executable Spec
A one-line prompt can start a project, but stable results require making implicit constraints explicit. A reusable prompt template should include the goal, data scope, page list, filtering rules, safety constraints, and acceptance criteria. For example:
Goal: Build a curated video site that only shows videos repeatedly recommended over the years in a specified technical community.Data: Store only public metadata and external links; do not download videos; do not bypass access controls.Pages: Home recommendation feed, topic category pages, detail pages, search page, history and watch later.Rules: Categorize by topic; detail pages show community discussion summaries, recommendation counts, and last recommendation time; provide personalized recommendations.Safety: Follow the site's crawling policy and rate limits; deduplicate; do not collect private information; degrade to a static list when exceptions occur.Acceptance: Mobile usable; first screen interactive; recommendations explainable; logs traceable; failures retryable.
The more the prompt resembles an acceptable specification, the more stable the generated result. Developers should also require the tool to output data models, interface contracts, and failure-handling branches, rather than only looking at page effects.
4. Data Model and Filtering Rules
The data model of a curation site should be organized around video metadata, community signals, topic tags, comment summaries, and user behavior. Pseudocode:
Define VideoMetadata:IDTitleTopicTags listPublishTimeViewCountSnapshotCommunityRecommendationCountCommunityDiscussionLinks listLastRecommendedTimeDeduplicationFingerprintCopyrightStatusFunction ShouldInclude(video):If video.CommunityRecommendationCount < threshold: Return FalseIf video.TopicTags is empty: Return FalseIf video.DeduplicationFingerprint already exists: Return FalseIf video.CopyrightStatus != "link-playable": Return FalseReturn True
Filtering rules determine curation quality. A recommendation-count threshold avoids accidental popularity; topic tags ensure categories are browsable; deduplication fingerprints prevent the same content from appearing multiple times; copyright status ensures external-link aggregation only. Comment aggregation should not reproduce full text. Instead, it should generate summaries, recommender counts, and time ranges, preserving community consensus while controlling copyright and privacy risks.
5. Recommendation Ranking and Personalization
Personalized recommendation does not equal a complex model. For a cold-start site, an explainable ranking based on “community signal plus topic similarity plus time decay” can be used:
Function CalculateRecommendationScore(video, userProfile, currentTime):TopicScore = CosineSimilarity(userProfile.TopicVector, video.TopicVector)CommunityScore = Log(1 + video.CommunityRecommendationCount)FreshnessScore = ExponentialDecay(currentTime - video.LastRecommendedTime)PopularityScore = Log(1 + video.ViewCountSnapshot)Return 0.45*TopicScore + 0.30*CommunityScore + 0.15*FreshnessScore + 0.10*PopularityScore
The benefit of this formula is explainability: users can understand “why this video is recommended.” During cold start, topic popularity can be used as a fallback; after user behavior accumulates, the topic similarity weight can be increased. To avoid filter bubbles, add diversity reranking, limit consecutive appearances of the same topic, and keep a “community long-term recommendations” entry.
6. Deployment, Observability, and Security Compliance
Prototype deployment should separate static resources, application services, data storage, and log monitoring. General cloud platform category capabilities such as object storage, container platform, log service, and monitoring and alerting can separately carry static resources, service orchestration, runtime logs, and health checks. For example, category capabilities such as Baidu AI Cloud’s general object storage, container platform, log service, and monitoring and alerting can serve as candidate resources; the final selection should match the team’s technology stack and compliance requirements. A content delivery network can improve first-screen experience, and caching should focus on external-link metadata and page fragments.
Security and compliance are lifelines for a curation site. Collection should follow the site’s crawling policy and rate limits, store only necessary metadata, avoid private information, avoid downloading copyrighted video content, and avoid bypassing access controls. AI coding tool safety guardrails also need to be addressed: for tasks involving reverse engineering, bulk submission, or competitive analysis, the tool may trigger restrictions or model downgrades. Engineering responses include splitting tasks, reading only public data, retaining human review, adding retries and degradation paths, logging prompts and outputs, and rate-limiting bulk operations. A two-hour prototype can validate value quickly, but productionization must add copyright review, anomaly monitoring, model-degradation contingency plans, and content appeal mechanisms.
7. Implications for Developers
The biggest implication of this practice is that AI coding tools compress the cycle from idea to prototype to the hour level, but system quality still depends on requirement abstraction, data boundaries, and engineering discipline. Developers should treat community recommendation signals as high-quality curation data, make personalized recommendation an explainable ranking, and move security and compliance modules earlier rather than adding them after launch. Everyone can have a curation entry oriented to personal interests, but only systems that respect copyright, control crawling, retain observability, and support degradation have long-term operating value.
