Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j178/og-for-zhihu
Add OpenGraph meta tags for ZhiHu
https://github.com/j178/og-for-zhihu
Last synced: about 1 month ago
JSON representation
Add OpenGraph meta tags for ZhiHu
- Host: GitHub
- URL: https://github.com/j178/og-for-zhihu
- Owner: j178
- Created: 2024-01-09T10:30:59.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-01-10T06:39:59.000Z (12 months ago)
- Last Synced: 2024-10-12T19:52:17.373Z (2 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenGraph tags for ZhiHu.com
这个项目是一个 Cloudflare Worker,用于为知乎的问题和文章生成 OpenGraph tags,以便在 Twitter, Telegram 等应用中显示预览。
例如这个问题:
https://www.zhihu.com/question/586886503
将域名部分替换为 https://zhihu-og.j178.workers.dev,即:
https://zhihu-og.j178.workers.dev/question/586886503
将这个链接放到 Twitter, Telegram 等应用中即可看到效果。
> Inspired by https://bilibilibb.com/ which created by [Hzao](https://twitter.com/HzaoHzao).