Skip to content
View RedSC1's full-sized avatar
🌴
On vacation
🌴
On vacation

Block or report RedSC1

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
RedSC1/README.md

Hi, I'm RedSC1 👋

🌙 闭关中
写了挺久,但反馈和合作机会都比较少,暂时没什么继续开发的动力,所以先停止新功能开发。现有项目正常保留。
有 Bug 请发邮件,Issue 不一定看得到。

🪐 兴趣驱动的独立开发者,主要写天文历算、历法、占星与传统术数相关的软件和开源项目。

An interest-driven independent developer building software and open-source projects around astronomical computation, calendars, astrology and traditional Chinese metaphysics.

很多项目都起源于一个很简单的问题:现有工具不够顺手,或者我想知道它底层到底是怎么算的,于是就自己(AI)写了一套。

💻 Dart · TypeScript · Python · C++

个人网站 / Website · 全部仓库 / Repositories

🔨 现在在做 / Current Projects

JavaScript / TypeScript React Web App Mixed licenses

本地优先的在线排盘与历法工具站,支持简体中文与繁體中文。

A local-first web app for Chinese astrology, tarot and calendar tools.

  • 八字与紫微斗数排盘,支持天文年 −6000~10000(约公元前 6000 年至公元 10000 年)
  • 78 张 Rider–Waite–Smith 塔罗牌、正逆位、多种牌阵和本地抽牌历史
  • 万年历、农历、干支、节气、黄历与气朔推算
  • 无需账号,命例与记录保存在浏览器本地,支持 JSON 导入与导出
  • 下一步:占星 → 六爻 → 梅花易数 → 大六壬 → 奇门遁甲
    Roadmap: astrology, Liuyao, Meihua Yishu, Da Liu Ren and Qimen Dunjia.
  • 在线使用 / Live site
C++ 核心引擎 MPL-2.0

可嵌入的高性能天文历算内核。

An embeddable C++ astronomy engine with ephemerides, observations, events, eclipses, calendars and optional BaZi / Ziwei modules.

  • 太阳系天体位置、观测坐标、升落与天文事件
    Solar-system positions, observing coordinates, rise/set calculations and astronomical event searches.
  • 日月食、掩星、固定星、历法与真太阳时
    Solar and lunar eclipses, occultations, fixed stars, calendars and apparent solar time.
  • 可选的八字、干支与紫微斗数扩展
    Optional BaZi, Ganzhi and Ziwei Doushu extensions.
  • JPL SPK / OPM2 星历,以及供语言绑定使用的 C99 API
    JPL SPK and OPM2 ephemerides with a versioned C99 API designed for embedding and language bindings.
  • 提供 PythonDart 语言绑定
    Official Python and Dart bindings are available.
  • 支持年份:全量 DE441 OPM2 压缩星历(约公元前 13,200 年~公元 17,191 年,跨度约 30,370 年);内置半解析模型与 Lite 版一致,覆盖天文年 −6000~10000 年
    Full-range DE441 OPM2 data (approximately 13,200 BCE to 17,191 CE, spanning about 30,370 years); the built-in semi-analytic models follow the Lite implementation and cover astronomical years −6000 to 10000.
JavaScript / TypeScript 工具集 MPL-2.0

用于浏览器和 Node.js 的天文、历法与传统术数工具集,无运行时依赖。

A zero-dependency astronomy, calendar and Chinese metaphysics toolkit for browsers and Node.js.

  • 太阳、月球和行星的位置与速度,以及恒星表、视位置和地平坐标
    Positions and velocities for the Sun, Moon and planets, plus star catalogs, apparent positions and horizontal coordinates.
  • 升落中天、照明与视直径、合冲、留、入宫、近远点、交点和大距
    Rise, set and transit times; illumination, apparent diameters, conjunctions, oppositions, stations, ingresses, apsides, nodes and elongations.
  • 全球与地方日月食搜索,以及接触时刻和地方可见性
    Global and local solar/lunar eclipse searches with contact times and local visibility.
  • 节气、月相、农历、历史历法、算术回历、干支与真太阳时
    Solar terms, lunar phases, Chinese and arithmetic Hijri calendars, historical calendar rules, Ganzhi and apparent solar time.
  • 包含 BaZi、Ziwei、Huangli 和 Star Catalog 子包
    Also includes BaZi, Ziwei, Huangli and Star Catalog packages.
  • 支持年份:天文年 −6000~10000 年
    Supported astronomical years: −6000 to 10000; precision varies by body, epoch and API.
Dart 轻量库 MPL-2.0

JS Ephemeris Lite 的纯 Dart 实现,支持 Dart VM 和 Web,无运行时依赖。

