1
0
Fork 0
1Panel-Appstore/apps/meowfacts
pooneyy 7ff35caf28
🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files
- ensure consistent image update behavior for all applications
- maintain existing network configurations and external network settings
- preserve all other service configurations and environment variables
2025-11-10 16:10:24 +08:00
..
latest 🔧 chore(apps): set the pull policy for all services using fixed tag images 2025-11-10 16:10:24 +08:00
README.md Update Apps 2025-06-17 22:14:50 +08:00
data.yml feat(apps): add description field to all application data files 2025-11-06 22:24:44 +08:00
logo.png 精简提交历史记录 2023-11-09 19:15:01 +08:00

README.md

使用说明

当第一次部署时,假如出现异常问题,如容器未找到等,解决方式如下:

点击已安装应用 > 找到应用 > 点参数 > 点编辑 > 点高级设置 > 点击右下角确认

采用的从源码编译镜像的方式,国内机子的话,假如因为各种网络原因,连接不上github

可以尝试修改/opt/1panel/resource/apps/local/meowfacts/latest/Dockerfile 里的github源码链接,用诸如ghproxy等。

原始相关

meowfacts

Issues License Known Vulnerabilities codecov

描述:

一个简单的 API通过 GET 请求返回关于猫的随机事实

示例用法

curl https://meowfacts.herokuapp.com/

响应

{
  "data": [
    "0": 	"Mother cats teach their kittens to use the litter box."
  ]
}

高级用法

您可以通过使用 GET 参数 count 一次请求多个事实

curl https://meowfacts.herokuapp.com/?count=3

响应

{
  "data": [
    "0": 	"Mother cats teach their kittens to use the litter box.",
    "1": "A cat can sprint at about thirty-one miles per hour.",
    "2": "The worlds richest cat is worth $13 million after his human passed away and left her fortune to him."
  ]
}

您可以请求一个特定的信息,如果您知道其 ID/顺序,可以通过传递 GET 参数 id 来获取

curl https://meowfacts.herokuapp.com/?id=3

响应

{
  "data": [
    "0": 	"Mother cats teach their kittens to use the litter box."
  ]
}

语言支持

您可以通过使用 GET 参数 lang 来请求不同语言的响应

curl https://meowfacts.herokuapp.com/?lang=ukr

响应

{
  "data": [
    "0": 	"Найбагатший у світі кіт коштує 13 мільйонів доларів після того, як його людина померла і залишила йому свій стан"
  ]
}

支持的语言

支持的语言列表如下,您可以使用第一列中的任何 lang Values 作为 lang 参数。

"?lang=esp"和"?lang=esp-mx"都将返回西班牙语作为您的响应,并且仅使用 ISO-639-1 代码将默认为 esp-mx以便简化。

LANG 变量 ISO 639-1 语言名称 本地化(国家)
eng-us eng 英文 USA
ces-cz 或 cze-cz cze (B) ces (T) 捷克语 CZ
ger-de ger 德语 DE
esp-es esp 西班牙语 ES
esp-mx esp 西班牙语(默认) MX
rus-ru rus 俄语 RUS
por-br por 葡萄牙语 BR
tl-fil fil 菲律宾语 PH
ukr-ua ukr 乌克兰语 UA
urd-ur urd 乌尔都语 UR
ita-it ita 意大利语 IT
zho-tw zho 中文 TW台湾

帮助我们扩展和改进此 API 的国际化(点击展开)

帮助我们扩展和改进此 API 的国际化

注意:我们正在尝试遵循浏览器的语言标签,这些标签在 RFC 5646 中正式定义,它们依赖于 ISO 639 标准(通常是 639-1 代码列表)来使用语言代码。

我们非常希望您能通过查看我们的《贡献者招募》来帮助我们,看看您是否能够做出贡献,让我们更加包容并支持更多语言。

文档

本地开发

安装

npm install

基本用法

npm run start

奉献与资助

这个 API 专门为开心果而设;在困难时期,她给我带来了极大的安慰。言语无法表达我对她的感激之情。

My cat, Sleeping on her back on a table, she did this everywhere because the fan would cool her belly.

如果您喜欢这个 API或者只是喜欢猫请向以下地址捐款

纽约动物项目网站

纽约动物项目 Paypal 链接

《NYC 动物项目》是一家位于纽约市中心的努力实现“零安乐”的猫收容所完全依赖寄养者和小额捐赠。我可以亲自告诉您作为他们的志愿者即使是几分钱的捐赠也会对这个非常小的组织产生差异。我从他们那里寄养了许多小猫Pistachio 是那个未被领养的小不点。她很害羞但当她安定下来后就非常外向。我强烈推荐如果您能的话去寄养和领养。them, and Pistachio was the runt that went un-adopted. She was shy, but very outgoing when she got settled. I highly recommend to foster and adopt if you can.

them, and Pistachio was the runt that went un-adopted. She was shy, but very outgoing when she got settled. I highly recommend to foster and adopt if you can.

them, and Pistachio was the runt that went un-adopted. She was shy, but very outgoing when she got settled. I highly recommend to foster and adopt if you can.

them, and Pistachio was the runt that went un-adopted. She was shy, but very outgoing when she got settled. I highly recommend to foster and adopt if you can.