Building a Video Site in Two Hours: How AI Coding Puts Personal Internet Back in Your Hands
A developer rebuilt a curated video site in about two hours using an AI coding tool with a single-sentence prompt. This article uses that case to explain the technical architecture behind a personal internet: an explainable admission pipeline for content, structure-first UI replication, lightweight vector retrieval for recommendations, and practical guidance on reasoning effort, cost, launch, and operations. The core takeaway is that ownership of the objective function matters more than raw speed.
On a Friday night, an experienced developer was turned off by the homepage feed: identical thumbnails and the same recycled topics. The next morning, using an AI coding tool at medium reasoning effort with a one-sentence requirement description, he built in roughly two hours a video site that only collects videos “repeatedly recommended by the tech community over the years.”
The value of this case is not speed. It is that a capability long monopolized by platform algorithms — deciding “what should I watch” — was handed back to the individual. This article uses that case as a sample to discuss how to build an internet of your own with a general-purpose technical approach.
1. Problem Definition: A Misaligned Objective Function
The recommendation objective of mainstream video platforms is usually to maximize watch time and engagement. The cost is content homogenization, exaggerated titles, and high-quality long-tail content being buried. The first principle of a personal site is to rewrite the objective function from “platform revenue” to “my long-term interest satisfaction.”
The requirement description must therefore explicitly include three types of constraints:
- Content source constraint: only collect works that have been long accumulated and repeatedly recommended in a specific community;
- Structure constraint: replicate a familiar video site layout to lower the learning cost;
- Quality constraint: explainable and traceable, with no black-box feeding.
A one-sentence prompt works only because these constraints are explicitly expressed in natural language, rather than left for the model to guess.
2. Content Acquisition and Filtering: Explainable Admission Rules
The technical core of the whole site is not the frontend but the “admission pipeline.” A robust implementation has four stages:
- Collection: pull candidate items by topic from public content sources, recording the original identifier, title, publish time, and popularity signals;
- Merging: deduplicate by unique content identifier, and aggregate counts for the same work recommended multiple times;
- Scoring: compose a ranking score from “recommendation count + time decay + topic diversity”;
- Persistence: write to structured storage, keeping the original source fields so the detail page can trace back.
Illustrative logic (pseudocode):
def score(item, now):# Take the log of recommendation count to avoid blockbusters dominatingpopularity = math.log1p(item.recommend_count)# Time decay: newer items weigh more, but old classics are retaineddecay = 0.5 ** (now - item.published_at).days / 365return 0.7 * popularity + 0.3 * decaycandidates = [c for c in fetch_all_topics() if c.recommend_count >= 2]ranked = sorted(candidates, key=lambda c: score(c, now), reverse=True)store.upsert_many(ranked[:6000])
The key is the two knobs of “threshold + decay”: the threshold determines the signal-to-noise ratio, and the decay determines the mix of new and old. Writing the rules as readable code is what fundamentally distinguishes this kind of site from black-box recommendation.
3. UI Replication: Structure Before Pixels
Replicating a familiar video site does not require pixel-perfect reproduction. It requires capturing three structural elements: hierarchical navigation on the left (history, likes, watch later), a content grid in the middle (uniform thumbnail aspect ratio, two-line title truncation, publish time and view count metadata), and a related recommendation feed on the right. Engineering recommendations:
- Split navigation, cards, and detail into components, with cards all following the same data contract;
- Use a fixed aspect ratio container plus lazy loading for thumbnails to avoid layout shift;
- Have the category page and recommendation page share the same query interface, differing only in sort parameters.
Data contract example:
{"id": "v_01","title": "...","topics": ["software", "history"],"published_at": "2019-04-02","meta": {"duration": "18:24", "views": 1200000},"source_ref": "community-thread-42"}
4. Personalized Recommendation: Lightweight Vector Retrieval Is Enough to Start
In a content library of a few thousand items, there is no need for a heavyweight recommendation system. A workable path is to vectorize titles and descriptions, vectorize user like and save behavior as well, then use nearest-neighbor retrieval for recall followed by reranking. Three key points:
- Use topic weights instead of behavior data for cold start;
- Separate recall from ranking so the model can be swapped easily;
- Keep an explanation field for “why this was recommended to you,” such as the matched topic tags.
5. Reasoning Effort and Cost: Spend Compute Where It Counts
The case of “medium reasoning effort, delivered in two hours” points to a general tradeoff: high reasoning effort suits architecture decisions and difficult debugging, while low-to-medium effort suits scaffolding generation, style adjustments, and bulk refactoring. The practical advice is to layer tasks: first use high effort to produce the skeleton and data model, then low effort for page details, and finally human review for security and compliance. If using general-purpose cloud capabilities, you can combine container platform deployment, object storage for static assets, and logging services with monitoring and alerting as an observability safety net.
6. Launch and Operations Checklist
- Content compliance: only index and link out; do not store the original media;
- Rate control: throttle and cache on the collection side to avoid putting pressure on the source;
- Observability: record build failure rate, first-screen load time, and recall hit rate;
- Backup and rollback: database snapshots plus a one-click rollback script.
Conclusion
The real lesson of “building a video site in two hours” is this: when intent can be clearly described, the engineering implementation degrades into a verifiable translation process. A personal internet is not about showing off technique; it is about taking back the right to choose, the right to explanation, and the right to set the rules. All you need is a requirement that states the constraints clearly, and a filtering pipeline whose rules are open.
