{"id":26085222,"url":"https://github.com/semrush/smdbox","last_synced_at":"2025-06-26T13:33:42.815Z","repository":{"id":30012303,"uuid":"123569661","full_name":"semrush/smdbox","owner":"semrush","description":"UI for human-readable displaying of JSON-RPC 2.0 SMD","archived":false,"fork":false,"pushed_at":"2023-03-16T12:47:58.000Z","size":2050,"stargazers_count":23,"open_issues_count":18,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-19T10:19:42.304Z","etag":null,"topics":["jsonrpc2","smd"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/semrush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2018-03-02T11:08:44.000Z","updated_at":"2024-08-28T17:03:56.000Z","dependencies_parsed_at":"2025-04-12T02:01:26.600Z","dependency_job_id":"23e8720f-a14d-43b9-817d-24fc1057f8b3","html_url":"https://github.com/semrush/smdbox","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/semrush/smdbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semrush%2Fsmdbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semrush%2Fsmdbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semrush%2Fsmdbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semrush%2Fsmdbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semrush","download_url":"https://codeload.github.com/semrush/smdbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semrush%2Fsmdbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262076871,"owners_count":23255078,"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":["jsonrpc2","smd"],"created_at":"2025-03-09T05:57:29.210Z","updated_at":"2025-06-26T13:33:42.771Z","avatar_url":"https://github.com/semrush.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMD BOX\n\nSMD Box is UI for human-readable displaying of JSON-RPC SMD schemas from remote url, allowing you to call RPC methods live, view and log results.\n\n## Getting started\nSmdbox script exposes it's initialization to window.smdbox variable. Call window.smdbox() to initialize smdbox with default options, which are:\n```javascript\nconst defaultOptions = {\n    endpoint: undefined,             // api endpoint url\n    smdUrl: undefined,               // smd scheme url\n    headers: {},                // headers added to each request smdbox makes\n    selector: '#smdbox-root', // element to which smdbox is inserted\n};\n```\nYou can override any of this options to pre-fill project options.\n\nFor backward-compatibility with previous versions there's a possibility to initialize smdbox without any calls - just leave this block in html (no options can be passed to init this way):\n```html\n\u003cdiv id=\"json-rpc-root\"\u003e\u003c/div\u003e\n```\n\n* Build:\n    * `yarn run dev` — watches the project with continuous rebuild at localhost:4500\n    * `yarn run prod` — builds minified project for production\n    * `yarn run dist` — same as 'prod', but assets are made without hash (e.g. for deploys from github)\n    * `yarn run clean` — clean production assets\n    * `node index` - runs test smd schema server on localhost:8082/test (use as smd url in settings)\n* Setup your project - set smd-scheme url, your custom headers, and rpc url (Later you can change those params in Setting window)\n\nWhen project is set up you're able to choose methods from list at left sidebar, view method's description, it's input and output params, and run selected method on remote server to see results.\n\nHistory of successfull calls and their input/output are shown in \"History\" window (click History at top navigation).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemrush%2Fsmdbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemrush%2Fsmdbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemrush%2Fsmdbox/lists"}