{"id":37064951,"url":"https://github.com/nickjfenton/chatter","last_synced_at":"2026-01-14T07:35:54.178Z","repository":{"id":46102619,"uuid":"420700827","full_name":"nickjfenton/chatter","owner":"nickjfenton","description":"A lightweight Python framework for building chatbots.","archived":false,"fork":false,"pushed_at":"2022-01-19T00:26:57.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T20:47:25.811Z","etag":null,"topics":["chatbot","framework","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/nickjfenton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-24T14:02:38.000Z","updated_at":"2021-11-14T21:56:06.000Z","dependencies_parsed_at":"2022-08-19T03:00:39.100Z","dependency_job_id":null,"html_url":"https://github.com/nickjfenton/chatter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nickjfenton/chatter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjfenton%2Fchatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjfenton%2Fchatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjfenton%2Fchatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjfenton%2Fchatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickjfenton","download_url":"https://codeload.github.com/nickjfenton/chatter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickjfenton%2Fchatter/sbom","scorecard":{"id":685147,"data":{"date":"2025-08-11","repo":{"name":"github.com/nickjfenton/chatter","commit":"6712cbe5266b9e80372f30dcd3260d6b0fb29553"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":0,"reason":"Found 0/17 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yaml:1","Info: no jobLevel write permissions found"],"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":"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":"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":10,"reason":"no binaries found in the repo","details":null,"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/nickjfenton/chatter/main.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nickjfenton/chatter/main.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/nickjfenton/chatter/main.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/nickjfenton/chatter/main.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/nickjfenton/chatter/main.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/nickjfenton/chatter/main.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/nickjfenton/chatter/main.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/main.yaml:22","Warn: pipCommand not pinned by hash: .github/workflows/main.yaml:23","Warn: pipCommand not pinned by hash: .github/workflows/main.yaml:52","Warn: pipCommand not pinned by hash: .github/workflows/main.yaml:53","Warn: pipCommand not pinned by hash: .github/workflows/main.yaml:71","Warn: pipCommand not pinned by hash: .github/workflows/main.yaml:72","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned"],"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2023-23 / GHSA-jrwr-5x3p-hvc3","Warn: Project is vulnerable to: PYSEC-2023-24 / GHSA-vrjv-mxr7-vjf8","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T00:33:50.413Z","repository_id":46102619,"created_at":"2025-08-22T00:33:50.413Z","updated_at":"2025-08-22T00:33:50.413Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["chatbot","framework","python"],"created_at":"2026-01-14T07:35:53.657Z","updated_at":"2026-01-14T07:35:54.164Z","avatar_url":"https://github.com/nickjfenton.png","language":"Python","readme":"# Chatter\n\n[![codecov](https://codecov.io/gh/nickjfenton/chatter/branch/develop/graph/badge.svg?token=4HYFV573S8)](https://codecov.io/gh/nickjfenton/chatter)\n[![Documentation Status](https://readthedocs.org/projects/chatter-py/badge/?version=latest)](https://chatter-py.readthedocs.io/en/latest/?badge=latest)\n\n## Welcome to Chatter!\n\nChatter is a framework with the goal of allowing you to quickly and easily create chatbots. It hides\naway the things you want to just work, exposing a simple API, so that you can focus on writing your\ncustom features and delivering a working chatbot.\n\nTake a look:\n\n```python\nfrom chatter_py import ChatClient, Feature, Bot, Message\nfrom typing import Any\n\n\n# Define your feature\nclass Echo(Feature):\n    def receive(self, message):\n        self.send_to_chat(message)\n\n\n# Write a handler for your chat client, for example:\nclass MyChatClient(ChatClient):\n    def __init__(self):\n        self.chat_client_connection = Any\n\n    def on_chat_message(self, message: dict):\n        \"\"\"Receive your chat messages and convert them to bot friendly messages\"\"\"\n        bot_message = Message(text=message[\"text\"], room=message[\"room_id\"])\n        self.send_to_bot(bot_message)\n\n    def start_listening(self) -\u003e None:\n        \"\"\"connect to your chat client\"\"\"\n        self.chat_client_connection.register_callback(self.on_chat_message)\n        self.chat_client_connection.start_listening()\n\n    def send_to_client(self, message):\n        \"\"\"Format your bot messages and send them off to your chat client\"\"\"\n        text = \"\u003cp\u003e\" + \" \".join(message.text) + \"\u003c/p\u003e\"\n        self.chat_client_connection.send(text)\n\n\ndef main():\n    # Let Chatter put it all together\n    Bot(MyChatClient(), [Echo]).start()\n\n\nif __name__ == '__main__':\n    # Start your bot!\n    main()\n```\n\nChatter encourages you to separate concerns by keeping your chat client specific message\ntransformations in your `ChatClient` classes and letting all your `Feature` classes handle\nstandardised\n`Messages`. This:\n\n* Makes your code more testable\n* Makes your bot super portable - being able to handle a new chat client is as simple as creating a\n  new `ChatClient` subclass and writing your custom logic for transforming messages between Bot and\n  Presentation format.\n\nYou could even use a command-line frontend for testing your bot's logic:\n\n```python\nfrom chatter_py import ChatClient, Message\n\n\nclass CommandLine(ChatClient):\n    def send_to_client(self, message: Message):\n        print(\"Chatter-bot: \" + \" \".join(message.text))\n\n    def start_listening(self) -\u003e None:\n        while True:\n            input_message = input(\"You: \")\n            message_to_bot = Message(text=input_message.split(\" \"), room=\"\")\n            self.send_to_bot(message_to_bot)\n```\n\nNow every time you write a new chat client class, all you have to focus on testing is given a Bot\nmessage, you receive the correct chat message, and vice versa - simple!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickjfenton%2Fchatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickjfenton%2Fchatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickjfenton%2Fchatter/lists"}