{"id":22061702,"url":"https://github.com/floofies/babbler","last_synced_at":"2026-05-13T07:10:07.383Z","repository":{"id":135350301,"uuid":"168653931","full_name":"Floofies/babbler","owner":"Floofies","description":"A Telegram bot which converts JavaScript into an AST using Babel.","archived":false,"fork":false,"pushed_at":"2019-02-17T13:12:38.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T23:28:36.891Z","etag":null,"topics":["abstract-syntax-tree","babel","chatbot","javascript","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"tg://resolve?domain=babblerjsbot","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/Floofies.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":"2019-02-01T06:38:45.000Z","updated_at":"2024-01-25T13:59:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecd54776-d4c2-418d-9de6-b9479f9d1352","html_url":"https://github.com/Floofies/babbler","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/Floofies%2Fbabbler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floofies%2Fbabbler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floofies%2Fbabbler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floofies%2Fbabbler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Floofies","download_url":"https://codeload.github.com/Floofies/babbler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245139172,"owners_count":20567118,"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","babel","chatbot","javascript","telegram-bot","telegram-bot-api"],"created_at":"2024-11-30T18:14:07.797Z","updated_at":"2026-05-13T07:10:02.352Z","avatar_url":"https://github.com/Floofies.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babbler\nA Telegram bot which converts JavaScript into an Abstract Syntax Tree using Babel.\n\nTo use the bot, just send JavaScript source code directly to it or use one of the below commands.\n\n## Commands\n\n- `/parse \u003ccode\u003e` - Parses source code into a `Program` AST node. Sending source code\n- `/single \u003ccode\u003e` - Parses a single atom of source code. (One expression, statement, etc...)\n- `/help` - Shows a list of commands.\n\n## `/parse` Command Usage or Direct Message\n\nOne of these messages is sent to the bot:\n```JavaScript\nconsole.log(\"Hello World!\");\n```\n*(or)*\n```\n/parse console.log(\"Hello World!\");\n```\n\nThis message is recieved from the bot:\n```JSON\n{\n\t\"type\": \"Program\",\n\t\"sourceType\": \"module\",\n\t\"body\": [\n\t\t{\n\t\t\t\"type\": \"ExpressionStatement\",\n\t\t\t\"expression\": {\n\t\t\t\t\"type\": \"CallExpression\",\n\t\t\t\t\"callee\": {\n\t\t\t\t\t\"type\": \"MemberExpression\",\n\t\t\t\t\t\"object\": {\n\t\t\t\t\t\t\"type\": \"Identifier\",\n\t\t\t\t\t\t\"name\": \"console\"\n\t\t\t\t\t},\n\t\t\t\t\t\"property\": {\n\t\t\t\t\t\t\"type\": \"Identifier\",\n\t\t\t\t\t\t\"name\": \"log\"\n\t\t\t\t\t},\n\t\t\t\t\t\"computed\": false\n\t\t\t\t},\n\t\t\t\t\"arguments\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"type\": \"StringLiteral\",\n\t\t\t\t\t\t\"extra\": {\n\t\t\t\t\t\t\t\"rawValue\": \"Hello World!\",\n\t\t\t\t\t\t\t\"raw\": \"\\\"Hello World!\\\"\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"value\": \"Hello World!\"\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t],\n\t\"directives\": []\n}\n```\n\n## 2: `/single` Command Usage\n\nThis message is sent directly to the bot:\n```/single hello```\n\nThis message is recieved from bot:\n```JSON\n{\n\t\"type\": \"ExpressionStatement\",\n\t\"expression\": {\n\t\t\"type\": \"Identifier\",\n\t\t\"name\": \"hello\"\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloofies%2Fbabbler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloofies%2Fbabbler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloofies%2Fbabbler/lists"}