{"id":20239838,"url":"https://github.com/rockorager/comlink","last_synced_at":"2025-09-18T08:59:08.037Z","repository":{"id":241987780,"uuid":"808389869","full_name":"rockorager/comlink","owner":"rockorager","description":"An experimental IRC client","archived":false,"fork":false,"pushed_at":"2025-05-03T01:43:32.000Z","size":2190,"stargazers_count":53,"open_issues_count":11,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-03T02:54:12.928Z","etag":null,"topics":["irc","irc-client","zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/rockorager.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}},"created_at":"2024-05-31T01:17:58.000Z","updated_at":"2025-05-03T01:43:36.000Z","dependencies_parsed_at":"2024-06-13T00:44:21.115Z","dependency_job_id":"b62411ee-1bad-411e-a0d0-0b961edf9b95","html_url":"https://github.com/rockorager/comlink","commit_stats":null,"previous_names":["rockorager/comlink"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rockorager/comlink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockorager%2Fcomlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockorager%2Fcomlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockorager%2Fcomlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockorager%2Fcomlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rockorager","download_url":"https://codeload.github.com/rockorager/comlink/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rockorager%2Fcomlink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275739624,"owners_count":25519602,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"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":["irc","irc-client","zig","zig-package"],"created_at":"2024-11-14T08:41:30.586Z","updated_at":"2025-09-18T08:59:08.029Z","avatar_url":"https://github.com/rockorager.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# comlink\n\nAn experimental IRC client written in zig. Join the discussion in #comlink on\nlibera.chat.\n\n![screenshot of comlink](screenshot.png)\n\n## Installation\n\n### Arch Linux\n\n[comlink](https://aur.archlinux.org/packages/comlink) is available as a package in the AUR. It can be installed using an AUR helper (e.g. paru).\n\n```sh\nparu -S comlink\n```\n\n### Zig Build System\n\n`comlink` is written in zig and can be installed using the zig build system,\nversion 0.14.0.\n\n```sh\ngit clone https://github.com/rockorager/comlink\ncd comlink\nzig build -Doptimize=ReleaseSafe --prefix ~/.local\n```\n\n## Configuration\n\nConfiguration is loaded from `$HOME/.config/comlink/init.lua`\n\nWorks best with `soju`. [irctoday](https://irctoday.com) runs a paid instance of `soju`, and\nanother paid alternative is [pico.sh](https://pico.sh/irc)\n\n```lua\nlocal comlink = require(\"comlink\")\n\nlocal config = {\n\tserver = \"chat.sr.ht\",\n\tuser = \"rockorager\",\n\tnick = \"rockorager\",\n\tpassword = \"password\",\n\treal_name = \"Tim Culverhouse\",\n\ttls = true,\n}\n\n-- Pass the server config to connect. Connect to as many servers as you need\ncomlink.connect(config)\n\n-- Bind a key to an action\ncomlink.bind(\"ctrl+c\", \"quit\")\n```\n\nStoring passwords in configuration files is generally considered a poor\nsecurity practice. The following example reads the password from an external\npassword manager:\n\n```lua\nlocal comlink = require(\"comlink\")\n\nlocal proc =\n  assert(io.popen(\"hiq -dFpassword proto=irc address=irc.example.com nickname=alex\", \"r\"))\nlocal password = proc:read(\"*l\")\nproc:close()\n\nlocal config = {\n\t-- …other fields here…\n\tpassword = password,\n}\n```\n\n## Contributing\n\nPatches accepted on the [mailing list](https://lists.sr.ht/~rockorager/comlink)\n\nPull requests accepted on [Github](https://github.com/rockorager/comlink)\n\nPull requests accepted on\n[tangled.sh](https://tangled.sh/@rockorager.dev/comlink)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockorager%2Fcomlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frockorager%2Fcomlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockorager%2Fcomlink/lists"}