Skip to content

Philosophical Quotes Generator

这是一个哲学语录生成器的 API,允许你将哲学语录图像添加到 GitHub README 中。

ref-reporef-online-toolref-official-doc

参数

点击显示/关闭参数

名称类型必填默认值参数描述更多描述
ref-querys
authorstring这个参数允许你根据说出这句话的哲学家的名字来过滤名言。例如:&author=Jean-Jacques Rousseau
themestring这个参数允许你根据主题,即配色方案,来过滤名言, 可用主题
daily-quoteboolean如果你只想每天生成一句名言,你可以使用这个参数。它将每天只生成一句新名言。任何值都会使这个功能生效。
daily-seedstring如果你不希望你的朋友和你看到相同的名言,可以使用一个随机种子。这会对数组进行洗牌,你可以在 shuffle.mjs 文件中查看洗牌算法。
quotestring这个参数允许你生成特定的引言。只需输入你想要生成的引言即可。例如:&quote=My%20Quote
include-idsnumber这个参数允许你限制生成仅包含特定的 ID 值。例如:&include-ids=1,18,6
exclude-idsnumber这个参数允许你限制某些 ID 值不被生成。例如:&exclude-ids=1,2,3.
txt
https://github-readme-philosophical-quotes.vercel.app/api/generate-image{?theme,author,daily-quote,quote,include-ids,exclude-ids}

示例

yeblu 主题,Jean-Jacques Rousseau 作家,包含 ID 11,排除 ID 2

markdown
<!-- Philosophical Quotes Generator -->
![Philosophical Quotes Generator](https://github-readme-philosophical-quotes.vercel.app/api/generate-image?theme=yeblu&author=Jean-Jacques%20Rousseau&daily-quote=true&include-ids=11&exclude-ids=2)
yeblu 主题,Jean-Jacques Rousseau 作家,包含 ID 11,排除 ID 2

calm 主题,每天生成一句名言

markdown
<!-- Philosophical Quotes Generator -->
![Philosophical Quotes Generator](https://github-readme-philosophical-quotes.vercel.app/api/generate-image?theme=calm&daily-quote=true)
calm 主题,每天生成一句名言

Readme Widget Hub (v4.3.0) MIT Licensed