← 返回
开发者工具 中文

Reg Limited

Vehicle restriction query and reminder tool for Chinese cities. Query daily restrictions and set scheduled reminders.
中国城市车辆限行查询与定时提醒工具。
chandler0714
开发者工具 clawhub v1.0.2 3 版本 100000 Key: 无需
★ 0
Stars
📥 827
下载
💾 6
安装
3
版本
#car#latest#license#plate#restriction

概述

RegLimited - Vehicle Restriction Query & Reminder

A tool to help you query vehicle restrictions and set reminders for Chinese cities.

Features

  1. Restriction Query - Check if your vehicle is restricted today based on city and plate
  2. Scheduled Reminders - Get notified at specified times about restriction info
  3. Multi-city Support - Supports major Chinese cities including Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, etc.

Usage

1. Query Today's Restrictions

# Query today's restricted digits for a city
reg-limited query --city beijing

# Check if a plate is restricted
reg-limited check --city beijing --plate 京A12345

2. Set Restriction Reminders

# Basic usage
reg-limited add --city beijing --plate 京A12345 --time "07:00"

# Full parameters
reg-limited add --city beijing --plate 京A12345 --time "07:00" --notify-channel feishu

3. List All Reminders

reg-limited list

4. Remove Reminders

reg-limited remove --id <reminder_id>

Supported Cities

  • Beijing (北京)
  • Shanghai (上海)
  • Guangzhou (广州)
  • Shenzhen (深圳)
  • Hangzhou (杭州)
  • Chengdu (成都)
  • Tianjin (天津)
  • Wuhan (武汉)
  • Xi'an (西安)
  • Nanjing (南京)

Restriction Rules

Beijing

Queries real-time restriction data from Beijing Traffic Management Bureau:

  • Official source: https://jtgl.beijing.gov.cn/jgj/lszt/659722/660341/index.html
  • Current period: 2025-12-29 to 2026-03-29
  • Restrictions apply Mon-Fri, 7:00-20:00
DayRestricted
-----------------
Monday3, 8
Tuesday4, 9
Wednesday5, 0
Thursday1, 6
Friday2, 7

Other Cities

  • Shanghai: Elevated road restrictions
  • Guangzhou: "Open Four, Stop Four" policy
  • Shenzhen: Morning/evening peak hour restrictions
  • Hangzhou/Chengdu/Tianjin/Wuhan/Xi'an/Nanjing: Day-specific number restrictions

Output Format

JSON format for program processing:

{
  "success": true,
  "data": {
    "city": "北京",
    "date": "2026-03-03",
    "restricted": ["4", "9"],
    "isRestricted": true,
    "plate": "京A12345",
    "lastDigit": "4"
  }
}

Example Dialogues

> User: What's today's vehicle restriction in Beijing?

> Bot: Today's restriction digits: 4, 9 (Your plate 4 is restricted!)

> User: Is my car 京A12345 restricted today?

> Bot: Yes! Today (Tuesday) Beijing restricts digits 4 and 9. Your plate ends with 4, so it's restricted.

> User: Set a reminder for 7am tomorrow about restrictions

> Bot: Done! You'll receive a restriction reminder at 7am tomorrow.

Technical Implementation

  1. Fetches daily restriction info from official government sources
  2. For Beijing: queries https://jtgl.beijing.gov.cn/jgj/lszt/659722/660341/index.html
  3. Parses restricted digits from the official table
  4. Compares with plate last digit
  5. Sends notifications via scheduled tasks

Dependencies

  • Node.js
  • Network access (for querying restrictions)
  • Message channels (Feishu/Telegram/etc.)

More cities coming soon...

版本历史

共 3 个版本

  • v1.0.2 当前
    2026-05-03 03:34 安全 安全
  • v1.0.1
    2026-03-29 19:38 安全
  • v1.0.0
    2026-03-07 01:57

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

McDonald's China (mstore)

chandler0714
麦当劳中国优惠券兑换、查询和积分查询。当用户想(1)查询或领取优惠券,(2)查看可用优惠券,或(3)查询积分或奖励状态时使用。
★ 0 📥 430
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,827
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,779