MCPcopy
hub / github.com/wellsjo/JSON-Splora

github.com/wellsjo/JSON-Splora @1.0.2 sqlite

repository ↗ · DeepWiki ↗ · release 1.0.2 ↗
66 symbols 111 edges 13 files 46 documented · 70%
README

JSON-Splora

JSON-Splora is a GUI for editing, visualizing, and manipulating JSON data with jq or JavaScript.

Demo

Design

The editor is a JavaScript editor, and the input is parsed as json5. This allows for comments as well as a relaxed JSON input format. Once the editor has valid JSON, an input window will appear below, allowing you to manipulate the object with JavaScript or jq. A panel will appear to the right with the output, and updates live as the input or filter changes.

Input

  • URLs resolve to any JSON they return
  • Drag-and-drop or open any file
  • Plain text input

Filters

  • First evaluated as JavaScript with output = x${filter}
  • If JS fails, it attempts to use jq

Command Line

jsplora [file]

Install

Requires at least Node version 6.

Globally (cli)

This will create the application as well as the alias jsplora.

npm i -g json-splora

Locally

Building locally creates a directory JSON-Splora-<system> which contains the application.

npm install

# build for darwin, linux, win32
npm run-script build-darwin
npm run-script build-linux
npm run-script build-win32

Name Change

JSON-Splora is becoming json-splora in npm. This is because of a bug in npm's backend confusing the two packages. I am forced to release 1.0.0, deprecate "JSON-Splora", and move to "json-splora". I apologize for any inconvenience.

Contributing

Contributions are welcome! Please read through and follow the style of the rest of the code. eslint is used as a code pre-commit hook, and will catch many simple errors. Please squash your commits and leave concise commit messages.

License

MIT

Core symbols most depended-on inside this repo

setValue
called by 5
app/js/Editor.js
newTab
called by 4
app/js/Tabs.js
format
called by 4
app/js/Editor.js
get
called by 3
app/js/Settings.js
validate
called by 3
app/js/Editor.js
setTheme
called by 2
app/js/Tab.js
set
called by 2
app/js/Settings.js
removeTab
called by 2
app/js/Tabs.js

Shape

Method 47
Class 18
Function 1

Languages

TypeScript100%

Modules by API surface

app/js/Editor.js13 symbols
app/js/Tab.js11 symbols
app/tests/App.spec.js9 symbols
app/js/Tabs.js9 symbols
app/js/Settings.js7 symbols
app/js/system/MainMenu.js6 symbols
app/js/Output.js6 symbols
app/js/App.js4 symbols
index.js1 symbols

Dependencies from manifests, versioned

codemirror5.20.2 · 1×
electron1.4.8 · 1×
electron-config0.2.1 · 1×
electron-context-menu0.8.0 · 1×
electron-default-menu1.0.0 · 1×
electron-packager8.3.0 · 1×
eslint3.11.1 · 1×
eslint-config-airbnb13.0.0 · 1×
eslint-plugin-import2.2.0 · 1×
eslint-plugin-jsx-a11y2.2.3 · 1×
eslint-plugin-react6.7.1 · 1×
git-validate2.2.2 · 1×

For agents

$ claude mcp add JSON-Splora \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact