{"id":26489698,"url":"https://github.com/rylanbot/awesome-notion-widgets","last_synced_at":"2025-03-20T07:48:29.867Z","repository":{"id":218568452,"uuid":"745519473","full_name":"RylanBot/awesome-notion-widgets","owner":"RylanBot","description":"a Notion widgets set for Chinese Poem \u0026 English Quote \u0026 Music Player | Notion 随机诗句 \u0026 英文引言 \u0026 音乐播放器","archived":false,"fork":false,"pushed_at":"2025-01-18T07:45:46.000Z","size":6202,"stargazers_count":27,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T08:31:52.668Z","etag":null,"topics":["html-css-javascript","notion-website","notion-widgets"],"latest_commit_sha":null,"homepage":"https://notion-widgets.rylan.cn/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RylanBot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-19T14:10:37.000Z","updated_at":"2025-01-18T07:45:48.000Z","dependencies_parsed_at":"2024-03-09T15:32:01.151Z","dependency_job_id":"34ebffb8-f310-453b-bac3-a887b50ec2f7","html_url":"https://github.com/RylanBot/awesome-notion-widgets","commit_stats":null,"previous_names":["rylanbot/awesome-notion-widgets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RylanBot%2Fawesome-notion-widgets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RylanBot%2Fawesome-notion-widgets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RylanBot%2Fawesome-notion-widgets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RylanBot%2Fawesome-notion-widgets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RylanBot","download_url":"https://codeload.github.com/RylanBot/awesome-notion-widgets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244574780,"owners_count":20474818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html-css-javascript","notion-website","notion-widgets"],"created_at":"2025-03-20T07:48:29.382Z","updated_at":"2025-03-20T07:48:29.854Z","avatar_url":"https://github.com/RylanBot.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"./assets/favicon.ico\" width=\"35\"\u003e Awesome Notion Widgets\n\n## 🌷 效果预览\n\n[![在线示例](https://img.shields.io/badge/在线示例-点击查看-lightseagreen?style=for-the-badge\u0026logo=vercel)](https://notion-widgets.rylan.cn/)\n\n\u003e [!Tip]  \n\u003e **更多内容详见我的[博客文章](https://rylan.cn/article/notion-widgets)**\n\n## 🧙🏻 快速上手\n\n\u003e [!Important]  \n\u003e **参数均是可选，不传参则调用默认值**\n\n### 🔮 随机诗句\n\n#### 🎁 致谢 [今日诗词](https://www.jinrishici.com/) 开放 API\n\n```\nhttps://notion-widgets.rylan.cn/poem\n```\n\n| 参数    | 含义         | 备注                                              |\n| :------ | :----------- | :------------------------------------------------ |\n| theme   | 诗歌主题     | 参考 https://open.saintic.com/sentence.html       |\n| catalog | 诗歌子分类   | 同上，使用拼音（比如子分类夏天，传入 xiatian）    |\n| author  | 是否显示作者 | true（默认）/ false                               |\n| name    | 是否显示诗名 | true（默认）/ false                               |\n| color   | 字体颜色     | 英文字符串 或者 16 进制（其中 # 号使用 %23 代替） |\n| size    | 字体大小     | 传入数字即可（对应单位 px）                       |\n\n### 🔮 英文引言\n\n#### 🎁 致谢 [Quotes on Design](https://quotesondesign.com/) 和 [BitURL](https://biturl.top/) 开放 API\n\n```\nhttps://notion-widgets.rylan.cn/quote\n```\n\n| 参数      | 含义         | 备注                               |\n| :-------- | :----------- | :--------------------------------- |\n| width     | 卡片宽度     | 传入数字即可（对应单位 px）        |\n| size      | 字体大小     | 传入数字即可（对应单位 px）        |\n| bg        | 背景图片     | 在线链接（默认使用 Bing 每日壁纸） |\n| maxLength | 句子最长长度 | 一个字母长度算 1，太短可能查不到） |\n\n### 🔮 音乐播放器\n\n#### 🎁 致谢 [MetingJS](https://github.com/xizeyoupan/Meting-API/) 和 [Aplayer](https://github.com/DIYgod/APlayer) 库\n\n```\nhttps://notion-widgets.rylan.cn/music\n```\n\n| 参数            | 含义               | 备注                                                                                   |\n| :-------------- | :----------------- | :------------------------------------------------------------------------------------- |\n| server          | 服务来源           | netease （默认，网易云）/ tencent （QQ）/ kugou （酷狗）/ xiami（虾米） / baidu (百度) |\n| type            | 类型               | playlist （歌单）/ song （单曲）/ album（专辑）/ artist（歌手）                        |\n| id              | 标识               |                                                                                        |\n| url             | 直接使用文件链接   |                                                                                        |\n| name            | 补充链接的对应歌名 |                                                                                        |\n| artist          | 补充链接的对应歌手 |                                                                                        |\n| cover           | 补充链接的对应封面 |                                                                                        |\n| lrc             | 显示歌词           | 0 （隐藏）/ 1 （默认）                                                                 |\n| autoplay        | 自动播放           | true / false（默认）                                                                   |\n| theme           | 播放器颜色         | 英文字符串 或者 16 进制（其中 # 号使用 %23 代替）                                      |\n| loop            | 循环模式           | none（默认，所有播完后停止） / all（所有播放后从头开始）/ one（单曲循环）              |\n| order           | 播放顺序           | list（默认，按列表）/ random（随机）                                                   |\n| volume          | 初始音量           | 0 - 1（默认 0.7）                                                                      |\n| mutex           | 同时只播放一个音频 | true（默认）/ false                                                                    |\n| list-folded     | 是否播放列表展开   | true（默认）/ false                                                                    |\n| list-max-height | 播放列表最大高度   | （默认 160px）                                                                         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frylanbot%2Fawesome-notion-widgets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frylanbot%2Fawesome-notion-widgets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frylanbot%2Fawesome-notion-widgets/lists"}