{"id":16233589,"url":"https://github.com/samelhusseini/blockly-js-decompiler","last_synced_at":"2025-03-19T14:31:34.833Z","repository":{"id":41764588,"uuid":"215896347","full_name":"samelhusseini/blockly-js-decompiler","owner":"samelhusseini","description":"A Javascript to Blockly decompiler","archived":false,"fork":false,"pushed_at":"2023-01-07T10:56:11.000Z","size":3703,"stargazers_count":9,"open_issues_count":34,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T19:21:04.968Z","etag":null,"topics":["blockly","code-to-blocks","decompiler","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samelhusseini.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}},"created_at":"2019-10-17T22:29:39.000Z","updated_at":"2025-01-17T07:15:33.000Z","dependencies_parsed_at":"2023-02-06T23:45:35.536Z","dependency_job_id":null,"html_url":"https://github.com/samelhusseini/blockly-js-decompiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fblockly-js-decompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fblockly-js-decompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fblockly-js-decompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fblockly-js-decompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samelhusseini","download_url":"https://codeload.github.com/samelhusseini/blockly-js-decompiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243997108,"owners_count":20380980,"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":["blockly","code-to-blocks","decompiler","javascript"],"created_at":"2024-10-10T13:13:12.964Z","updated_at":"2025-03-19T14:31:34.526Z","avatar_url":"https://github.com/samelhusseini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blockly-js-decompiler\n\nA Javascript to Blockly decompiler.\n\nNote: This decompiler is not complete, and is intended as a showcase of how to\nuse decompile JavaScript code to Blockly blocks.\n\n## Installation\n\n```bash\nnpm install blockly-js-decompiler\n```\n\n## Usage\n\n```js\nimport decompile from 'blockly-js-decompiler'\n\ndecompile(workspace, code);\n\n```\n\n## How it works\n\nThis decompiler works in two steps. First it uses the TypeScript compiler to\ncreate an AST from the JavaScript code.\nOnce we have an AST, we're able to traverse the AST, creating Blockly blocks\nalong the way.\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamelhusseini%2Fblockly-js-decompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamelhusseini%2Fblockly-js-decompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamelhusseini%2Fblockly-js-decompiler/lists"}