{"id":37026215,"url":"https://github.com/nolequen/icq-bot-core","last_synced_at":"2026-01-14T03:02:41.029Z","repository":{"id":57743073,"uuid":"162179912","full_name":"nolequen/icq-bot-core","owner":"nolequen","description":"Kotlin core interface to ICQ Bot API","archived":false,"fork":false,"pushed_at":"2019-06-09T10:20:16.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-07-07T14:40:46.504Z","etag":null,"topics":["api","bot","icq","instant-messaging","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/nolequen.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":"2018-12-17T19:29:30.000Z","updated_at":"2023-07-07T14:40:46.505Z","dependencies_parsed_at":"2022-09-11T16:33:14.025Z","dependency_job_id":null,"html_url":"https://github.com/nolequen/icq-bot-core","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/nolequen/icq-bot-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nolequen%2Ficq-bot-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nolequen%2Ficq-bot-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nolequen%2Ficq-bot-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nolequen%2Ficq-bot-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nolequen","download_url":"https://codeload.github.com/nolequen/icq-bot-core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nolequen%2Ficq-bot-core/sbom","scorecard":{"id":693483,"data":{"date":"2025-08-11","repo":{"name":"github.com/nolequen/icq-bot-core","commit":"9cedccc0ababdb8a5b4ff80c92f79255f8831781"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T02:54:48.009Z","repository_id":57743073,"created_at":"2025-08-22T02:54:48.009Z","updated_at":"2025-08-22T02:54:48.009Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","bot","icq","instant-messaging","kotlin"],"created_at":"2026-01-14T03:02:40.495Z","updated_at":"2026-01-14T03:02:41.013Z","avatar_url":"https://github.com/nolequen.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ICQ Bot Core                                                                                                 \n[![Maven Central](https://img.shields.io/maven-central/v/su.nlq/icq-bot-core.svg)](https://maven-badges.herokuapp.com/maven-central/su.nlq/icq-bot-core)\n[![Build Status](https://travis-ci.org/nolequen/icq-bot-core.svg?branch=master)](https://travis-ci.org/nolequen/icq-bot-core)\n[![Codecov](https://codecov.io/gh/nolequen/icq-bot-core/branch/master/graph/badge.svg)](https://codecov.io/gh/nolequen/icq-bot-core)\n[![Codebeat](https://codebeat.co/badges/22ab4de3-4f09-44ab-9219-d9e044f58a21)](https://codebeat.co/a/nolequen/projects/github-com-nolequen-icq-bot-core-master)\n\nEasy interface to ICQ Bot API powered by Kotlin.\n\n## Getting started\n\n* Create your own bot by sending the `/newbot` command to [MegaBot](https://icq.com/people/70001) and follow the instructions\n* Note a bot can only reply after the user has added it contact list, or if the user was the first to start a conversation\n\n## Usage\n\nYou can find latest release on Maven Central:\n\n* Maven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003esu.nlq\u003c/groupId\u003e\n  \u003cartifactId\u003eicq-bot-core\u003c/artifactId\u003e\n  \u003cversion\u003e1.2.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n* Gradle:\n```kotlin\ncompile(\"su.nlq:icq-bot-core:1.2.1\")\n```\n\n## How-To\n\nThe only thing you should know to create a new bot is token:\n```kotlin\nval bot = Bot(\"001.1234567890.1234567890:123456789\")\n```\n\n### Contacts and messages\n\nTo be able to send a message you should create a conversation (no matter is it chat or dialogue):\n```kotlin\nval penpal = PenPal(\"42\")\nval conversation = bot.conversation(penpal)   \n// not neccessary but looks nice to set typing status\nconversation.typing()\nconversation.message(\"Hi, how are you?\")\n```\nIt is possible to operate the contact list, for example:\n```kotlin\nbot.contacts().all().onSuccess { buddies -\u003e\n  buddies.find { it.name == \"Adolf\" }?.apply { remove() }\n}\n```\n\n### Chats\n\nTo get any chat information you want is neccessary to create a chat instance:\n```kotlin\nval chat = bot.chat(\"123456789@chat.agent\")\nchat.description().onSuccess {\n  println(\"Chat \\\"${it.name}\\\" was created ${it.created} by ${it.creator}\")\n}\n```\nThere are various actions you can do with chat members or history, e.g.:\n```kotlin\nchat.invite(listOf(PenPal(\"42\")))\n\nchat.members().onSuccess { members -\u003e members.forEach { it.block() } }\n\nchat.history(0, 10).onSuccess { history -\u003e\n  history.messages.forEach { println(\"${it.id}: $it\") }\n  val message = history.messages[0]\n  if (message is Chat.Text) {\n    message.pin()\n  }\n}\n```\n\n### Files\n\nIt is possible to get the file info, upload or download the file:\n```kotlin\nval files = bot.files()\n\nfiles.upload(File(\"myfile.txt\")).map { URL(it) }.onSuccess { url -\u003e\n  files.download(url)\n    .map { it.toInputStream() }\n    .onSuccess { stream -\u003e\n      println(stream.use { String(it.readAllBytes()) })\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnolequen%2Ficq-bot-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnolequen%2Ficq-bot-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnolequen%2Ficq-bot-core/lists"}