{"id":15669850,"url":"https://github.com/alexgustafsson/irc-sentiment-bot","last_synced_at":"2025-03-30T05:11:37.729Z","repository":{"id":83002381,"uuid":"196556410","full_name":"AlexGustafsson/irc-sentiment-bot","owner":"AlexGustafsson","description":"A Dockerized IRC Bot written in Python 3 for performing sentiment analysis and responding with ASCII emojis","archived":false,"fork":false,"pushed_at":"2021-07-14T14:15:36.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T07:15:13.306Z","etag":null,"topics":["bot","conversational-bot","irc","python","python-3","sentiment-analysis","swedish"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexGustafsson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-07-12T10:04:34.000Z","updated_at":"2021-07-14T14:15:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"a836410d-d11a-4ff0-b4c0-0684366545f8","html_url":"https://github.com/AlexGustafsson/irc-sentiment-bot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGustafsson%2Firc-sentiment-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGustafsson%2Firc-sentiment-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGustafsson%2Firc-sentiment-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexGustafsson%2Firc-sentiment-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexGustafsson","download_url":"https://codeload.github.com/AlexGustafsson/irc-sentiment-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277373,"owners_count":20751549,"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":["bot","conversational-bot","irc","python","python-3","sentiment-analysis","swedish"],"created_at":"2024-10-03T14:41:28.761Z","updated_at":"2025-03-30T05:11:37.711Z","avatar_url":"https://github.com/AlexGustafsson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IRC Sentiment Bot\n### A Dockerized IRC Bot written in Python 3 for performing sentiment analysis and responding with ASCII emojis\n***\n\n### Setting up\n\n##### Quickstart\n\n```shell\n# Clone the repository\ngit clone https://github.com/AlexGustafsson/irc-sentiment-bot\n# Enter the directory\ncd irc-sentiment-bot\n# Run\npython3 -m bot.main --server irc.example.com\n```\n\nYou can also run the container using Docker, like so:\n\n```shell\n# Build the image\ndocker build -t axgn/irc-sentiment-bot:latest .\n\n# Run\ndocker run axgn/irc-sentiment-bot --server irc.example.com --channel \"#random\"\n```\n\n### Documentation\n\n#### Running with Docker\n\n```shell\ndocker run axgn/irc-emoji-bot --server irc.example.com --channel \"#random\"\n```\n\nThe image is stateless and based on Alpine and is roughly 90MB in size. While running, the container usually uses 0% of the CPU and roughly 7MB of RAM. During load it uses about 0.20% CPU and while starting about 0.4% on a single core and an unchanged amount of RAM.\n\nTo prevent any unforseen events, one can therefore limit the container's resources by using the flags `--cpus=0.05` and `--memory=10MB` which should both leave some head room.\n\n#### Invoking via IRC\n\nTo see help messages send `sentiment-bot: help` in the channel where the bot lives.\n\nThe bot reads all messages sent in the configured channels (or direct messages) and sends and appropriate emoji if a certain threshold is met for positivity or negativity.\n\n### Contributing\n\nAny contribution is welcome. If you're not able to code it yourself, perhaps someone else is - so post an issue if there's anything on your mind.\n\n###### Development\n\nClone the repository:\n```\ngit clone https://github.com/AlexGustafsson/irc-sentiment-bot \u0026\u0026 cd irc-sentiment-bot\n```\n\n### Disclaimer\n\n_Although the project is very capable, it is not built with production in mind. Therefore there might be complications when trying to use the bot for large-scale projects meant for the public. The bot was created to easily send emojis in IRC channels and as such it might not promote best practices nor be performant._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexgustafsson%2Firc-sentiment-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexgustafsson%2Firc-sentiment-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexgustafsson%2Firc-sentiment-bot/lists"}