{"id":22328130,"url":"https://github.com/rhidium/json-editor","last_synced_at":"2026-04-04T08:44:01.546Z","repository":{"id":206517585,"uuid":"717103411","full_name":"rhidium/json-editor","owner":"rhidium","description":"A simple web-based JSON file editor, written in TypeScript.","archived":false,"fork":false,"pushed_at":"2024-04-13T13:13:46.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-31T08:14:23.677Z","etag":null,"topics":["configuration","configuration-editor","express","express-handlebars","handlebars","json","json-editor","web-editor"],"latest_commit_sha":null,"homepage":"https://rhidium.xyz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhidium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-10T15:06:59.000Z","updated_at":"2023-11-10T15:27:39.000Z","dependencies_parsed_at":"2024-04-13T14:50:13.892Z","dependency_job_id":"0801166a-ce31-4726-858d-8c70e4fb9b4e","html_url":"https://github.com/rhidium/json-editor","commit_stats":null,"previous_names":["rhidium/json-editor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhidium%2Fjson-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhidium%2Fjson-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhidium%2Fjson-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhidium%2Fjson-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhidium","download_url":"https://codeload.github.com/rhidium/json-editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245600153,"owners_count":20642251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","configuration-editor","express","express-handlebars","handlebars","json","json-editor","web-editor"],"created_at":"2024-12-04T03:11:41.899Z","updated_at":"2025-12-30T20:34:09.886Z","avatar_url":"https://github.com/rhidium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://rhidium.xyz\"\u003e\u003cimg src=\"https://github.com/rhidium/core/assets/57721238/e6d25fa1-07cb-4284-a02a-f73fe7ef3878\" width=\"100\" alt=\"logo\" /\u003e\u003c/a\u003e\n\n  ![Font_PNG](https://github.com/rhidium/core/assets/57721238/9ccc5763-8336-4d1e-8187-a738bafdc519)\n\n  \u003cp\u003e\n    \u003ca href=\"https://discord.gg/mirasaki\"\u003e\u003cimg src=\"https://img.shields.io/discord/793894728847720468?color=5865F2\u0026logo=discord\u0026logoColor=white\" alt=\"Discord server\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@rhidium/json-editor\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@rhidium/json-editor.svg?maxAge=3600\" alt=\"npm version\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@rhidium/json-editor\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/@rhidium/json-editor.svg?maxAge=3600\" alt=\"npm downloads\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/rhidium/core\"\u003eCore\u003c/a\u003e\n    •\n    \u003ca href=\"https://github.com/rhidium/template\"\u003eTemplate\u003c/a\u003e\n    •\n    \u003ca href=\"https://github.com/rhidium/json-editor\"\u003eJSON Editor\u003c/a\u003e\n    •\n    \u003ca href=\"https://github.com/rhidium/core\"\u003ePlaceholder\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# @rhidium/json-editor\n\nThis is a simple, web-based JSON editor for our Discord bots, but it can be used with any JSON schema. It is only meant to be used locally and is merely intended as a convenient solution for our users that aren't familiar with JSON.\n\nWhen a JSON is saved locally, a backup will be created of the original file (if is exists) before it is created.\n\n## Using the editor\n\nInstall the package: `npm i @rhidium/json-editor`\n\nAnd start the express app:\n\n`scripts/json-editor.js`\n\n```js\n// CommonJS\nconst { startJSONEditor } = require('@rhidium/json-editor')\nconst { readFileSync } = require('fs')\n// ESM\nimport { startJSONEditor } from '@rhidium/json-editor'\nimport { readFileSync } from 'fs'\n\nconst jsonSchema = readFileSync('./config.schema.json', 'utf-8');\n\nstartJSONEditor({\n  port: 3000,\n  dataFilePath: './config.json',\n  data: {}, // Default data, if not read from file\n  createBackup: true,\n  schemaString: jsonSchema\n}, {\n  // Some additional editor options\n  // All native @json-editor/json-editor options are available\n  // These are our defaults\n  theme: 'bootstrap5',\n  iconlib: \"fontawesome5\",\n  disable_collapse: false,\n  disable_edit_json: true,\n  disable_properties: true,\n  no_additional_properties: true,\n})\n```\n\nAnd start the script: `node scripts/json-editor.js`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhidium%2Fjson-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhidium%2Fjson-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhidium%2Fjson-editor/lists"}