This repository is the frontend client suite for daily.dev, a developer-focused content and community platform. It is structured as a monorepo using pnpm workspaces, containing three primary packages: `packages/webapp` (Next.js application), `packages/extension` (browser extension), and `packages/shared` (shared UI components, hooks, and GraphQL logic). The system aggregates developer content, manages user profiles and communities (Squads), handles monetization (Plus subscriptions, Cores), and provides career opportunities. Key entry points include the Next.js pages router in `packages/webapp/pages` and the extension background/content scripts in `packages/extension/src`. Data flows primarily through GraphQL queries to an external `daily-api` service, with client-side state managed via TanStack Query and Jotai. External dependencies include Paddle for payments, GrowthBook for feature flags, and Cloudinary for media. The architecture emphasizes code sharing and consistency across platforms, with `packages/shared` serving as the core library for UI primitives, business logic, and API abstractions. The webapp utilizes Next.js for server-side rendering and static generation, while the extension leverages web extension APIs for browser integration. The codebase demonstrates strong engineering practices with strict TypeScript typing, comprehensive testing (Jest, Playwright), and a robust design system. However, the heavy reliance on feature flags and the use of a non-LTS Node version (v24.18) introduce some technical debt and potential compatibility risks. The platform supports multiple user journeys including content consumption, community engagement, and monetization. It features a sophisticated feed system with infinite scrolling, personalized recommendations, and content preferences. The extension provides companion features like new tab pages and frame embedding, requiring careful synchronization with the web app's authentication and permission models. The codebase is well-structured but complex, with deep nesting of contexts and modals that could impact maintainability if not carefully managed.
This repository is an automated IPTV playlist aggregation pipeline. It operates as a daily GitHub Actions workflow that fetches live TV channel URLs from dozens of remote sources, parses them (M3U and plain text), classifies by channel category using hand-maintained dictionary files (e.g., CCTV, provincial channels, sports, movies), applies name normalization via OpenCC, deduplicates, sorts, and outputs merged TXT and M3U files. It also includes a stream validation subsystem (blacklist1.py, blacklist2.py) that checks URL health, records failures with timestamps, and maintains a persistent failure cache and host reputation tracker via a JavaScript state module. Historical snapshots and output archives are stored for rollback. The system is heavily customized for Chinese IPTV sources and lacks automated tests, but the core pipeline pattern and the stream validation state management are reusable.