{"id":18864766,"url":"https://github.com/hackndo/slack-irc-sync","last_synced_at":"2025-07-04T07:03:32.374Z","repository":{"id":92732635,"uuid":"111100173","full_name":"Hackndo/slack-irc-sync","owner":"Hackndo","description":"Python synchronization between IRC and Slack","archived":false,"fork":false,"pushed_at":"2017-12-05T14:18:21.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T21:41:55.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hackndo.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}},"created_at":"2017-11-17T12:17:49.000Z","updated_at":"2017-11-17T12:34:19.000Z","dependencies_parsed_at":"2023-04-28T11:47:29.600Z","dependency_job_id":null,"html_url":"https://github.com/Hackndo/slack-irc-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fslack-irc-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fslack-irc-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fslack-irc-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fslack-irc-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hackndo","download_url":"https://codeload.github.com/Hackndo/slack-irc-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808523,"owners_count":19700451,"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":[],"created_at":"2024-11-08T04:43:58.716Z","updated_at":"2025-02-20T09:15:40.474Z","avatar_url":"https://github.com/Hackndo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack-IRC Synchronization\n\nDescription\n-----------\n\n**Python3.5+** implementation of a synchronization between IRC and Slack\n\n![slackirc](https://user-images.githubusercontent.com/11051803/32947338-ad9a7fe2-cb9b-11e7-8d9f-54c6a2dd7779.gif)\n\nRequirements\n------------\n\n* Python 3.5+\n* Slack bot \n\nSlack Bot\n-----------\n\nGo to [Create new Bot User](https://my.slack.com/services/new/bot)\n\nInitialization\n--------------\n\n```sh\ngit clone git@github.com:Hackndo/slack-irc-sync.git\ncd slack-irc-sync\nmkvirtualenv slackirc -p $(which python3)\npip install -r requirements.txt\n```\n\nConfiguration\n-------------\n\nCopy configuration template\n\n```sh\ncp config/config.json.dist config/config.json\n```\n\nConfiguration file looks like this\n\n```javascript\n{\n    \"irc\": {\n        \"server\": \"irc.server.com\",                 // IRC Server\n        \"port\": \"6667\",                             // IRC Port\n        \"ssl\": false,                               // Use SSL\n        \"channel\": \"#channel\",                      // IRC Channel\n        \"nickname\": \"h_bot\",                        // Bot Nickname\n        \"owner\": \"username\",                        // Bot Owner Nickname (admin commands)\n        \"log_events\": true                          // Send part/join/kick/quit to slack\n    },\n    \"slack\": {\n        \"channel\": \"\u003cchannel id\u003e\",                  // Slack Channel ID\n        \"bot_id\": \"\u003cbot ID\u003e\",                       // Slack Bot user ID\n        \"bot_name\": \"irc-sync\",                     // Slack Bot Nickname\n        \"token\": \"\u003cbot token\u003e\",                     // Slack Bot Token\n        \"owner\": \"username\",                        // Slack Bot Owner username (admin commands)\n        \"cmd_prefix\": \"!\",                          // Channel commands prefix (if any)\n        \"output_msg\": \"\u003c:username:\u003e :message:\",     // Message format when Slack message is received\n        \"output_cmd\": \"CMD by :username:\",          // Message format when Slack command is received\n        \"log_events\": true                          // Send part/join/kick/quit to IRC\n    },\n    \"formatting\": {\n        \"irc_to_slack\": false,                      // Keep bold|underline|italic from IRC to Slack\n        \"slack_to_irc\": true                        // Keep bold|underline|italic from Slack to IRC\n    }\n}\n```\n\nUsage\n-----\n\n```\n(slackirc) pixis@kali:~/Tools/slack-irc-sync $ python slack-irc-sync.py \n[IRC] Logged in as:\n[IRC] hacknbot\n[Slack] Logged in as:\n[Slack] irc-sync\n[Slack] \u003cpixis\u003e : Can you hear me IRC Tom? 😃\n[IRC] \u003cpixis\u003e : Yes, I can\n```\n\n\nTODO\n----\n\n- [X] Format message from Slack to IRC\n- [X] Format message from IRC to Slack : Difficult because not everything is possible, especially when formatting is overlapping\n- [ ] Multi channel\n- [ ] Multi server\n- [ ] Dynamically relaod conf when changed\n- [ ] Change conf with IRC or Slack commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackndo%2Fslack-irc-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackndo%2Fslack-irc-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackndo%2Fslack-irc-sync/lists"}