Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Phase 4: Resource ingestion pipeline for automated content discovery

已关闭
#40 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Aryan-Techie 已经在做这个了。

开始于 2026年10月20日。

  • #111 来自 @Aryan-Techie —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
github, typescript

调研方向

Start by reading src/lib/ingestion/run-ingestion.ts, src/lib/ingestion/sources/index.ts, and src/lib/ingestion/classify-match.ts, then trace the cron route and the admin actions. Review vercel.json and the existing ingestion flow before deciding how to divide the source adapters, scheduling, matching, monitoring, and review-workflow work. Done means the listed ingestion stages and priority sources operate through admin approval.

由索引模型根据 Issue 内容生成。

描述

enhancement

Description

The codebase already has a partial ingestion pipeline implementation in src/lib/ingestion/. This issue tracks completing it for automated content discovery from external sources.

Current State (from codebase exploration)

  • src/lib/ingestion/types.ts - TypeScript types for candidates
  • src/lib/ingestion/sources/index.ts - Source adapters (GitHub Student Pack, etc.)
  • src/lib/ingestion/classify-match.ts - Duplicate detection logic
  • src/lib/ingestion/run-ingestion.ts - Main ingestion orchestration
  • src/lib/ingestion/queries.ts - Database queries for candidates
  • src/app/api/cron/ingest-resources/route.ts - Cron endpoint
  • src/app/admin/(dashboard)/ingestion/page.tsx - Admin review UI
  • src/app/admin/(dashboard)/ingestion/actions.ts - Approve/reject actions

What's Needed to Complete

  1. Source implementations: Complete adapters for:
    • GitHub Student Pack (official API or scraping)
    • Major cloud providers (AWS, Azure, GCP student pages)
    • Popular tool vendor pages (JetBrains, Figma, Notion, etc.)
  2. Scheduling: Vercel Cron to run ingestion weekly
  3. Deduplication improvement: Better matching logic in classify-match.ts
  4. Admin review workflow: Already partially built, needs polish
  5. Source monitoring: Track which sources are healthy/stale

Files to Enhance

  • src/lib/ingestion/sources/ - add more source adapters
  • src/lib/ingestion/classify-match.ts - improve matching algorithm
  • src/app/api/cron/ingest-resources/route.ts - ensure cron works
  • vercel.json - add ingestion cron schedule

Ingestion Flow

  1. Cron triggers /api/cron/ingest-resources
  2. For each source: fetch raw data → normalize → classify (new vs possible duplicate)
  3. Store in ingestion_candidates table with matchType and matchedResourceId
  4. Admin reviews in /admin/ingestion → Approve (creates resource) or Reject
  5. Approved candidates → inserted into resources with approved = true

Priority Sources

  1. GitHub Student Pack (official partner list)
  2. AWS / Azure / GCP student pages
  3. Major IDE vendors (JetBrains, VS Code extensions)
  4. Design tools (Figma, Canva, Framer, Sketch)
  5. Productivity tools (Notion, Linear, Raycast, etc.)

Notes

  • This reduces manual admin work for keeping directory fresh
  • Complements community submissions (Phase 4)
  • Can run more frequently than link-health cron
主要语言
TypeScript
星标
1
派生
6
平均合并
1 天 45 分钟
30 天内合并 PR
52

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。