GmKing

by kingsanalog
5
4
3
2
1
Score: 50/100
New Plugin

Description

GmKing: A lightweight schematic editor built for quick drawing.

Reviews

No reviews yet.

Stats

0
stars
downloads
0
forks
0
days
1
days
1
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
4
commits

Latest Version

a day ago

Changelog

GmKing 0.1.3 addresses the three inline style resets flagged by the Obsidian Community review of 0.1.2.

  • The context menu now removes its previous coordinates before measuring its size and positioning it in the viewport.
  • Raw-text notes clear the host's inline whitespace setting while the note is active and restore it when editing ends.
  • Local lint checks now catch the empty style assignments reported by Community review.

Requires Obsidian Desktop 1.13.4 or later.

README file from

Github

GmKing

Draw electronic circuits with connected wires, editable symbols, labels, notes, Undo/Redo, and SVG/PNG clipboard export.

  • Web editor: apps/web; browser-local storage and JSON import/export.
  • Embeddable library: packages/schematic; API and embedding.
  • Obsidian plugin: apps/obsidian; desktop only, Obsidian 1.13.4+.

Run

Node.js 22.13+ and npm 10+:

npm ci
npm run dev

Open http://127.0.0.1:8001. After library changes, run npm run build:lib and reload. npm run build builds all three packages; npm run typecheck, npm test, and npm run test:browser verify them. The browser check needs Chrome/Chromium or Edge.

npm run lint runs the official Obsidian ESLint rules across the workspace. Outstanding findings are reported; lint currently runs as an advisory CI step.

Obsidian

Build with npm run build. Copy main.js, styles.css, and manifest.json from apps/obsidian/dist into <vault>/.obsidian/plugins/schematic-editor/, then enable GmKing in Community plugins. Run GmKing: Insert schematic in the command palette; edit the inserted block in Live Preview. Circuit data stays in the note's JSON code block.

Hosting and data

Host apps/web/dist on a static server. Web documents stay in that browser; export JSON for backups or transfer. Web formula rendering loads MathJax from jsDelivr and needs a network connection. The Obsidian plugin uses Obsidian's rendering APIs. Clipboard features depend on host permissions; Web clipboard access generally needs HTTPS or localhost.

MIT © 2026 RarityBrown. Dependencies retain their own licenses; see third-party notices.