PartyCraft — 活动策划助手
PartyCraft is a full-featured event planning assistant that runs entirely from the command line. Create events (weddings, birthdays, corporate gatherings, parties), manage budgets, track tasks with completion status, maintain guest lists with RSVP tracking, view countdown timelines, and generate suggested checklists by event type. All data is stored locally in JSON format.
Commands
| Command | Description |
|---|
| INLINECODE0 | Create a new event. Types: wedding, birthday, corporate, party, general (default) |
| INLINECODE6 |
List all events with task progress, guest count, and budget |
|
partycraft budget <event_id> <amount> | Set or update the budget for an event |
|
partycraft task <event_id> add <text> | Add a task to an event |
|
partycraft task <event_id> done <number> | Mark a task as complete by its number |
|
partycraft task <event_id> list | List all tasks for an event with ✅/⬜ status |
|
partycraft guest <event_id> add <name> | Add a guest to an event |
|
partycraft guest <event_id> list | List all guests with RSVP status |
|
partycraft timeline <event_id> | Show countdown, task progress, and guest count for an event |
|
partycraft checklist [type] | Show a suggested checklist for an event type (wedding/birthday/corporate/general) |
|
partycraft info | Show version information |
|
partycraft help | Show usage help |
Data Storage
All data is stored locally in ~/.partycraft/:
- -
events.json — Main data file containing all events as a JSON array. Each event object includes:
-
id — Unix timestamp at creation (unique identifier)
-
name — Event name
-
date — Event date in
YYYY-MM-DD format
-
type — Event type (wedding/birthday/corporate/party/general)
-
budget — Budget amount (numeric)
-
tasks — Array of
{text, done} objects
-
guests — Array of
{name, rsvp} objects
-
created — Creation date
The directory is created automatically on first run. The events.json file is initialized as an empty array [] if it doesn't exist.
Requirements
- - bash (any modern version)
- python3 (standard library only — uses
json, time, datetime) - No API keys, no network access, no external dependencies
When to Use
- 1. Planning a wedding — Create the event, use
checklist wedding for a suggested task list (venue, catering, photographer, flowers, seating, music, cake, rehearsal dinner), add tasks, track guest RSVPs, and set the budget. - Organizing a birthday party — Create a birthday event, get a suggested checklist (theme, invitations, cake, decorations, games, food, party favors), add and track tasks as you complete them.
- Managing a corporate event — Create a corporate event with objectives, agenda, AV equipment, catering, and name badges tracked as tasks. Monitor completion with
task list. - Tracking event countdown — Use
timeline <id> to see how many days remain, get warnings when less than a week out (⚠️), and monitor task completion percentage. - Managing guest lists — Add guests with
guest <id> add <name>, view the full list with RSVP status, and track headcount alongside budget and task progress in list.
Examples
CODEBLOCK0
Checklist Templates
PartyCraft includes built-in checklist templates for common event types:
- - Wedding — Venue, invitations, catering, photographer, flowers, seating, music/DJ, cake, rehearsal dinner, final guest count
- Birthday — Theme, invitations, cake, decorations, activities/games, food/drinks, party favors
- Corporate — Objectives, venue, invitations, AV equipment, agenda/speakers, catering, name badges, follow-up materials
- General — Date/time, venue, guest list, invitations, food/drinks, decorations, entertainment, cleanup plan
Output
All output is printed to stdout. Event data is persisted in ~/.partycraft/events.json and can be viewed or edited directly.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
技能名称:活动策划师
详细描述:
PartyCraft — 活动策划助手
PartyCraft 是一款功能齐全的活动策划助手,完全在命令行中运行。可创建活动(婚礼、生日、公司聚会、派对),管理预算,跟踪任务完成状态,维护宾客名单及RSVP回复状态,查看倒计时时间线,并根据活动类型生成建议清单。所有数据均以JSON格式本地存储。
命令
| 命令 | 描述 |
|---|
| partycraft create <名称> <日期> [类型] | 创建新活动。类型:wedding(婚礼)、birthday(生日)、corporate(公司活动)、party(派对)、general(通用,默认) |
| partycraft list |
列出所有活动,显示任务进度、宾客数量和预算 |
| partycraft budget <活动ID> <金额> | 设置或更新活动预算 |
| partycraft task <活动ID> add <内容> | 为活动添加任务 |
| partycraft task <活动ID> done <编号> | 按编号将任务标记为完成 |
| partycraft task <活动ID> list | 列出活动的所有任务,显示✅/⬜状态 |
| partycraft guest <活动ID> add <姓名> | 为活动添加宾客 |
| partycraft guest <活动ID> list | 列出所有宾客及RSVP状态 |
| partycraft timeline <活动ID> | 显示活动的倒计时、任务进度和宾客数量 |
| partycraft checklist [类型] | 显示活动类型的建议清单(wedding/birthday/corporate/general) |
| partycraft info | 显示版本信息 |
| partycraft help | 显示使用帮助 |
数据存储
所有数据本地存储在 ~/.partycraft/ 目录下:
- - events.json — 主数据文件,包含所有活动,以JSON数组形式存储。每个活动对象包括:
- id — 创建时的Unix时间戳(唯一标识符)
- name — 活动名称
- date — 活动日期,格式为 YYYY-MM-DD
- type — 活动类型(wedding/birthday/corporate/party/general)
- budget — 预算金额(数值)
- tasks — {text, done} 对象数组
- guests — {name, rsvp} 对象数组
- created — 创建日期
该目录在首次运行时自动创建。如果 events.json 文件不存在,则初始化为空数组 []。
系统要求
- - bash(任何现代版本)
- python3(仅使用标准库 — 使用 json、time、datetime)
- 无需API密钥,无需网络访问,无需外部依赖
使用场景
- 1. 策划婚礼 — 创建活动,使用 checklist wedding 获取建议任务清单(场地、餐饮、摄影师、鲜花、座位安排、音乐、蛋糕、彩排晚宴),添加任务,跟踪宾客RSVP回复,并设置预算。
- 组织生日派对 — 创建生日活动,获取建议清单(主题、邀请函、蛋糕、装饰、游戏、食物、派对礼品),添加并跟踪任务完成情况。
- 管理公司活动 — 创建公司活动,将目标、议程、音视频设备、餐饮和名牌作为任务跟踪。使用 task list 监控完成情况。
- 跟踪活动倒计时 — 使用 timeline 查看剩余天数,当不足一周时收到警告(⚠️),并监控任务完成百分比。
- 管理宾客名单 — 使用 guest add <姓名> 添加宾客,查看完整名单及RSVP状态,在 list 中同时跟踪人数、预算和任务进度。
示例
bash
创建婚礼活动
partycraft create Alice & Bob Wedding 2025-06-15 wedding
活动已创建:Alice & Bob Wedding(婚礼)于2025-06-15
列出所有活动及进度摘要
partycraft list
您的活动:
--------------------------------------------------
[1710500000] Alice & Bob Wedding - 2025-06-15(婚礼)
任务:0/0 | 宾客:0 | 预算:$0
设置预算
partycraft budget 1710500000 50000
预算已设置为$50000,用于:Alice & Bob Wedding
添加任务
partycraft task 1710500000 add 预订场地
任务已添加:预订场地
partycraft task 1710500000 add 发送邀请函
任务已添加:发送邀请函
将任务标记为完成
partycraft task 1710500000 done 1
任务已完成:预订场地
查看任务状态
partycraft task 1710500000 list
✅ 1. 预订场地
⬜ 2. 发送邀请函
添加宾客
partycraft guest 1710500000 add Charlie
宾客已添加:Charlie
查看倒计时时间线
partycraft timeline 1710500000
时间线:Alice & Bob Wedding(2025-06-15)
----------------------------------------
距离活动还有89天
任务:1/2 已完成
宾客:1人已邀请
📋 距活动一个月。请确认细节。
获取生日派对的建议清单
partycraft checklist birthday
建议清单(生日):
□ 选择主题
□ 发送邀请函
□ 订购蛋糕
□ 购买装饰品
□ 规划活动/游戏
□ 安排食物/饮料
□ 派对礼品
清单模板
PartyCraft 包含常见活动类型的内置清单模板:
- - 婚礼 — 场地、邀请函、餐饮、摄影师、鲜花、座位安排、音乐/DJ、蛋糕、彩排晚宴、最终宾客人数
- 生日 — 主题、邀请函、蛋糕、装饰、活动/游戏、食物/饮料、派对礼品
- 公司活动 — 目标、场地、邀请函、音视频设备、议程/演讲者、餐饮、名牌、后续材料
- 通用 — 日期/时间、场地、宾客名单、邀请函、食物/饮料、装饰、娱乐、清洁计划
输出
所有输出打印到标准输出。活动数据持久化存储在 ~/.partycraft/events.json 中,可直接查看或编辑。
由BytesAgain提供 | bytesagain.com | hello@bytesagain.com