{"id":37184223,"url":"https://github.com/ugjka/kline","last_synced_at":"2026-01-14T21:17:11.996Z","repository":{"id":270761305,"uuid":"911374214","full_name":"ugjka/kline","owner":"ugjka","description":"Kline, a botnet for spamming #libera-newyears with ascii art","archived":false,"fork":false,"pushed_at":"2026-01-04T14:53:26.000Z","size":496,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T09:30:43.784Z","etag":null,"topics":["bot","irc","libera","nye"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ugjka.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":"2025-01-02T21:37:57.000Z","updated_at":"2026-01-04T14:53:30.000Z","dependencies_parsed_at":"2025-05-19T17:25:06.047Z","dependency_job_id":"aaac0bb0-8c0d-4b78-b11a-01d4bc3e0b98","html_url":"https://github.com/ugjka/kline","commit_stats":null,"previous_names":["ugjka/kline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ugjka/kline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugjka%2Fkline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugjka%2Fkline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugjka%2Fkline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugjka%2Fkline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ugjka","download_url":"https://codeload.github.com/ugjka/kline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugjka%2Fkline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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","irc","libera","nye"],"created_at":"2026-01-14T21:17:11.090Z","updated_at":"2026-01-14T21:17:11.979Z","avatar_url":"https://github.com/ugjka.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# //////////////////////////////////////////////////////////////\n\n## MAIN.GO\n\n```go\n// ██╗  ██╗██╗     ██╗███╗   ██╗███████╗    ██████╗  ██████╗ ██████╗  ██████╗\n// ██║ ██╔╝██║     ██║████╗  ██║██╔════╝    ╚════██╗██╔═████╗╚════██╗██╔════╝\n// █████╔╝ ██║     ██║██╔██╗ ██║█████╗       █████╔╝██║██╔██║ █████╔╝███████╗\n// ██╔═██╗ ██║     ██║██║╚██╗██║██╔══╝      ██╔═══╝ ████╔╝██║██╔═══╝ ██╔═══██╗\n// ██║  ██╗███████╗██║██║ ╚████║███████╗    ███████╗╚██████╔╝███████╗╚██████╔╝\n// ╚═╝  ╚═╝╚══════╝╚═╝╚═╝  ╚═══╝╚══════╝    ╚══════╝ ╚═════╝ ╚══════╝ ╚═════╝\npackage main\n\nimport (\n\t\"bufio\"\n\t\"bytes\"\n\t\"crypto/tls\"\n\t\"fmt\"\n\t\"net\"\n\t\"os\"\n\t\"slices\"\n\t\"strings\"\n\t\"sync\"\n\t\"sync/atomic\"\n\t\"time\"\n\t\"unicode/utf8\"\n\n\t\"github.com/gogs/chardet\"\n\tkitty \"github.com/ugjka/kittybot\"\n\t\"golang.org/x/text/encoding/ianaindex\"\n\tlog \"gopkg.in/inconshreveable/log15.v2\"\n)\n\n// Welcome to Kline, a botnet for spamming #libera-newyears\n//\n// kline commands as read from stdin:\n// kline command \"p art/asciiexample.txt\" posts spam to partychan\n// kline command \"t art/asciiexample.txt\" posts spam to testchan\n// kline command \"d milliseconds\" sets  delay between messages\n// kline command \"a\" aborts any current spamming\n// kline command \"l\" lagtests the irc servers\n//\n// kline configuration below via constants\n\n// bind kline to alternative address\n// you probably don't want to run kline on your main ip address\n// ipv6 for the win, also kline\n//\n// Examples:\n// const BINDHOST = \"2a01:4f7:c010:97e4::beec\"\n// const BINDHOST = \"2a03:eb00:b9b3:11d3:2b83:9910:222f:1603\"\nconst BINDHOST = \"\"\n\n// set this to true when #libera-newyears is open for kliners\nconst PARTYCHANOPEN = false\n\n// the official nye party chan on libera\n// change at your own risk\nconst PARTYCHAN = \"#libera-newyears\"\n\n// test channel\n// make sure to voice the bots on the test chan\n// otherwise you'll get K-Lined\nconst TESTCHAN = \"\"\n\n// only spam in the test chan\n// when all bots are voiced\n// this guards against K-line\nconst TESTCHANGUARD = true\n\n// kline nicks will start with this and end with some number\n// don't forget to set this, ok?\nconst BOTNICKNAMEBASE = \"\"\n\n// default kline message interval in ms\nconst DEFAULTDELAY = 100\n\n// for shorter kline irc prefixes\n// run fake ident server\n// port 113 needs to be open and\n// kline needs to be run as root\n// or set bind cap on the binary as below:\n// \"sudo setcap 'cap_net_bind_service=ep' kline\"\n// turns off when all nicks served\nconst FAKEIDENTSERVER = false\n\n// double the kline\nconst DOUBLEKLINE = false\n\nfunc main() {\n\t//------------------------//\n\t// sewvews:\n\t// thewe awe mowe of these\n\t// these awe eu s-specific\n\t// dunnyo about the *boops your nose* usa fwiends\n\t// if you detect :3 some lag\n\t// you can try commenting them out\n\t// awso you can go on wibewa\n\t// and whois wandom peopwe to find mowe\n\tservers := []string{\n\t\t\"zirconium.libera.chat\", // Milano, IT\n\t\t\"lead.libera.chat\",      // Budapest, HU\n\t\t\"tungsten.libera.chat\",  // Umea, SE\n\t\t\"platinum.libera.chat\",  // Stockholm, SE\n\t\t\"iridium.libera.chat\",   // Stockholm, SE\n\t\t\"erbium.libera.chat\",    // Frankfurt, DE\n\t\t\"osmium.libera.chat\",    // Umea, SE\n\t\t\"zinc.libera.chat\",      // Espoo, FI\n\t\t\"mercury.libera.chat\",   // London, UK\n\t\t//\"lithium.libera.chat\", // Your, Shrink\n\t}\n\n```\n\n# //////////////////////////////////////////////////////////////\n\n## LICENSE FOR THE CODE\n\nCopyright © 2025 UGIS GERMANIS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## LICENSE FOR THE ART FOLDER\n\nINCLUDED AS AN EXAMPLE/STARTER PACK, IS POSSIBLY NOT LICENSED, POSSIBLY COPYRIGHTED, BEWARE: YOU MAY GET SUED BIG TIME\n\n## CONFIGURING\n\nYOU SEE YOU CAN EDIT THOSE CONSTANTS\n\n## BUILDING\n\nASK CHATGPT HOW TO RUN GO CODE (HINT: YOU NEED THE LATEST GO VERSION)\n\n## EXTRAS\n\n[ans2irc](https://github.com/ugjka/kline/tree/main/utils/ans2irc) converter\n\n## CREDITS\n\nMUCH THANKS TO LIBERA HACKERS WHO EXPLAINED HOW THIS WORKS!\n\n# //////////////////////////////////////////////////////////////\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugjka%2Fkline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fugjka%2Fkline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugjka%2Fkline/lists"}