finds.dev← search

// the find

HammerCloth/tiktok

★ 521 · Go · GPL-3.0 · updated Jul 2022

The simple TikTok backend which supports video Feed stream, video contribution, personal information, like list, user comments, follow list, fan list, etc.

A Go backend clone of TikTok's core features — video feed, uploads, likes, follows, comments — built as a ByteDance youth camp project. It's a learning exercise, not production software, but it's more architecturally considered than most tutorial projects of its kind.

The stack choices are reasonable and well-matched: Gin for routing, GORM for ORM, Redis for caching hot data (likes, follows), RabbitMQ for async writes on high-write-volume operations. The module breakdown is clean — controller/service/dao layers are properly separated with no business logic leaking into handlers. The project includes flame graph comparisons between v1.0 and v1.2 showing measurable pprof-driven optimization, which is unusually rigorous for a student project. Sensitive word filtering via a local dictionary is a thoughtful inclusion for a Chinese-language content platform.

Abandoned in July 2022 with no activity since — this is a snapshot, not a maintained project. The setup is legitimately painful: you need Nginx, vsftpd, ffmpeg, Redis, RabbitMQ, and MySQL all running locally before you can start the server, with configuration spread across manual config files. Video storage goes through FTP to a separate static server, which is fragile and not how you'd do this in 2024. The README is almost entirely in Chinese with no English translation, which limits its audience. Passwords are almost certainly stored or handled poorly (JWT-based auth in a student project rarely gets this right), and there's no mention of any security audit.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →