Skip to content

Migrate OpenWrite integration to TechGrow#3826

Open
yunhe-dev wants to merge 8 commits intotangly1024:mainfrom
yunhe-dev:codex/openwrite-to-techgrow
Open

Migrate OpenWrite integration to TechGrow#3826
yunhe-dev wants to merge 8 commits intotangly1024:mainfrom
yunhe-dev:codex/openwrite-to-techgrow

Conversation

@yunhe-dev
Copy link

Summary

  • migrate article readmore integration from OpenWrite to TechGrow
  • rename component from OpenWrite to TechGrow and update usage in post page route
  • add TechGrow configuration fields in blog config
  • fix readmore/captcha positioning and validation edge cases

Key Changes

  • components/OpenWrite.js -> components/TechGrow.js
  • pages/[prefix]/index.js: replace OpenWrite usage with TechGrow
  • blog.config.js: add TechGrow related config keys
  • multiple follow-up fixes for DOM placement and form validation

Notes

This PR keeps behavior-compatible readmore flow while switching the provider to TechGrow.

@vercel
Copy link

vercel bot commented Feb 27, 2026

@yunhe-dev is attempting to deploy a commit to the tangly1024's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yunhe-dev
Copy link
Author

已补充 TechGrow 配置说明(见 blog.config.js)。

在 Notion 的 Config 页面可直接用同名键配置(优先于 blog.config.js):

必填:

  • TECH_GROW_BLOG_ID
  • TECH_GROW_NAME
  • TECH_GROW_QRCODE
  • TECH_GROW_KEYWORD

常用:

  • TECH_GROW_ARTICLE_CONTENT_ID(默认 notion-article
  • TECH_GROW_BTN_TEXT
  • TECH_GROW_VALIDITY_DURATION(小时)

名单规则:

  • TECH_GROW_WHITE_LIST:这些路径放行
  • TECH_GROW_YELLOW_LIST:仅这些路径启用拦截(优先级高于白名单)

@yunhe-dev
Copy link
Author

@yunhe-dev
Copy link
Author

改用 TechGrow公众号引流之后的博客演示地址:https://yunhe.dev/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant