Skip to content

feat: daily community content push bot (Feishu CN + Discord EN)#1141

Merged
lefarcen merged 5 commits intomainfrom
feat/community-content-bot
Apr 16, 2026
Merged

feat: daily community content push bot (Feishu CN + Discord EN)#1141
lefarcen merged 5 commits intomainfrom
feat/community-content-bot

Conversation

@Celina-create
Copy link
Copy Markdown
Contributor

Summary

  • Add scripts/notify/daily-content-bot.mjs — LLM-powered bilingual content bot
    • Feishu interactive cards in Chinese
    • Discord embeds in English
    • One LLM call generates both languages
  • Add community-content-push.yml — 5 cron schedules + manual trigger
    • Weekdays: 9:00 tech news / 12:00 tech ecosystem / 20:00 AI products
    • Friday 18:00: weekly digest
    • Weekend 10:00: weekend pick

Content sources

  • HackerNews API (free, no key)
  • Follow Builders central feed (no key)
  • GitHub API (auto-injected token)

Secrets required

  • COMMUNITY_CONTENT_FEISHU_WEBHOOK
  • COMMUNITY_CONTENT_DISCORD_WEBHOOK
  • LITELLM_API_KEY
  • LITELLM_ENDPOINT

Test plan

  • Manual trigger via workflow_dispatch with theme=tech-news
  • Verify Feishu card renders in Chinese
  • Verify Discord embed renders in English
  • Test all 5 themes

Made with Cursor

- daily-content-bot.mjs: LLM-powered bilingual content generation
  - Feishu cards in Chinese, Discord embeds in English
  - Sources: HackerNews API + Follow Builders + GitHub API
  - Themes: tech-news, tech-eco, ai-products, weekly, weekend
- community-content-push.yml: 5 cron schedules + workflow_dispatch
  - 9:00 tech news, 12:00 tech ecosystem, 20:00 AI products (weekdays)
  - 18:00 Friday weekly digest, 10:00 weekend pick

Made-with: Cursor
@Celina-create Celina-create requested a review from lefarcen April 16, 2026 12:52
@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 0% with 434 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
scripts/notify/daily-content-bot.mjs 0.00% 434 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 194841c496

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread scripts/notify/daily-content-bot.mjs
@lefarcen lefarcen added the feature New feature request label Apr 16, 2026
Copy link
Copy Markdown
Collaborator

@lefarcen lefarcen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Celina-create! 🎉

Wow, what an impressive PR for a daily community content push bot—automated bilingual tech updates for Feishu CN + Discord EN is exactly the kind of community-building automation we love! 🙌 The LLM-powered content generation with theme-specific prompts and polished interactive cards/embeds shows thoughtful design.

A few quick thoughts:

  • Great use of sparse-checkout and proper secret handling via GitHub secrets
  • Comprehensive theme configs and cron schedules covering full week
  • Robust error handling with timeouts and fallbacks

This looks excellent overall. We'll review promptly (target: 24h). Questions or updates? Push here!

Join communities:

Thanks for making Nexu better!
Nexu Team

Comment thread .github/workflows/community-content-push.yml
Comment thread scripts/notify/daily-content-bot.mjs
Comment thread scripts/notify/daily-content-bot.mjs
Comment thread scripts/notify/daily-content-bot.mjs
caiqiling958-cmd added 4 commits April 16, 2026 21:09
- Use optional chain (s?.title) instead of s && s.title
- Export fetchNexuIssues to avoid unused-variable error
- Auto-format long lines per biome rules

Made-with: Cursor
- developer-notify.test.ts: split long toContain/stringContaining lines
- skillhub-custom-import.test.ts: prefix unused param with underscore

Made-with: Cursor
@lefarcen lefarcen merged commit dadfb1c into main Apr 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants