{"id":13593801,"url":"https://github.com/lukehorvat/github-ast-viewer","last_synced_at":"2025-04-09T05:32:15.915Z","repository":{"id":31040749,"uuid":"34599380","full_name":"lukehorvat/github-ast-viewer","owner":"lukehorvat","description":"Chrome extension to view the abstract syntax tree (AST) of code on GitHub.","archived":true,"fork":false,"pushed_at":"2024-03-06T21:49:37.000Z","size":50,"stargazers_count":73,"open_issues_count":2,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-06T15:46:19.469Z","etag":null,"topics":["abstract-syntax-tree","ast","chrome-extension","github"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/github-ast-viewer/kgncjlmmhhmhbiiacajdmpnhplahelkh","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/lukehorvat.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":"2015-04-26T05:34:26.000Z","updated_at":"2024-03-06T21:52:12.000Z","dependencies_parsed_at":"2024-11-06T15:40:11.272Z","dependency_job_id":null,"html_url":"https://github.com/lukehorvat/github-ast-viewer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fgithub-ast-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fgithub-ast-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fgithub-ast-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fgithub-ast-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukehorvat","download_url":"https://codeload.github.com/lukehorvat/github-ast-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247986921,"owners_count":21028890,"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":["abstract-syntax-tree","ast","chrome-extension","github"],"created_at":"2024-08-01T16:01:24.727Z","updated_at":"2025-04-09T05:32:15.625Z","avatar_url":"https://github.com/lukehorvat.png","language":"JavaScript","readme":"# GitHub AST Viewer [![Version](https://img.shields.io/github/release/lukehorvat/github-ast-viewer.svg?style=flat-square)](https://github.com/lukehorvat/github-ast-viewer/releases)\n\nGoogle Chrome extension for viewing the abstract syntax tree (AST) of code on GitHub.\n\nCurrently only JavaScript code is supported, but more language support to come in the future!\n\n## Installation\n\nInstall the extension from the Google Chrome Web Store:\n\nhttps://chrome.google.com/webstore/detail/github-ast-viewer/kgncjlmmhhmhbiiacajdmpnhplahelkh\n\n## Usage\n\nThe extension adds an **AST** button to the GitHub page of any file in a repository. Clicking it will display the abstract syntax tree representation of the code. Demonstration:\n\n![Screenshot](http://i.imgur.com/jumGRMd.gif)\n\n## Contributing\n\nAll contributions are welcome.\n\nAfter cloning the repository using Git, execute `npm install` to fetch the dependencies, and `npm start` to auto-build the extension while you work. Once you've committed your changes, just open a pull request on GitHub.\n\nIn particular, a few things I'd like help with:\n\n- Adding support for more programming languages. This isn't easy, because all parsing has to be done in the web browser via JavaScript, which drastically reduces our choice of parsers. So if you know of any robust JavaScript-based parsers for other languages (that are as good as [Esprima](https://github.com/jquery/esprima)), let me know.\n- Implementing handling of GitHub Gists.\n- Investigating feasibility of AST *editing* via the GitHub interface. [Woah](http://i.imgur.com/dOr884t.gif).\n\n## Disclaimer\n\nThe extension is not officially affiliated with GitHub in any way. Use at own risk.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehorvat%2Fgithub-ast-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukehorvat%2Fgithub-ast-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehorvat%2Fgithub-ast-viewer/lists"}