{"id":16444181,"url":"https://github.com/douglascdev/monkebot","last_synced_at":"2025-03-23T08:32:07.136Z","repository":{"id":255069097,"uuid":"848442987","full_name":"douglascdev/monkebot","owner":"douglascdev","description":"Prototype twitch bot made in Go","archived":false,"fork":false,"pushed_at":"2024-11-05T18:25:44.000Z","size":146,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T19:28:41.501Z","etag":null,"topics":["bot","buttsbot","contributions-welcome","go","golang","good-first-issue","good-first-pr","twitch"],"latest_commit_sha":null,"homepage":"https://douglascdev.github.io/monkebot/","language":"Go","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/douglascdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-08-27T19:10:16.000Z","updated_at":"2024-12-06T10:50:48.000Z","dependencies_parsed_at":"2024-08-27T21:22:08.633Z","dependency_job_id":"52d57024-774b-4029-bb48-d13b746b8ce1","html_url":"https://github.com/douglascdev/monkebot","commit_stats":null,"previous_names":["douglascdev/monkebot"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fmonkebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fmonkebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fmonkebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fmonkebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douglascdev","download_url":"https://codeload.github.com/douglascdev/monkebot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245078067,"owners_count":20557274,"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","buttsbot","contributions-welcome","go","golang","good-first-issue","good-first-pr","twitch"],"created_at":"2024-10-11T09:23:32.516Z","updated_at":"2025-03-23T08:32:06.742Z","avatar_url":"https://github.com/douglascdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monkebot\n\nmonkebot is a prototype twitch bot made in Go. Type `\\join` in the [bot's channel](https://www.twitch.tv/hashtablebot/chat) to join it to your chat.\n\n## Commands\n\nCheck out [this link](https://douglascdev.github.io/monkebot)\n\n## Contributing\n\nFork the repository on github:\n\n![image](https://github.com/user-attachments/assets/dcee4b6b-45f8-4458-ac4b-6962c9eea181)\n\nClone your fork using `git` and create a new branch for your changes:\n```bash\ngit clone https://github.com/\u003cyour username\u003e/monkebot\ncd monkebot\ngit checkout -b my-improvement-on-x-y-z\n```\nCheck the next section for instructions on how to test the bot locally.\n\nAfter making your changes, commit and push them:\n```\ngit add changed-file.go\ngit commit -m \"Changed x, improved z\"\ngit push origin my-improvement-on-x-y-z\n```\nThen make a [pull request](https://github.com/douglascdev/monkebot/pulls).\n\n## Running an instance\nRequires:\n  - [Go](https://go.dev/dl/)\n  - [Git](https://git-scm.com/downloads)\n\nThe bot takes arguments using CLI arguments, either using `go run main.go` to run straigth from source code or the binary in the [releases section](https://github.com/douglascdev/monkebot/releases) with `./monkebot-linux` (on linux, remember to `chmod +x monkebot-linux` first).\n### Token\nYou may use a website like [twitch token generator](https://twitchtokengenerator.com/) to get a token for your bot. You'll also need a client id by creating an application in the [twitch dev console](https://dev.twitch.tv/console). These will be placed in the bot's config file as specified in the following section.\n### Config\nThe bot loads configurations from a json file. A template is created for you if the config file you specify doesn't exist yet:\n```bash\n➜  monkebot git:(main) go run main.go -cfg config.json\n2024-10-01 10:00:23 WRN config file does not exist, creating from template path=config.json\n2024-10-01 10:00:23 INF template created successfully, please edit the file and run the bot again path=config.json\n```\nAfter that, edit the config file using a text editor and add your settings, then run it again. If a valid config file was provided, the bot will run and an sqlite3 file will be created in the path specified in the config file containing the database:\n```bash\n➜  monkebot git:(main) go run main.go -cfg config.json\n2024-10-01 10:01:36 INF connected to Twitch login=hashtablebot\n2024-10-01 10:01:36 INF successfully joined saved channels channels=[\"hash_table\"]\n2024-10-01 10:01:36 INF joined channel channel=hash_table\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglascdev%2Fmonkebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouglascdev%2Fmonkebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglascdev%2Fmonkebot/lists"}