About Panache
Panache is an MCP server published by SXP-Simon in the Files category: 「予你勇气,写你所想」Design and export handwritten pages with your choice of paper, ink, and layout, through a local MCP server with AI assistants. Panache turn notes, LaTeX math, tables, diagrams and thoughts into pages. Conduid read 26 tools from its source: adjust_glyphs, advance_rsi_task, annotate_review, apply_cleanup, describe_controls, export_handwriting and 20 more. No package is published for it, so it installs from a source checkout.
The repository has 850 stars and 129 forks, is licensed AGPL-3.0, and its last commit was on 1 Dec 2026. The latest release is v1.22.0 (27 Nov 2026): Flutter / Rust 照片作业与手写排版 作业模式默认优先采用李国夫手写体,并给字形加上轻微变化。可在同一张原纸、同一处正文上比较当前字体和最多两款备选,再应用选中的字体。上传底纸后,工作台纸张设置会显示照片中的制造商、设备型号、镜头和 ISO。 在照片上指定一行的起止点,natural_line… It follows v1.21.0 (24 Nov 2026), and the 5 most recent releases go back to v1.18.1 (22 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include flutter, handwriting-converter, handwriting-generator and handwriting-simulator.
Install
git clone https://github.com/SXP-Simon/PanacheTools (26)
adjust_glyphsAdjust selected glyphs by IDs from this section/page's layout at the same revision. For worksheet lettering use natural_line with two image points on the writing baseline. It preserves original letter proportions and spacing in paper space, replaces prior warps, and leaves unused row width blank. Use one uniform size across related rows. For an entire diagram on a photo, inspect diagram_perspective_check first. Use whole_drawing=true with its single root ID and place_center to translate all parts, or target_quad when four measured corners require a correction. Use target_quad only for an intentional exact four-corner warp. Offsets and per-glyph shape are in paper space. After an intervening edit, read the latest layout and locate the intended glyph again; do not reuse old IDs by changing only expected_revision.advance_rsi_taskRecord one host decision at expected_step. For request_evidence, call preview_handwriting with rsi_task_id. For revise, pass the returned decision_id to the chosen edit tool as rsi_decision_id. For select, pass the resulting export_arguments to export_handwriting to bind delivery to the selected revision. Stop with any remaining uncertainty.annotate_reviewAttach a user's exact quote or your own model observation to a review_id. Does not advance the draft revision. Use read_section(view=review,review_id=...) to retrieve it.apply_cleanupRemove selected abandoned temporary files from a fresh plan in this session. Intended only for reclaiming failed exports. A plan is not permission to delete user deliverables. No paths, completed exports, manuscript history, fonts, papers or reviews can be selected.describe_controlsList groups with {}. Pass group for fields, units, ranges and choices; add draft_id for effective values (optional revision). Use layout for text spacing and geometry, tune_handwriting.paper_guides for measured stationery lines, variation for loose writing, strike for occasional crossed-out mistakes and typography for Latin font, scale and digits.export_handwritingExport a revision in section order as PDF (default, includes paper) or ZIP of PNGs. For print-and-report, return the path, page count, review.unreviewed_pages and any pixel mismatch or comparison limitation in the receipt. To look up a listed page use read_section(view=review); only a requested new check needs preview_handwriting(view=review) at the exported revision. ZIP supports uniform export_blur_px or directional export_blur_gradient as shown in preview_handwriting. For transparent PNGs set transparent_background=true in the ink group before exporting ZIP. For clients that can receive embedded files, request include_file. An embedded resource URI is not a user-visible download URL. The returned path is local to the computer running Panache. With only this path, tell the user in their language: 'On the computer running Panache, open this file: <path>'. Put the path in inline code, never in a download link. If the chat host confirms a visible attachment, point to that attachment instead; if its receipt gives a download URL, include that exact URL in the final reply.list_draftsLook up saved drafts across sessions when the user wants to find, list, or resume earlier work. When the user supplies a problem to write out and wants to see page one, call save_section directly even if other drafts exist. Returns up to 20 summaries, newest creations first. Continue with before_draft_id=next_before_draft_id when returned.list_fontsSearch bundled, personal and system fonts. Set include_sample_guidance=false when only looking up an already approved font. To compare fonts on the saved paper, pass sample with draft_id, one or two candidate IDs and an optional native-pixel crop. The current image retains local edits. Candidates reflow, so check which words occupy the same region. Samples show the paper even for transparent PNG drafts. Returns labeled images and tune_handwriting arguments without editing the draft.list_tex_packagesDiscover TeX capabilities before saving unfamiliar notation. With no query, list built-in package IDs, short purposes and default flags. Search by a topic fragment, ID or command for a usage example. Leave tex_packages omitted for default built-ins and ordinary TeX. Use include_custom=true only when the user asks for their configured custom packages. A matching custom command returns its spelling and argument syntax. An unconfigured file or an empty match is a reason to ask the user or use an already approved standard equivalent. This tool accepts no file paths and changes no settings.plan_cleanupPreview one draft's registered exports, eligible abandoned temporary files and byte estimates. Delivered files are report-only. No disk changes. Pass next_after_id to see more.preview_handwritingUse view=image to see the page without filing a check. On imported ruled paper its ruled_row_check compares visible ink with the photographed lines. A full-page view=review without compare_revision renders and records a check. To look up an existing check without rendering use read_section(view=review, section, page). view=review returns paper, finished appearance, overlay and full-page evidence. For a diagram on photographed paper, open diagram_perspective_check in review to compare the current four corners with the local paper axes. Its layout_arguments identify the whole drawing. To adjust only new ink on a photo, use full-page view=review; if photo_ink_adjustment is returned, pass its describe_arguments unchanged to describe_controls (group=ink), compare native crops, and preserve the print. Only when the requested PNG finish can soften both paper and ink, set export_blur_px for uniform softness or export_blur_gradient for two full-page focus anchors in image view. Use the same finish for ZIP. Add region for a 1:1 crop. Open the supplied crop arguments at native size before adjusting softness. With compare_revision and no region it reads stored data, review IDs, intervening edits and limitations. Add before_review_id to pin the earlier stored check for that draft, revision, section and page. With region it rerenders labeled crops in the current environment using native image coordinates and measures visible changes. The crops do not contain archived pixels. Add compare_revision for paired before/after and previous_region for the old location of moved content. Use a separate region to inspect protected content. view=layout returns glyph IDs and base boxes [x,y,width,height], paginated by offset/limit. Use region to select current glyph centers. drawings_only selects native diagrams and whole raster drawings. illustrations_only selects raster units including independently editable details. Edit its Markdown to change a label. Projected layouts include base photo_quad (TL,TR,BR,BL) and photo_baseline. view=paper returns the saved background.publish_rsi_policyPublish a new immutable policy from completed source tasks. Specify how to execute edits, review evidence, select candidates and choose experiments.read_homework_experienceAudit one known rule by ID, including pending, rejected or retired status, original evidence and independent validations. Applications are host reports of published exports, not evidence of effectiveness. Use search_homework_experience for current task instructions.read_rsi_policyList policy versions with validation counts and latest observed outcomes, or read one immutable rule set with its source tasks and validation reports. Set include_evidence_guide=true for versioned acceptance checks and existing tool arguments.read_rsi_taskResume a task with its pinned policy, candidate revisions, preview receipts, decisions, selected revision and published deliveries. When the task has a selection, pass its export_arguments to export_handwriting.read_sectionRead saved checks without filing one: view=review with review_id (检查单号), or section and page at a revision (default: current). For a check before added text, pass its literal before_text and section; page="last" repaginates the old revision with the current environment. It cannot confirm the original last page. On a miss use IDs in other_recorded_reviews to read known checks. Cite review_id and receipt_summary or report no_recorded_review. Stored measurements and feedback belong to that version. Use view=trajectory for edits and evidence across versions; filter section and feedback_origin=user_quote for events[].details.text. Text views: excerpt (default, omits image data), summary (includes saved TeX package IDs), source (exact Markdown). When paging through one source revision, pass the revision returned by the first source page on every subsequent page together with its next_offset.record_homework_experienceRecord zero or more individually actionable lessons after ordinary homework delivery. Cite the published export and native full-page review IDs, including a delivered-revision review for each rule. New rules enter pending validation.replace_section_textReplace one whole line in an existing section at its current revision without resending Markdown or inline images. The entire section must consist of blank-line-separated blocks: single lines of letters (including Han characters), digits and interior ASCII spaces, or validated standalone embedded images. Skip this shortcut for sections containing formulas, code, headings or other formatting. On refusal follow the recovery instructions. Retry only when the result requests retry_plain=true.retire_homework_experiencePermanently withdraw one rule by ID with a reason. Ordinary search stops returning the rule immediately.save_sectionCreate a draft from text or a problem supplied in chat. To show its first page, save first, then preview. Saves Markdown without rendering. Use standard TeX without selecting packages. For unfamiliar subject-specific notation, call list_tex_packages by topic or command before saving and check its example and default_enabled flag. Omit tex_packages to use defaults. Select a custom ID at creation only when the user asks for their configured package. Keep commands meant to be copied verbatim in backticks. If a command is unavailable, do not guess a package or change settings. For schoolwork with or without a photo, set style.homework=true. Use replace_section_text for a local change in a wholly plain section. For a section with formulas, code or other markup, read the exact source before updating. For new flowcharts use \begin{circuitikz}[flowchart] with node[rectangle], node[diamond] or node[circle] and \draw[->] connections. The labels and outlines use the manuscript pen. Keep the diagram at natural scale. On a photo inspect diagram_perspective_check: compare its whole frame and labels with the local paper plane, both across and down the sheet, as well as their pen weight. On creation, optionally import a local stationery image with paper_path. Append or revise a section with expected_revision. Each section starts a new page. Keep the returned draft_id and revision. Returns detected paper.alignment.search_homework_experienceFind active, independently validated homework rules. Pass query with the actual wording of the current assignment, especially Chinese, for BM25 over conditions, actions and reasons. Optional tags narrow the match. Tags alone preserve topic search. Use [] or an unmatched query to discover vocabulary from active rules. Check the scope and refresh search just before applying a rule.start_rsi_taskStart a bounded handwriting experiment at a saved revision. The host supplies the decision provider and interprets the pinned policy. Use only when iterative experimentation is requested.storage_usageInspect MCP home file sizes, available volume space, limits and protected payload. Optionally scope logical counts and registered exports to one draft. Use before considering cleanup.tune_handwritingRevise a draft's controls, font_path or paper_guides. If the user wants earlier hand-placed text kept in place, pass preserve_local_adjustments=true on this call. Ink-only changes keep placement. Map the writing area onto the first/last writable baselines even on artwork or unruled paper. After a font, size or guide change, inspect the new layout and ruled_row_check on lined paper. Use view=image to inspect without filing a check.validate_homework_experienceRecord a host-observed positive benefit or boundary/no-harm check on an independently delivered draft with native review evidence. Both roles must pass on distinct drafts. A failed check permanently rejects the rule.validate_rsi_policyRecord a host conclusion and observed metrics for closed tasks on distinct held-out cases. Compare to the parent using isolated drafts with identical starting content, style, and paper.Security checks
- ✓README presentThe repository's README runs to about 630 words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by Cargo.lock.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 630 words, fetched 2 days ago. The original in the repository is authoritative.
Read full README