{"id":34117651,"url":"https://github.com/n0h4rt/chadango","last_synced_at":"2026-03-12T05:34:09.194Z","repository":{"id":181447733,"uuid":"666792806","full_name":"n0h4rt/chadango","owner":"n0h4rt","description":"Modern Chatango Bot Framework written in Go","archived":false,"fork":false,"pushed_at":"2025-12-15T17:13:19.000Z","size":180,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T05:30:15.871Z","etag":null,"topics":["bot","bot-framework","chadango","chatango","chatango-bot"],"latest_commit_sha":null,"homepage":"","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/n0h4rt.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-15T15:38:37.000Z","updated_at":"2025-09-17T14:33:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ce652d4-2ff2-4d46-90d4-6df0edf9b96c","html_url":"https://github.com/n0h4rt/chadango","commit_stats":null,"previous_names":["n0h4rt/chadango"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/n0h4rt/chadango","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0h4rt%2Fchadango","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0h4rt%2Fchadango/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0h4rt%2Fchadango/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0h4rt%2Fchadango/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n0h4rt","download_url":"https://codeload.github.com/n0h4rt/chadango/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0h4rt%2Fchadango/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30416310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T04:41:02.746Z","status":"ssl_error","status_checked_at":"2026-03-12T04:40:12.571Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","bot-framework","chadango","chatango","chatango-bot"],"created_at":"2025-12-14T20:35:51.274Z","updated_at":"2026-03-12T05:34:09.189Z","avatar_url":"https://github.com/n0h4rt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chadango\nChadango is a Go library for interacting with Chatango, a platform for creating and managing chat rooms. It provides functionalities to work with Chatango APIs, handle WebSocket connections, and perform various operations related to chat rooms and user profiles.\n\n## Table of Contents\n- [Introduction](#introduction)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\nWelcome to Chadango!\n\nChadango is a powerful and flexible chatbot framework inspired by the combination of Chatango and Dango. Just like the delightful combination of flavors in Dango, Chadango aims to bring together the best of both worlds, offering a robust chatbot solution with a touch of whimsy.\n\n## Features\nThese are some of the features, but not limited to:\n1. Each event is handled by its own goroutine.\n2. Lightweight.\n3. Some features are wrapped into solicited style (e.g., getting user list, online statuses, etc.).\n4. Extensible.\n\n## Installation\nTo run the example file, please follow the steps below:\n\n### Prerequisites\nGo 1.20 or higher should be installed on your system. You can download it from the official Go website: [https://golang.org/dl/](https://golang.org/dl/)\n\n### Download the Example File\nDownload the example file minimal.go from the examples folder of this repository: [minimal.go](https://raw.githubusercontent.com/n0h4rt/chadango/master/examples/minimal/minimal.go)\n\n### Install Required Packages\nNavigate to the directory where you downloaded the example file and run the following command to install the required packages:\n\n```shell\ngo mod init minimal\ngo get -u github.com/n0h4rt/chadango\ngo mod tidy\n```\n\n### Run the Example\nOnce the required packages are installed, execute the example file using the go run command:\n\n```shell\ngo run minimal.go\n```\n\nThis will execute the example code and display the output in the console.\nMake sure you are in the correct directory where the `minimal.go` file is located.\nFeel free to modify the example file according to your needs and explore the functionality provided by the packages you installed.\nThat's it! You have successfully installed the necessary packages and executed the example file.\n\n## Usage\nThis is a simple usage.\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\tdango \"github.com/n0h4rt/chadango\"\n)\n\nfunc main() {\n\tconfig := \u0026dango.Config{\n\t\tUsername: \"username\", // Change this\n\t\tPassword: \"password\", // Change this\n\t\tPrefix:   \".\",\n\t\tEnableBG: true,\n\t\tEnablePM: true,\n\t\tGroups:   []string{\"groupchat1\", \"groupchat2\"}, // Change this\n\t}\n\n\tapp := dango.New(config)\n\n\techoHandler := dango.NewCommandHandler(OnEcho, nil, \"echo\", \"say\")\n\n\tapp.AddHandler(echoHandler)\n\n\tapp.Initialize()\n\n\tctx := context.Background()\n\tapp.Start(ctx)\n\n\t// The `app.Park()` call is blocking, use CTRL + C to stop the application.\n\t// Use this if it is the top layer application.\n\tapp.Park()\n}\n\n// OnEcho prints the command to the console and sends the argument as a reply.\nfunc OnEcho(event *dango.Event, context *dango.Context) {\n\tvar msg *dango.Message\n\tvar err error\n\n\tif event.WithArgument {\n\t\tmsg, err = event.Message.Reply(event.Argument)\n\t} else {\n\t\tmsg, err = event.Message.Reply(`How to use \".echo Hello World!\"`)\n\t}\n\n\tif err != nil {\n\t\tfmt.Printf(\"OnEcho: an error occurred when sending a reply (%s)\\n\", err)\n\t}\n\tif msg != nil {\n\t\tfmt.Printf(\"OnEcho: replied with: %s\\n\", msg.Text)\n\t}\n}\n```\n\n## Dependencies\nThe Chadango library has the following dependencies:\n- [github.com/rs/zerolog](https://github.com/rs/zerolog): Zero Allocation JSON Logger.\n- [github.com/stretchr/testify](https://github.com/stretchr/testify): A toolkit with common assertions and mocks that plays nicely with the standard library.\n\n## Contributing\nContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the Chadango GitHub repository.\n\n## License\nChadango is licensed under the [MIT License](https://opensource.org/license/mit/).\n\n## Contact\nYou can find me in [khususme](https://khususme.chatango.com), available from 21:00 to 23:00 UTC-7. Feel free to reach out if you have any questions, suggestions, or just want to chat about Chadango!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0h4rt%2Fchadango","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn0h4rt%2Fchadango","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0h4rt%2Fchadango/lists"}