A pure Dart astronomy and calendar library for Dart VM, Flutter and the web.

  • 太阳、月球和行星的位置与速度,以及外部恒星表、视位置和地平坐标
    Positions and velocities for the Sun, Moon and planets, with external star catalogs, apparent positions and horizontal coordinates.
  • 升落中天、照明、合冲、留、入宫、近远点、交点和大距
    Rise, set and transit times; illumination, conjunctions, oppositions, stations, ingresses, apsides, nodes and elongations.
  • 全球与地方日月食搜索,以及接触时刻和地方可见性
    Global and local solar/lunar eclipse searches with contact times and local visibility.
  • 节气、月相、农历、历史历法、算术回历、干支与真太阳时
    Solar terms, lunar phases, Chinese and arithmetic Hijri calendars, historical calendar rules, Ganzhi and apparent solar time.
  • 纯 Dart 实现,支持 Dart VM、Flutter 和 Dart Web
    Pure Dart with support for Dart VM, Flutter and Dart Web.
  • 支持年份:天文年 −6000~10000 年
    Supported astronomical years: −6000 to 10000; precision varies by body, epoch and API.
Dart Library MPL-2.0

基于 Ephemeris Lite 的纯 Dart 八字排盘库。

A pure Dart BaZi chart engine built on Ephemeris Lite.

支持四柱、十神、藏干、长生、纳音、神煞、刑冲合害、起运、大运与出生时间反查。

支持年份:天文年 −6000~10000 年

Dart Library MPL-2.0

纯 Dart 的紫微斗数排盘核心。

A configurable Ziwei Doushu chart and timeline engine written in pure Dart.

支持出生盘、运限与流盘、时间线、规则配置、修改盘、无生日起盘和条件反查。

支持年份:天文年 −6000~10000 年;无生日起盘不受此范围限制

📦 其他项目 / More Projects

🔌 语言绑定

Python Ephemeris Python Binding MPL-2.0
Taiyin Ephemeris 的 Python 绑定;支持年份随加载的星历数据变化。
Python bindings for Taiyin Ephemeris.

Dart Ephemeris Dart FFI MPL-2.0
Taiyin Ephemeris C API 的 Dart 绑定;支持年份随加载的星历数据变化。
Dart FFI bindings for Taiyin Ephemeris.

🧭 Dart / Flutter 工具

Chinese Lunar Almanac Dart Library MIT 待重写
纯 Dart 实现的中国传统黄历库;支持年份待重写后重新确认。
Traditional Chinese almanac library for Dart. Rewrite planned.

SXWNL SPA Dart Dart 移植项目 MIT
农历、节气、干支与真太阳时计算库;已对拍验证 −2000~5000 年。
Dart port for Chinese calendars, solar terms, Ganzhi and true solar time.

📱 应用

OpenDestiny Flutter Flutter App MIT
跨平台排盘应用,目前包含紫微斗数与八字功能;支持公元前 4713 年至公元 9999 年(天文纪年 −4712~9999 年)。
A cross-platform Flutter app for BaZi and Ziwei Doushu charts, supporting dates from 4713 BCE through 9999 CE (astronomical years −4712 to 9999).

🧪 实验项目

LunaEph Python Experiment Apache-2.0
纯 Python 的轻量占星星历实验;支持 −3000~+3000 年。
An experimental pure-Python astrology ephemeris.

Taiyin Ephemeris — Semi-Analytic Python Experiment Apache-2.0
Taiyin Ephemeris 的半解析算法实验;支持 −3000~+3000 年。
Experimental semi-analytic ephemeris models for Python.

Pinned Loading

  1. sxwnl_spa_dart sxwnl_spa_dart Public

    AI 辅助移植的天文历法计算库,含农历、节气、干支与真太阳时计算。已进行过人工校验代码

    Dart 4 3

  2. taiyin-ephemeris taiyin-ephemeris Public

    High-performance astronomy and ephemeris engine for JPL SPK, eclipses, occultations, fixed stars, and Chinese calendars, with built-in astrology and an optional BaZi extension.

    C++

  3. py-ephemeris py-ephemeris Public

    Python bindings for Taiyin Ephemeris

    Python

  4. js-ephemeris-lite js-ephemeris-lite Public

    JavaScript/TypeScript 天文历算与中国传统历法工具集:星历、天象、日月食、节气月相、农历、八字、紫微与黄历。JavaScript/TypeScript astronomy, ephemeris & Chinese calendar toolkit — solar/lunar events, BaZi, Ziwei Doushu, Huangli, solar terms …

    JavaScript