{"id":34507945,"url":"https://github.com/elnaril/gedit-plugin-collection","last_synced_at":"2025-12-24T03:14:33.720Z","repository":{"id":268174845,"uuid":"902047607","full_name":"Elnaril/gedit-plugin-collection","owner":"Elnaril","description":"Collection of  plugins for gedit","archived":false,"fork":false,"pushed_at":"2025-02-12T16:40:44.000Z","size":626,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T02:53:56.817Z","etag":null,"topics":["gedit","gedit-plugin","json-formatter","plugin","prettifier"],"latest_commit_sha":null,"homepage":"https://www.buymeacoffee.com/elnaril","language":"Python","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/Elnaril.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-12-11T20:01:17.000Z","updated_at":"2025-04-20T09:24:09.000Z","dependencies_parsed_at":"2024-12-14T22:46:01.975Z","dependency_job_id":"35a919a8-02bc-4d2e-8f86-a40aabd941aa","html_url":"https://github.com/Elnaril/gedit-plugin-collection","commit_stats":null,"previous_names":["elnaril/gedit-plugin-collection"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Elnaril/gedit-plugin-collection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elnaril%2Fgedit-plugin-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elnaril%2Fgedit-plugin-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elnaril%2Fgedit-plugin-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elnaril%2Fgedit-plugin-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Elnaril","download_url":"https://codeload.github.com/Elnaril/gedit-plugin-collection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elnaril%2Fgedit-plugin-collection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27994386,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gedit","gedit-plugin","json-formatter","plugin","prettifier"],"created_at":"2025-12-24T03:14:28.952Z","updated_at":"2025-12-24T03:14:33.712Z","avatar_url":"https://github.com/Elnaril.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gedit Plugins\nCollection of Gedit plugins:\n1. [JSON Formatter](#JSON-Formatter): Verify, Format and Minify json documents\n2. [Prettifier](#Prettifier): Prettify data structures\n\n---\n\n\u003cdiv\u003e\n    \u003cimg \n        style=\"display: block; \n               margin-left: auto;\n               margin-right: auto;\n               width: 75%;\"\n        src=\"./media/gedit-plugin-collection.jpg\" \n        alt=\"Gedit plugin collection\"\u003e\n\u003c/div\u003e\n\n---\n\n## Installation\n1. Get the file `gedit-plugin-collection-x.y.z.tar.gz` from the latest [release](https://github.com/Elnaril/gedit-plugin-collection/releases)\n2. Extract its content into the folder `~/.local/share/gedit/plugins`\n\nSo you should have something similar to:\n```bash\n.local/share/gedit/\n└── plugins\n    ├── jsonformatter/\n    ├── jsonformatter.plugin\n    ├── prettifier/\n    └── prettifier.plugin\n```\n\n3. Activate the plugin(s) you wish in the Gedit Preferences window.\n\n## JSON Formatter\n\nThis plugin allows you to easily:\n- Verify (CTRL-ALT-v) a JSON document is a correctly formatted \n- Format (CTRL-ALT-J) a JSON document\n- Minify (CTRL-ALT-j) a JSON document\n\n#### Format Example:\n```json\n[\n    {\n        \"inputs\": [\n            {\n                \"internalType\": \"address\",\n                \"name\": \"initialOwner\",\n                \"type\": \"address\"\n            }\n        ],\n        \"stateMutability\": \"nonpayable\",\n        \"type\": \"constructor\"\n    }\n]\n```\n#### Minify Example:\n```json\n[{\"inputs\": [{\"internalType\": \"address\", \"name\": \"initialOwner\", \"type\": \"address\"}], \"stateMutability\": \"nonpayable\", \"type\": \"constructor\"}]\n```\n\n## Prettifier\nThis plugin allows you to make readable data structures defined with {, [, \", ...  \nKeyboard shortcut: CTRL-SHIFT-P\n\nLet's say you have this document:\n```text\n\u003cFunction execute(bytes,bytes[],uint256)\u003e{ 'commands': b'\\x10', 'inputs': [ ( \u003cFunction V4_SWAP(bytes,bytes[])\u003e, { 'actions': b'\\x06\\x0f\\x0c', 'params': [ ( \u003cFunction SWAP_EXACT_IN_SINGLE(((address,address,uint24,int24,address),bool,uint128,uint128,bytes))\u003e, { 'exact_in_single_params': { 'PoolKey': { 'currency0': '0x0000000000000000000000000000000000000000', 'currency1': '0xBf5617af623f1863c4abc900c5bebD5415a694e8', 'fee': 3000, 'tickSpacing': 50, 'hooks': '0x0000000000000000000000000000000000000000' }, 'zeroForOne': False, 'amountIn': 100000000000000, 'amountOutMinimum': 798750268136655870501951828, 'hookData': b'' } } ), ( \u003cFunction TAKE_ALL(address,uint256)\u003e, { 'currency': '0x0000000000000000000000000000000000000000', 'minAmount': 0 } ), ( \u003cFunction SETTLE_ALL(address,uint256)\u003e, { 'currency': '0xBf5617af623f1863c4abc900c5bebD5415a694e8', 'maxAmount': 100000000000000 } ) ] }, { 'revert_on_fail': True } ) ], 'deadline': 1732612928}\n```\n\nYou can get it formatted like that:\n```text\n\u003cFunction execute(bytes,bytes[],uint256)\u003e\n{\n    'commands': b'\\x10',\n    'inputs': [\n        (\n            \u003cFunction V4_SWAP(bytes,bytes[])\u003e,\n            {\n                'actions': b'\\x06\\x0f\\x0c',\n                'params': [\n                    (\n                        \u003cFunction SWAP_EXACT_IN_SINGLE(((address,address,uint24,int24,address),bool,uint128,uint128,bytes))\u003e,\n                        {\n                            'exact_in_single_params': {\n                                'PoolKey': {\n                                    'currency0': '0x0000000000000000000000000000000000000000',\n                                    'currency1': '0xBf5617af623f1863c4abc900c5bebD5415a694e8',\n                                    'fee': 3000,\n                                    'tickSpacing': 50,\n                                    'hooks': '0x0000000000000000000000000000000000000000'\n                                    \n                                },\n                                'zeroForOne': False,\n                                'amountIn': 100000000000000,\n                                'amountOutMinimum': 798750268136655870501951828,\n                                'hookData': b''\n                                \n                            } \n                        } \n                    ),\n                    (\n                        \u003cFunction TAKE_ALL(address,uint256)\u003e,\n                        {\n                            'currency': '0x0000000000000000000000000000000000000000',\n                            'minAmount': 0 \n                        } \n                    ),\n                    (\n                        \u003cFunction SETTLE_ALL(address,uint256)\u003e,\n                        {\n                            'currency': '0xBf5617af623f1863c4abc900c5bebD5415a694e8',\n                            'maxAmount': 100000000000000 \n                        } \n                    ) \n                ] \n            },\n            {\n                'revert_on_fail': True \n            } \n        ) \n    ],\n    'deadline': 1732612928\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felnaril%2Fgedit-plugin-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felnaril%2Fgedit-plugin-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felnaril%2Fgedit-plugin-collection/lists"}