{"id":13758366,"url":"https://github.com/sunspots/tmi","last_synced_at":"2025-05-10T08:30:22.858Z","repository":{"id":29753863,"uuid":"33297509","full_name":"sunspots/tmi","owner":"sunspots","description":"Go library for Twitch chat IRC/TMI (Twitch Message Interface)","archived":false,"fork":false,"pushed_at":"2019-03-06T18:01:00.000Z","size":44,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-16T15:37:37.285Z","etag":null,"topics":["bot","chat","go","irc","irc-client","tmi","twitch"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tc39/tc39-notes","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunspots.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":"2015-04-02T08:15:48.000Z","updated_at":"2023-07-15T12:27:09.000Z","dependencies_parsed_at":"2022-09-07T02:10:37.795Z","dependency_job_id":null,"html_url":"https://github.com/sunspots/tmi","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/sunspots%2Ftmi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunspots%2Ftmi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunspots%2Ftmi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunspots%2Ftmi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunspots","download_url":"https://codeload.github.com/sunspots/tmi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389373,"owners_count":21900749,"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":["bot","chat","go","irc","irc-client","tmi","twitch"],"created_at":"2024-08-03T13:00:28.570Z","updated_at":"2025-05-10T08:30:22.452Z","avatar_url":"https://github.com/sunspots.png","language":"Go","funding_links":[],"categories":["Libraries"],"sub_categories":["Golang"],"readme":"tmi\n--------\n\nA simple library to interface with Twitch's IRC, TMI  \nThe library is intended to be used as a base for bots, clients, web-relays, overlays, statistics etc.\nIt's designed for a mostly hands-free experience, so on top of basic IRC functionality, the parsing handles action(/me) messages, IRCv3 tags, connection timeout, automatic ping/pong etc.\n\nTHIS IS BARELY PRODUCTION TESTED! USE WITH CARE!\n\nThe library doesn't explicitly handle commands (it's all passed as strings),\nand it doesn't implement any events. Instead it is built on a blocking (buffered) function call, which returns an event or an error. This way you can add on any event system you really want (I have previously used [emission](https://github.com/chuckpreslar/emission) since it's close to the patterns I'm used to), or just chuck it into a loop.\n\nThe current version is heavily influenced by [irc-event](https://github.com/thoj/go-ircevent) and it's forks. I will be refactoring and rewriting a lot of it since I'm not entirely convinced with the approach, but it's what I needed to make it work for now.\n\nIf you have issues, ideas, feature requests etc. Feel free to open an issue, or send a pull request!\n\n## Installation\n\nWith Google's [Go](http://www.golang.org) installed on your machine:\n\n    $ go get github.com/sunspots/tmi\n\n## Usage\nSee examples\n\n## Documentation\n\nView godocs\n\n    $ godoc github.com/sunspots/tmi\n\n## Future wants\n- Better handling of errors on the different loops,\ncleaner approach to the whole looping insides.\n- Lots of other stuff.\n- Structure middleware usage.\n\n## License\n\n\u003e The MIT License (MIT)\n\n\u003e Copyright (c) 2017 Sunspots\n\n\u003e Permission is hereby granted, free of charge, to any person obtaining a copy\n\u003e of this software and associated documentation files (the \"Software\"), to deal\n\u003e in the Software without restriction, including without limitation the rights\n\u003e to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\u003e copies of the Software, and to permit persons to whom the Software is\n\u003e furnished to do so, subject to the following conditions:\n\n\u003e The above copyright notice and this permission notice shall be included in\n\u003e all copies or substantial portions of the Software.\n\n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\u003e IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\u003e FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\u003e AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\u003e LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\u003e OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\u003e THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunspots%2Ftmi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunspots%2Ftmi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunspots%2Ftmi/lists"}