{"id":27344716,"url":"https://github.com/jellyfith/chat-bot-api","last_synced_at":"2025-04-12T17:26:35.306Z","repository":{"id":42568789,"uuid":"434321293","full_name":"jellyfith/chat-bot-api","owner":"jellyfith","description":"A simple chat bot API template using express with typescript.","archived":false,"fork":false,"pushed_at":"2024-09-13T00:31:29.000Z","size":268,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T05:34:51.848Z","etag":null,"topics":["api","eslint","express","nightbot","streamlabs","template","typescript","wizebot"],"latest_commit_sha":null,"homepage":"","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/jellyfith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"bo-carey","custom":"https://account.venmo.com/u/bocarey"}},"created_at":"2021-12-02T17:53:21.000Z","updated_at":"2023-12-23T11:37:44.000Z","dependencies_parsed_at":"2025-01-06T19:39:34.649Z","dependency_job_id":"85094816-b54c-4240-9a23-f72cc194f548","html_url":"https://github.com/jellyfith/chat-bot-api","commit_stats":null,"previous_names":["jellyfith/chat-bot-api"],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellyfith%2Fchat-bot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellyfith%2Fchat-bot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellyfith%2Fchat-bot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellyfith%2Fchat-bot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jellyfith","download_url":"https://codeload.github.com/jellyfith/chat-bot-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248603685,"owners_count":21131841,"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":["api","eslint","express","nightbot","streamlabs","template","typescript","wizebot"],"created_at":"2025-04-12T17:26:34.711Z","updated_at":"2025-04-12T17:26:35.300Z","avatar_url":"https://github.com/jellyfith.png","language":"TypeScript","funding_links":["https://github.com/sponsors/bo-carey","https://account.venmo.com/u/bocarey"],"categories":[],"sub_categories":[],"readme":"## Chat Bot API Template\n### A simple chat bot API template using express with typescript.\n---\n### About\nThis template comes with: \n* Basic eslint configuration\n* Typescript support\n* An example request/response API route using express\n\nTo use the recommended settings for VS Code, copy the contents of .vscode/settings.suggested.json to a new file .vscode/settings.json or simply run the following script in the command line:\n```\ncp .vscode/settings.suggested.json .vscode/settings.json\n``` \n##### _To make eslint format code automatically on save, the VS Code extension will need to be installed._\n---\n### How to use this API with a twitch bot\n1. Deploy this bot to a hosting service (heroku is generally recommended)\n2. Make sure your bot is reachable  \n  a. [Postman](https://www.postman.com) is a great tool for this  \n  b. Your API should be as easy as a GET request to an endpoint - `https://your-hosted-api.example.com/id` etc.\n3. Using your chosen twitch chat bot API, you can add a command like this:\n\n| Bot       | Command                                                           |\n|:--------- |:----------------------------------------------------------------- |\n| Nightbot  | !addcom !id $(urlfetch https://your-hosted-api.example.com/id)    |\n| WizeBot   | !cmd add !id $urlcall(https://your-hosted-api.example.com/id)     |\n| SteamLabs | !command add !id $readapi(https://your-hosted-api.example.com/id) |\n##### _Examples for adding commands to twitch bots_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellyfith%2Fchat-bot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjellyfith%2Fchat-bot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellyfith%2Fchat-bot-api/lists"}