Mengshi Cockpit

by 孙鹏飞
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

6
stars
142
downloads
0
forks
41
days
24
days
24
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
34
commits

README file from

Github

Mengshi Cockpit

An all-in-one Obsidian workbench plugin — Calendar, Projects, Todos, Gantt, Feishu (Lark), and Claude Code Sessions in a single interactive dashboard.

A Chinese translation is available at README.zh-CN.md.

Obsidian Plugin GitHub release License: MIT


Features

Tab Name What it does Highlights
📅 Calendar Two views: 日新 (monthly grid, daily summary + status) and 月异 (quarter month-cards + weekly cards with weekly-report tags & busy lights; month → daily view) One-click daily note, inline status editing, weekly/monthly report skeleton generation from diary draft
📂 Projects Auto-scan project folders, two-dimensional categorization, card view Auto-discovers projects, editable tags/categories, maintainable links
✅ Todos Aggregates - [ ] tasks from multiple sources; checking a box writes back to the source file Groups by project, collapses completed items, skips template noise
📊 Gantt Gantt timeline, drag scheduling, multi-phase, milestones Today line, phase bars, two-way README sync
📡 Feishu Feishu Wiki / Drive browsing, project categorization, link checks, smart meeting notes Deep scan, auto-categorization, access stats, file moves
💬 Sessions Visualize Claude Code and CodeM sessions, group by project, archive & harvest status Turn details, session archiving (out of 30-day cleanup scope), one-click resume, harvest marker

🖊 Quick capture: a bottom FAB offers "Diary / Todo / Project" quick entry (not a separate panel).


Reports & Skills

  • One-click weekly / monthly report skeleton from the calendar: pick «📝 extract draft from diary» (auto-aggregate project tags + daily one-liners + status stats into ai_summary) or «🧱 empty skeleton (fill by hand)».
  • Bundled skills, one-click install from Settings → Sessions:
    • session-harvest — summarize a conversation into vault notes
    • work-report — keep local diary → generate weekly / monthly reports (fully local, no personal info bundled)
    • Installs to ~/.claude/skills/ or ~/.agents/skills/; existing files are backed up to .bak.

Demo

Calendar Gantt
Calendar Gantt

Installation demo: see assets/demo/插件安装.gif.


Installation

  1. Open Obsidian → Settings → Community plugins → turn off Restricted mode
  2. Community plugins → Browse → search Mengshi Cockpit → Install and enable
  3. A shield-shaped icon appears in the ribbon; click it to open the workbench

Manual install (Release)

  1. Download the latest main.js, manifest.json, styles.css from Releases
  2. Put them into .obsidian/plugins/mengshi-workbench/ in your vault
  3. Settings → Community plugins → Enable

Build from source

git clone https://github.com/Spenf710/obsidian-mengshi-cockpit.git
cd obsidian-mengshi-cockpit
npm install
# Build directly into your vault's plugin folder (recommended):
OBSIDIAN_VAULT="C:/path/to/your/vault" npm run build
# Or build to ./dist and copy manually:
npm run build

Output directory priority: OBSIDIAN_VAULT env var → local .obsidian → ./dist.


Setup

The plugin works out of the box, but configure it under Settings → Mengshi Cockpit for the best experience:

Setting Description Default
Work log folder Folder for daily notes Empty → "工作日志"
Diary template Template used for new notes templates/工作日志.md
Project roots Project-type folders (multiple allowed) Empty → add manually
Default categories / tags Vocabulary for project classification 通用 / 其他
Tabs Toggle the 6 tabs independently All on

Feishu (optional)

The Feishu panel relies on the external lark-cli tool (install and log in yourself):

npm install -g @larksuite/cli
lark-cli auth login

The plugin auto-detects lark-cli (with a npx fallback); a guide is shown when it is missing.

Sessions (optional)

The Sessions panel reads local Claude Code session records (~/.claude/projects/) — no setup needed. "Loop / Open in Claude" requires the Claude Code CLI; buttons show a hint when it is absent.


Privacy & Data

  • Everything is processed locally: it reads your vault's .md files, optionally reads ~/.claude/projects session JSONL, and calls Feishu cloud APIs (via lark-cli using your own credentials) only when you open the Feishu panel.
  • Nothing is uploaded to third parties: Feishu calls only happen when you perform a panel action (browse / search / stats).
  • Settings (including personal overrides) are stored in .obsidian/plugins/mengshi-workbench/data.json.

Development

npm run dev    # watch mode + static file sync
npm run build  # production build
  • Source: src/main.ts (plugin shell) + src/data/* (data layer) + src/views/* (view layer)
  • Build: esbuild bundle → main.js; standalone styles.css; manifest.json version aligned with the release tag

Platform

Item Details
Minimum version Obsidian ≥ 1.7.2
Desktop ✅ (requires Node runtime; Loop / Sessions / Feishu CLI / Gantt are desktop-first)
Mobile Not published (isDesktopOnly: true)

Credits & License

  • The logo is an original military-style creation with no third-party copyright dependencies.
  • Released under the MIT License.