{"id":37714130,"url":"https://github.com/plasticuproject/cleverbotfree","last_synced_at":"2026-01-16T13:23:17.921Z","repository":{"id":55530345,"uuid":"141915198","full_name":"plasticuproject/cleverbotfree","owner":"plasticuproject","description":"Free alternative for the Cleverbot API","archived":false,"fork":false,"pushed_at":"2024-01-21T19:54:52.000Z","size":80,"stargazers_count":58,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-05T11:31:17.960Z","etag":null,"topics":["api","bot","chatbot","cleverbot","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plasticuproject.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":"2018-07-22T17:08:19.000Z","updated_at":"2025-12-29T00:11:45.000Z","dependencies_parsed_at":"2024-06-20T23:30:31.913Z","dependency_job_id":"322ebfb1-e336-43be-990d-2d45f00566d5","html_url":"https://github.com/plasticuproject/cleverbotfree","commit_stats":{"total_commits":50,"total_committers":6,"mean_commits":8.333333333333334,"dds":"0.43999999999999995","last_synced_commit":"d6c158dbca067ca022622f9c79f7da4181863277"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plasticuproject/cleverbotfree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticuproject%2Fcleverbotfree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticuproject%2Fcleverbotfree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticuproject%2Fcleverbotfree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticuproject%2Fcleverbotfree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plasticuproject","download_url":"https://codeload.github.com/plasticuproject/cleverbotfree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plasticuproject%2Fcleverbotfree/sbom","scorecard":{"id":737185,"data":{"date":"2025-08-11","repo":{"name":"github.com/plasticuproject/cleverbotfree","commit":"d6c158dbca067ca022622f9c79f7da4181863277"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/22 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":"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":"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":"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":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/plasticuproject/cleverbotfree/tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:18","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:19","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:20","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   5 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml: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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: 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":"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":"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"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 13 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"}}]},"last_synced_at":"2025-08-22T16:12:20.697Z","repository_id":55530345,"created_at":"2025-08-22T16:12:20.698Z","updated_at":"2025-08-22T16:12:20.698Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["api","bot","chatbot","cleverbot","python"],"created_at":"2026-01-16T13:23:17.233Z","updated_at":"2026-01-16T13:23:17.915Z","avatar_url":"https://github.com/plasticuproject.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build](https://github.com/plasticuproject/cleverbotfree/actions/workflows/tests.yml/badge.svg)](https://github.com/plasticuproject/cleverbotfree/actions/workflows/tests.yml)\n[![Python 3.8](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/release/python-380/)\n[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)\n[![PyPI version](https://badge.fury.io/py/cleverbotfree.svg)](https://badge.fury.io/py/cleverbotfree)\n[![Downloads](https://pepy.tech/badge/cleverbotfree)](https://pepy.tech/project/cleverbotfree)\n[![CodeQL](https://github.com/plasticuproject/cleverbotfree/actions/workflows/codeql.yml/badge.svg)](https://github.com/plasticuproject/cleverbotfree/actions/workflows/codeql.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=plasticuproject_cleverbotfree\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=plasticuproject_cleverbotfree)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=plasticuproject_cleverbotfree\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=plasticuproject_cleverbotfree)\n# cleverbotfree\nCleverbot.com used to have a free API for their chatbot application. They have \u003cbr /\u003e\nremoved their free API in place of a tiered subscription API service. \u003cbr /\u003e\ncleverbotfree is a free alternative to that API that uses a headless Firefox \u003cbr /\u003e\nbrowser to communicate with their chatbot application. You can use this module \u003cbr /\u003e\nto create applications/bots that send and receive messages to the Cleverbot \u003cbr /\u003e\nchatbot application. \u003cbr /\u003e\n\n\n## Installation\n### Requirments\n- node \u003e= 14.16.1\n- Python \u003e= 3.8.0\n- python3-pip \u003e= 21.1.1\n \nOnce requirments are met, you can install this library through pip. \u003cbr /\u003e\n```\npip install cleverbotfree\n```\n\n### Drivers\nThis library uses the Playwright library to interface the Cleverbot website \u003cbr /\u003e\nwith a headless Firefox browser. \u003cbr /\u003e\nTo download the Playwright Firefox browser binary simply run this command after \u003cbr /\u003e\ninstalling cleverbotfree: \u003cbr /\u003e\n```\nplaywright install firefox\n```\n\n## Usage\n\u003cb\u003eExamples\u003c/b\u003e\n\nExample of a simple CLI script that creates a persistent chat session until closed. \u003cbr /\u003e\n```python\nimport asyncio\nimport cleverbotfree\n\ndef chat():\n    \"\"\"Example code using cleverbotfree sync api.\"\"\"\n    with cleverbotfree.sync_playwright() as p_w:\n        c_b = cleverbotfree.Cleverbot(p_w)\n        while True:\n            user_input = input(\"User: \")\n            if user_input == 'quit':\n                break\n            bot = c_b.single_exchange(user_input)\n            print('Cleverbot:', bot)\n        c_b.close()\n\nchat()\n\n\nasync def async_chat():\n    \"\"\"Example code using cleverbotfree async api.\"\"\"\n    async with cleverbotfree.async_playwright() as p_w:\n        c_b = await cleverbotfree.CleverbotAsync(p_w)\n        while True:\n            user_input = input(\"User: \")\n            if user_input == 'quit':\n                break\n            bot = await c_b.single_exchange(user_input)\n            print('Cleverbot:', bot)\n        await c_b.close()\n\nasyncio.run(async_chat())\n```\n\nExample of a simple CLI script using the class decorator. \u003cbr /\u003e\n```python\nimport asyncio\nfrom cleverbotfree import CleverbotAsync\nfrom cleverbotfree import Cleverbot\n\n@Cleverbot.connect\ndef chat(bot, user_prompt, bot_prompt):\n    \"\"\"Example code using cleverbotfree sync api with decorator.\"\"\"\n    while True:\n        user_input = input(user_prompt)\n        if user_input == \"quit\":\n            break\n        reply = bot.single_exchange(user_input)\n        print(bot_prompt, reply)\n    bot.close()\n\nchat(\"User: \", \"Cleverbot:\")\n\n\n@CleverbotAsync.connect\nasync def async_chat(bot, user_prompt, bot_prompt):\n    \"\"\"Example code using cleverbotfree async api with decorator.\"\"\"\n    while True:\n        user_input = input(user_prompt)\n        if user_input == \"quit\":\n            break\n        reply = await bot.single_exchange(user_input)\n        print(bot_prompt, reply)\n    await bot.close()\n\nasyncio.run(async_chat(\"User: \", \"Cleverbot:\"))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasticuproject%2Fcleverbotfree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplasticuproject%2Fcleverbotfree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasticuproject%2Fcleverbotfree/lists"}