开源授权与第三方资源
最后更新:2026 年 10 月 13 日
“知命八字”的历法换算、天文计算与会员登入,用到了几套开源程序;页面字型也来自开源字型。这些作者愿意把成果公开分享,本站依各自的授权条款使用,并在这里列出著作权声明。站上随页下载的程序档,也在档头保留了原作者的授权声明。
一、随网页下载到你浏览器的程序
| 名称 | 用途 | 授权 | 著作权 |
|---|---|---|---|
| lunar-javascript | 公历农历换算、节气、干支历(八字四柱、农民历的基础);站上文件为 /js/lunar.js 压缩版 | MIT | Copyright (c) 2020 6tail |
| Astronomy Engine | 星盘的行星位置、月相、日月食与今晚星空;站上文件为 /js/astronomy.min.js | MIT | Copyright (c) 2019-2023 Don Cross |
| html2pdf.js(含 jsPDF、html2canvas) | 深度命书“下载 PDF”功能,按下时才从 cdnjs 载入 | MIT | Copyright (c) 2017 Erik Koopmans 等各套件作者 |
| d3-celestial 星表(BSD-3-Clause) | “东西方星座”今晚星空的亮星、西方 88 星座连线与二十八宿;站上文件为 /js/xingkong-data.js(精简改作)。恒星位置源自 Hipparcos 星表 | BSD-3-Clause | Copyright (c) 2015, Olaf Frohn |
| 中国星官连线源自 Stellarium 星空文化资料(CC BY-SA 4.0) | 今晚星空的中国星官连线,收在 /js/xingkong-data.js 的 C 字段;本站的改作同样依 CC BY-SA 4.0 提供 | CC BY-SA 4.0 | Stellarium 星空文化资料的各贡献者 |
| Unicode Unihan 数据库(Unicode License v3) | 姓名学康熙笔画与八字取名部首字表;站上文件为 /js/xingming-data.js、/js/qiming-radical.js(衍生资料) | Unicode License v3 | Copyright © 1991-2024 Unicode, Inc. |
二、在服务器上执行的程序
| 名称 | 用途 | 授权 |
|---|---|---|
| Better Auth 及其相依套件 | 会员注册、登入与账号管理 | MIT(相依套件依各自授权) |
三、字型
页面使用的 Cormorant Garamond、Jost、Noto Serif TC、Noto Serif SC、Noto Serif JP、Noto Serif KR,经由 Google Fonts 服务载入,皆以 SIL Open Font License 1.1 授权,著作权属各字型作者。
四、开发时用来核对的开源项目
下列项目不会随网页下载,只在开发时用来核对本站自写引擎的结果:
- iztro(MIT):核对紫微斗数排盘、四化与流月流日的起法。本站紫微主星庙旺表采《紫微斗数全书》系统表,与 iztro 所用者相同。
- astronomy-engine、astronomia(MIT)、circular-natal-horoscope-js(Unlicense):核对星盘、节气与天象计算。
五、古籍与经文
本站转录的古籍、签诗与道经原文,年代久远,属于公有领域;部分经文以维基文库等公开本校对。原文以外的白话、翻译与注解主要以 AI 产生,经本站编选、整理与审阅;本站主张的是内容的选择、编排与整理。转载方式见使用条款。
六、MIT 授权条款全文
上面标示 MIT 的程序,授权条款内容如下(各项目的著作权人见上表):
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
七、BSD 3-Clause 授权条款全文
上表的 d3-celestial 星表依此授权,著作权声明与条款如下:
Copyright (c) 2015, Olaf Frohn All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
八、Unicode License v3 全文
上表的 Unicode Unihan 衍生资料依此授权,著作权与许可声明如下:
UNICODE LICENSE V3 COPYRIGHT AND PERMISSION NOTICE Copyright © 1991-2024 Unicode, Inc. NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. Permission is hereby granted, free of charge, to any person obtaining a copy of data files and any associated documentation (the "Data Files") or software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that either (a) this copyright and permission notice appear with all copies of the Data Files or Software, or (b) this copyright and permission notice appear in associated Documentation. THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder.
九、联系我们
如果你是上列项目的作者,发现本站的标示有误或遗漏,请来信告诉我们:[email protected]。