Mengshi Cockpit

approved

by 孙鹏飞

猛士驾驶舱 — Calendar, Projects, Todos, Gantt, Feishu, Sessions integrated workbench - This plugin has not been manually reviewed by Obsidian staff.

5 stars75 downloadsUpdated 15d agoMIT

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

TabNameWhat it doesHighlights
📅CalendarMonthly grid with daily summaries and status; click to jump to or create a daily noteMon–Sat grid, one-click note creation, inline status editing
📂ProjectsAuto-scan project folders, two-dimensional categorization, card viewAuto-discovers projects, editable tags/categories, maintainable links
TodosAggregates - [ ] tasks from multiple sources; checking a box writes back to the source fileGroups by project, collapses completed items, skips template noise
📊GanttGantt timeline, drag scheduling, multi-phase, milestonesToday line, phase bars, two-way README sync
📡FeishuFeishu Wiki / Drive browsing, project categorization, link checks, smart meeting notesDeep scan, auto-categorization, access stats, file moves
💬SessionsVisualize Claude Code sessions, group by project, task workflowTurn details, title editing, archiving, one-click resume

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


Demo

CalendarGantt
CalendarGantt

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


Installation

From Obsidian Community Plugins (recommended)

  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:

SettingDescriptionDefault
Work log folderFolder for daily notesEmpty → "工作日志"
Diary templateTemplate used for new notestemplates/工作日志.md
Project rootsProject-type folders (multiple allowed)Empty → add manually
Default categories / tagsVocabulary for project classification通用 / 其他
TabsToggle the 6 tabs independentlyAll 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

ItemDetails
Minimum versionObsidian ≥ 1.7.2
Desktop✅ (requires Node runtime; Loop / Sessions / Feishu CLI / Gantt are desktop-first)
MobileNot published (isDesktopOnly: true)

Credits & License

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

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.