code-zen 是基于 opcode 二次开发的项目,专为 Vibe Hacks 第一届黑客松 打造。在保留原版所有功能的基础上,重点增加了开发者身心平衡管理功能。
在追求技术精进的道路上,我们常常忽视了最本质的东西——身心的平衡。code-zen 像一位智慧的禅师,在你专注编码时默默守护,在你需要休息时轻声提醒,让你在高效工作的同时保持内心的平静。
- 智能休息提醒:基于你的工作节奏,在最合适的时机提醒休息
- 双模式提醒:温和模式(底部横幅)+ 积极模式(全屏提醒)
- 健康数据面板:可视化展示你的健康习惯,包括完成率、趋势分析
- 情境感知:自动识别专注状态,避免在编码高峰期打扰
- 夜间模式:21点后自动停止提醒,保证睡眠质量
- 专注音乐播放:内置 ADHD 专注音乐,循环播放营造编码氛围
- 智能音量控制:可调节音量,不干扰工作思路
- 自动播放设置:启动时自动播放,无需手动操作
- 一键控制:简单的播放/暂停控制,融入健康设置面板
- 自然停顿识别:在代码提交、文件保存等合适时机提醒
- 专注状态保护:避免在你深度思考时打扰
- 个性化适配:根据你的工作节奏调整提醒频率
- 完成率统计:按时完成休息任务的比例
- 趋势分析:7天/30天健康数据可视化
- 少打扰统计:记录因专注而延后提醒的次数
- 断点完成率:自然停顿点的响应成功率
- 下载安装包:从 Releases 页面下载对应系统版本
- 一键安装:按照系统提示完成安装
- 首次启动:自动检测 Claude Code 环境
设置 → 健康管理 → 个性化配置
- 设置提醒间隔(建议:微活动30分钟,眼保健20分钟)
- 选择提醒强度(温和/积极)
- 配置安静时段(避免休息时间)
- 启用专注音乐(内置 ADHD 音乐,可调节音量)
- Rust + React 架构:高性能后端,流畅前端体验
- 智能算法:基于用户行为模式的个性化提醒
- 数据可视化:实时健康数据展示
- 零学习成本:安装即用,无需复杂配置
- 无侵入设计:温和提醒,不打扰工作流
- 个性化定制:适应不同用户习惯
- 关注程序员健康:解决长期被忽视的职业健康问题
- 提升工作效率:适当休息反而能提高编码效率
- 培养健康习惯:用技术的方式帮助建立良好作息
前端:React 18 + TypeScript + Tailwind CSS
后端:Rust + Tauri 2 + SQLite
通信:Tauri IPC 机制
存储:本地 SQLite 数据库
- HealthScheduler:智能调度引擎
- HealthPanel:数据可视化面板
- HealthNudgeBar:温和提醒组件
- HealthCountdown:积极提醒模式
- MusicManager:沉浸式音乐管理器
作者:geekjourneyx
博客:geeki.cc
X账号:@seekjourney
相关项目:永恒的氛围编程艺术 | The Timeless Art of Vibe Coding | 网站
项目背景:Vibe Hacks 第一届黑客松参赛作品
原项目:opcode by Asterisk
本项目基于 AGPL-3.0 协议开源。
重要声明:
- 本项目是 opcode 的二次开发作品
- 保留所有原始版权声明和许可证
- 原项目版权所有:Asterisk
欢迎提交 Issue 和 Pull Request!
感谢原作者 Asterisk 创建的优秀项目 opcode,让我们能够在此基础上进行创新。
感谢 Vibe Hacks 提供展示技术创意的平台。
Programmers are the group most likely to neglect their health. We sit in front of computers for long periods, forgetting to rest, move, and protect our eyes. opcode Health Edition is your personal health assistant, intelligently reminding you to take breaks at the right time.
- Smart Break Reminders: Based on your work rhythm, remind you to rest at the most appropriate time
- Dual Mode Alerts: Gentle mode (bottom banner) + Active mode (full-screen reminder)
- Health Dashboard: Visual display of your health habits, including completion rates and trend analysis
- Context Awareness: Automatically recognize focus state, avoid interruptions during peak coding periods
- Night Mode: Automatically stop reminders after 21:00 to ensure sleep quality
- Natural Breakpoint Detection: AI intelligent recognition at natural pause points like code commits and file saves
- Non-intrusive Design: Never suddenly pop up when you're focused on coding
- Personalized Learning: Automatically adjust reminder frequency based on your schedule
Made with ❤️ for Vibe Hacks First Hackathon
