{"id":13772767,"url":"https://github.com/dcdunkan/show-json-bot","last_synced_at":"2025-07-04T19:32:53.939Z","repository":{"id":46195541,"uuid":"412877118","full_name":"dcdunkan/show-json-bot","owner":"dcdunkan","description":"A simple bot to show JSON data of Telegram messages.","archived":false,"fork":false,"pushed_at":"2022-05-09T18:38:19.000Z","size":99,"stargazers_count":24,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T02:47:46.211Z","etag":null,"topics":["grammyjs","show-json","telegram-bot","tg-devtools"],"latest_commit_sha":null,"homepage":"https://telegram.me/jsoonbot","language":"TypeScript","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/dcdunkan.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":"2021-10-02T18:14:48.000Z","updated_at":"2024-10-03T22:22:48.000Z","dependencies_parsed_at":"2022-09-08T10:11:18.865Z","dependency_job_id":null,"html_url":"https://github.com/dcdunkan/show-json-bot","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/dcdunkan%2Fshow-json-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fshow-json-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fshow-json-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fshow-json-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcdunkan","download_url":"https://codeload.github.com/dcdunkan/show-json-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252577003,"owners_count":21770721,"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":["grammyjs","show-json","telegram-bot","tg-devtools"],"created_at":"2024-08-03T17:01:07.622Z","updated_at":"2025-05-05T21:09:29.825Z","avatar_url":"https://github.com/dcdunkan.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Bots"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eShow JSON Bot\u003c/h1\u003e\n\n### Try the running bot here: [Show JSON Bot](https://telegram.me/jsoonbot)\n\nA simple Telegram Bot to show JSON data of Telegram messages. The JSON data is\nthe updates that Telegram sent to the bot. The bot also provides an UI to\nnavigate through the JSON object. The workflow is highly inspired by\n[JSONShowBot](https://telegram.me/JSONShowBot) which is **NOT** working as of\nMay 2, 2022 (Still a nope in Nov, 2024).\n\nRe-written in [TypeScript](https://typescriptlang.org/) and now it runs on\n[Deno](https://deno.land/).\n\n- [Built Using](#built-using)\n- [Setup](#setup) › [Running Locally](#running-locally)\n- [Setup](#setup) › [Deno Deploy](#deno-deploy)\n- [Setup](#setup) › [Environment Variables](#environment-variables)\n\nThis is a re-write. See the old version\n[here](https://github.com/dcdunkan/show-json-bot/tree/node).\n\n## Built Using\n\nThanks to these tools and libraries.\n\n1. [grammY](https://grammy.dev) - The Telegram Bot Framework.\n2. [Deno KV](https://deno.com/kv) - KV Database.\n\n## Setup\n\n### Running Locally\n\nMake sure you have installed [Deno CLI](https://deno.land/).\n\n- Clone the repository.\n  ```bash\n  git clone https://github.com/dcdunkan/show-json-bot.git\n  ```\n- Change directory (`cd`) to the cloned repository.\n- Run the bot using the command below.\n  ```bash\n  DEBUG=1 BOT_TOKEN=\"\u003cyour-token\u003e\" deno -E=BOT_TOKEN,DEBUG -N=api.telegram.org -I mod.ts\n  ```\n\nSee the list of [environment variables](#environment-variables).\n\n**Required permissions**\n\n- `net` - To communicate with Telegram servers and receive updates.\n- `env` - To access environment variables.\n\nIf everything is done correct, you should see \"(Username) started\" in your\nconsole.\n\n### Deno Deploy\n\nThe working bot, [@jsoonbot](https://telegram.me/jsoonbot) is currently deployed\non **[Deno Deploy](https://deno.com/deploy)**.\n\nAfter deploying you will get a link to your application, in the format\n`https://\u003cappname\u003e.deno.dev/`.\n\nOpen a browser and go to the link down below.\n\n- Replace the `\u003cTOKEN\u003e` with your `BOT_TOKEN`.\n- Replace `\u003cAPP_URL\u003e` with the link to your application.\n\n`https://api.telegram.org/bot\u003cTOKEN\u003e/setWebhook?url=\u003cAPP_URL\u003e/\u003cTOKEN\u003e`\n\nThis will set the bot's webhook to the deployed application, so that Telegram\nwill sent further updates to there.\n\n### Environment Variables\n\n| Variable    | Required? | Description                                                                    |\n| ----------- | --------- | ------------------------------------------------------------------------------ |\n| `DEBUG`     | No.       | If not set, the bot would run in the webhook mode. Set to enable long polling. |\n| `BOT_TOKEN` | **Yes.**  | The API token of the Bot. Chat with https://t.me/BotFather to get one.         |\n\n## License\n\nThis application is licensed under the MIT License. See the LICENSE file for\nmore information on copying and distributing this piece of software.\n\n## Contributing\n\nFeel free to contribute! And if you are having issues or if you want suggest\nsomething, please open an issue here:\n[dcdunkan/show-json-bot/issues](https://github.com/dcdunkan/show-json-bot/issues).\nOr, open a [PQ](https://telegram.me/grammyjs/34358)!\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eMade with ❤️ and ☕\u003c/b\u003e\u003cbr\u003e\n  \u003csamp\u003e\n    \u003ca href=\"https://t.me/dcbots\"\u003echannel\u003c/a\u003e ~\n    \u003ca href=\"https://t.me/jsoonbot\"\u003epublic instance bot\u003c/a\u003e\n  \u003c/samp\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdunkan%2Fshow-json-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcdunkan%2Fshow-json-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdunkan%2Fshow-json-bot/lists"}