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-11-08
More in Apps and everyday utilities
DigUp searches selected folders on your computer by file contents, helping you find photos, documents, recordings, videos, and optionally code with natural-language queries. It runs on-device on Mac, Windows, and Linux.
Forked 2026-10-22Last synced 2026-11-08License: MITApps and everyday utilitiesGitHub
Mocreak is a Windows utility for downloading and installing Windows 10/11 and Office. It simplifies setup by bringing installation and customization options into one interface.
Forked 2026-10-19Last synced 2026-11-08No license declaredApps and everyday utilitiesGitHub
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-11-08Custom 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-11-08License: Apache-2.0Apps and everyday utilitiesGitHub