Skip to main content

相亲平台 CLI — 虚拟信封私信商业模式(xq 命令 + xiangqin skill 配套)

Project description

xiangqin

相亲平台 —— 虚拟信封私信商业模式。

CI docs tests coverage backup-fresh backup-integrity restore-drill migration-drill api-p95 error-rate

给 Claude Code 用户的相亲工具。不做推荐、不做聊天、不做匹配评分 —— 只做两件事:

  1. 你用受限 WHERE DSL 自己查匹配(查询权在用户 agent)
  2. 想跟谁说话就给谁写信(虚拟信封,每天免费 3 封,超额 ¥1/封)

简中用户首选(ClawHub)

clawhub install acong-tech-xiangqin      # Claude / OpenClaw / 多 agent runtime
pip install acong-tech-xiangqin          # 配套 xq CLI

英文 / 国际(skills.sh)

npx skills add acong-tech-skills/xiangqin       # 默认拿 main HEAD
npx skills add acong-tech-skills/xiangqin#v0.6.5 # 锁定版本
pip install acong-tech-xiangqin                  # 配套 xq CLI

只要 CLI(不装 skill)

pip install acong-tech-xiangqin
# 或
uv tool install acong-tech-xiangqin

分发策略 / 渠道对比见 brain/prd/PRD-002

快速上手

# 1. 注册
xq register 13800001111
xq verify 123456 --request-id <上条返回的 ULID>

# 2. 填资料
xq profile set gender m
xq profile set age 28
xq profile set city hangzhou
xq profile set height 178
xq profile set education master
xq profile set tags '程序,登山,做饭'
xq profile set bio '想找能一起爬山的人'

# 3. 查匹配
xq query 'gender=f AND city=hangzhou AND age>=25 AND age<=30'

# 4. 给心仪的人发私信
xq dm send <user_id> "你好,我是..."

# 5. 收件 + 回信
xq inbox list
xq inbox reply <message_id> "..."

心智模型

  • 数据层:sqlite @ epsilon
  • 排序规则公开ORDER BY p.updated_at DESC(新资料 / 新活跃的人排前)
  • 付费点:主动发私信。每天免费 3 封信封,超额 ¥1/封
  • 触达:信进对方邮箱;若对方配了 agent gateway 还会收到推送(12h 去重)
  • 隐私红线:手机号 HMAC-SHA256,永不明文;双方 agent_gateway_url 互不透露

设计原则

  • 查询权在用户(不做推荐算法)
  • 排序规则固定公开(不做暗箱权重)
  • 付费 = 主动接触权(不影响被查)
  • 匿名代理(不透露对方 URL/token)
  • 不做聊天(只存单次信件,30 天 TTL)
  • 凭证走 vault 声明式(无 SDK)
  • 除 vault 外不依赖其它生态 CLI(自治单体实验)

为什么做

传统交友 app 推荐算法变相骗钱;xiangqin 把游戏规则摊在桌面上——谁能查、谁能联系、怎么联系都是公开规则。

项目结构

CLAUDE.md —— 对外 docs/ vs 对内 brain/ 的分层 + 代码目录。

开发

uv sync --all-groups                      # 装全部 dep
uv run pytest -q                          # 跑测试(--cov-fail-under=70)
uv run ruff check src test scripts        # lint
uv run ruff format src test scripts       # format
uv run --group docs mkdocs serve          # 本地文档站 http://127.0.0.1:8000/
pre-commit install                        # 启用 pre-commit

完整文档

反馈

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acong_tech_xiangqin-0.7.1.tar.gz (427.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acong_tech_xiangqin-0.7.1-py3-none-any.whl (70.1 kB view details)

Uploaded Python 3

File details

Details for the file acong_tech_xiangqin-0.7.1.tar.gz.

File metadata

  • Download URL: acong_tech_xiangqin-0.7.1.tar.gz
  • Upload date:
  • Size: 427.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for acong_tech_xiangqin-0.7.1.tar.gz
Algorithm Hash digest
SHA256 b5cf99395559972b3f0f23b4b284142ae30c65add24f92dda1f656cfaa002ba2
MD5 f3475ea3a5fb94099066446024d0f97c
BLAKE2b-256 24d71bf722a98fd54bb1f93e88d2c96b07963d79c868db8133de9cb2979f4eb1

See more details on using hashes here.

File details

Details for the file acong_tech_xiangqin-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: acong_tech_xiangqin-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 70.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for acong_tech_xiangqin-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 feda27e85691521988dbadaac77b35a11bfeb256eafad375de52d11e8f47e9ff
MD5 306f044a5a6cd9868bded217dfd7a6ba
BLAKE2b-256 2ae0bf438e22d14cdfcd98fcc8169adef8d094031857d8d53e00bce546569ee0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page