{"id":13492079,"url":"https://github.com/cofactoryai/textbase","last_synced_at":"2025-04-14T01:56:33.987Z","repository":{"id":184756911,"uuid":"670963921","full_name":"cofactoryai/textbase","owner":"cofactoryai","description":"✨ Textbase is a simple framework for building AI chatbots. ✨","archived":false,"fork":false,"pushed_at":"2023-11-27T19:12:19.000Z","size":15528,"stargazers_count":1273,"open_issues_count":43,"forks_count":350,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-14T01:56:26.375Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://textbase.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cofactoryai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-07-26T08:27:58.000Z","updated_at":"2025-04-10T11:05:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"a20e6464-42fe-45b4-b553-6c8693d94012","html_url":"https://github.com/cofactoryai/textbase","commit_stats":null,"previous_names":["cofactoryai/textbase"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofactoryai%2Ftextbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofactoryai%2Ftextbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofactoryai%2Ftextbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cofactoryai%2Ftextbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cofactoryai","download_url":"https://codeload.github.com/cofactoryai/textbase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809032,"owners_count":21164895,"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":["hacktoberfest"],"created_at":"2024-07-31T19:01:02.927Z","updated_at":"2025-04-14T01:56:33.958Z","avatar_url":"https://github.com/cofactoryai.png","language":"Python","funding_links":[],"categories":["Python","hacktoberfest"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003cimg alt=\"Textbase python library\" src=\"assets/logo.svg\" width=\"352\" height=\"59\" style=\"max-width: 100%;\"\u003e\n  \u003c/picture\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://docs.textbase.ai\"\u003e\n        \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/website/http/huggingface.co/docs/transformers/index.svg?down_color=red\u0026down_message=offline\u0026up_message=online\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n    \u003cp\u003e✨ Textbase is a framework for building chatbots using NLP and ML. ✨\u003c/p\u003e\n\u003c/h3\u003e\n\n\u003ch3 align=\"center\"\u003e\n    \u003ca href=\"https://textbase.ai\"\u003e\u003cimg src=\"assets/banner.png\"\u003e\u003c/a\u003e\n\u003c/h3\u003e\n\nJust implement the `on_message` function in `main.py` and Textbase will take care of the rest :)\n\nSince it is just Python you can use whatever models, libraries, vector databases and APIs you want.\n\nComing soon:\n- [x] [PyPI package](https://pypi.org/project/textbase-client/)\n- [x] Easy web deployment via [textbase-client deploy](docs/docs/deployment/deploy-from-cli.md)\n- [ ] SMS integration\n- [ ] Native integration of other models (Claude, Llama, ...)\n\n![Demo Deploy GIF](assets/textbase-deploy.gif)\n\n## Installation\nMake sure you have `python version \u003e=3.9.0`, it's always good to follow the [docs](https://docs.textbase.ai/get-started/installation) 👈🏻\n### 1. Through pip\n```bash\npip install textbase-client\n```\n\n### 2. Local installation\nClone the repository and install the dependencies using [Poetry](https://python-poetry.org/) (you might have to [install Poetry](https://python-poetry.org/docs/#installation) first).\n\nFor proper details see [here]()\n\n```bash\ngit clone https://github.com/cofactoryai/textbase\ncd textbase\npoetry shell\npoetry install\n```\n\n## Start development server\n\n\u003e If you're using the default template, **remember to set the OpenAI API key** in `main.py`.\n\nRun the following command:\n- if installed locally\n    ```bash\n    poetry run python textbase/textbase_cli.py test\n    ```\n- if installed through pip\n    ```bash\n    textbase-client test\n    ```\nResponse:\n```bash\nPath to the main.py file: examples/openai-bot/main.py # You can create a main.py by yourself and add that path here. NOTE: The path should not be in quotes\n```\nNow go to the link in blue color which is shown on the CLI and you will be able to chat with your bot!\n![Local UI](assets/test_command.png)\n\n### `Other commands have been mentioned in the documentation website.` [Have a look](https://docs.textbase.ai/usage) 😃!\n\n\n## Contributions\n\nContributions are welcome! Please open an issue or create a pull request.\nFollow our [`contributions guide`](CONTRIBUTING.md) for more details!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcofactoryai%2Ftextbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcofactoryai%2Ftextbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcofactoryai%2Ftextbase/lists"}