relationship
A Chinese kinship calculator that works out the right title for a relative from a chain of family relations. It accepts regional variants of terms and helps avoid confusion at family gatherings.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: MIT
Overview
This is a Chinese kinship calculator. You describe a relative as a chain of family relations, and it works out the correct title to use, which helps at family gatherings when relations are distant. The input accepts regional variants of terms, and it can also look up titles in reverse. The script library runs in browsers and in Node.js and is installed from npm as relationship.js. Demo pages for desktop and mobile are linked.
Key features
- Computes the title for a relative from a chain of relations
- Accepts regional and informal variants of family terms
- Reverse lookup, shortest relation and relation chain modes
- Works in browsers and Node.js via npm relationship.js
Best for
Developers building family tree or greeting tools for Chinese kinship, and anyone unsure what to call a relative.
- Upstream
- mumuy/relationship
- Fork on GitHub
- Guo-astro/relationship
- Upstream stars
- 3.7k
- Category
- Apps and everyday utilities
- Language
- JavaScript
- License
- MIT
- Forked
- 2025-12-13
- Sync status
- In syncLast synced 2026-10-19
More in Apps and everyday utilities
ATV Optimizer manages Android TV devices over ADB. Use its desktop app or PowerShell script to disable unwanted apps and adjust supported device settings.
Forked 2026-10-18Last synced 2026-10-19Custom license (see repository)Apps and everyday utilitiesGitHub
View and control Mac windows or the desktop from an iPhone or iPad using touch, a trackpad, or a keyboard. Connect without an account or intermediary server.
Forked 2026-10-16Last synced 2026-10-19License: Apache-2.0Apps and everyday utilitiesGitHub
Sofatap turns an iPhone into a remote touchpad and text or voice input surface for a Windows, Mac, or supported Linux computer. It lets you control a computer connected to a TV from the sofa.
Forked 2026-10-16Last synced 2026-10-19License: MITApps and everyday utilitiesGitHub
Horizon is a personal AI news radar that generates daily briefings in English and Chinese. It helps readers keep up with news through concise briefings for personal reading.
Forked 2026-10-15Last synced 2026-10-19License: MITApps and everyday utilitiesGitHub