{"id":14964722,"url":"https://github.com/pymike00/tinychat","last_synced_at":"2025-09-03T13:07:19.940Z","repository":{"id":214775759,"uuid":"730394213","full_name":"pymike00/tinychat","owner":"pymike00","description":"🔮 TinyChat is a lightweight Desktop client for modern Language Models designed for straightforward comprehension. Supports OpenAI, Anthropic, Meta, Mistral, Google and Cohere APIs.","archived":false,"fork":false,"pushed_at":"2024-07-24T15:23:02.000Z","size":1085,"stargazers_count":53,"open_issues_count":5,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-02T18:27:21.891Z","etag":null,"topics":["anthropic","chatgpt","claude","claude-3-5","claude-3-opus","claude-api","cohere","customtkinter","gemini-pro","google-gemini","llama","llama3","mistral","mistral-large","openai","python","tkinter","tkinter-gui","tkinter-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/pymike00.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":"2023-12-11T20:40:02.000Z","updated_at":"2025-08-30T01:09:14.000Z","dependencies_parsed_at":"2024-02-27T14:27:22.763Z","dependency_job_id":"ca24a515-393d-4d85-bb6a-5e8ceed081fc","html_url":"https://github.com/pymike00/tinychat","commit_stats":{"total_commits":252,"total_committers":2,"mean_commits":126.0,"dds":0.0357142857142857,"last_synced_commit":"cade1f9146c7d7a57ec0d0248d13ca3478f8012d"},"previous_names":["pymike00/tinychat"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pymike00/tinychat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pymike00%2Ftinychat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pymike00%2Ftinychat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pymike00%2Ftinychat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pymike00%2Ftinychat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pymike00","download_url":"https://codeload.github.com/pymike00/tinychat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pymike00%2Ftinychat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273446913,"owners_count":25107258,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["anthropic","chatgpt","claude","claude-3-5","claude-3-opus","claude-api","cohere","customtkinter","gemini-pro","google-gemini","llama","llama3","mistral","mistral-large","openai","python","tkinter","tkinter-gui","tkinter-python"],"created_at":"2024-09-24T13:33:41.494Z","updated_at":"2025-09-03T13:07:19.903Z","avatar_url":"https://github.com/pymike00.png","language":"Python","readme":"# TinyChat (for Linux and Windows)\n\n**TinyChat is a GUI client for modern Language Models built with simplicity in mind. Its minimalistic Python code is designed for straightforward comprehension and adaptability. More features will likely come, but we are going to do our best to keep it simple.**\n\nTo reduce magic to a minimum, no official API client is used: it's only just post requests and Server-Sent Events handling. The program only depends on [requests](https://requests.readthedocs.io/en/latest/), [sseclient-py](https://github.com/mpetazzoni/sseclient) and [CustomTkinter](https://github.com/TomSchimansky/CustomTkinter).\n\n**You can talk with all major models from the OpenAI, Anthropic, Mistral, Meta, Google and Cohere cloud APIs:**\n- [x] OpenAI: GPT-4o, GPT-4 Turbo\n- [x] Anthropic: Claude 3.5 Sonnet, Claude 3 Opus\n- [x] Mistral: Large, Codestral\n- [x] Meta AI: Llama 3.1 8B, 70B, 405B (via TogetherAI)\n- [x] Google: Gemini Pro 1.5\n- [x] Cohere: Command R\n\n\n### Here is a quick demo:\nhttps://github.com/pymike00/tinychat/assets/32687496/9610b45f-efd8-4a4a-8b53-5ceb979a29ba\n\n\n\n\n\n\n### Notes:\n- *To use the models you will need an API Key from [OpenAI](https://platform.openai.com/api-keys) / [Anthropic](https://console.anthropic.com/settings/keys) / [Mistral](https://console.mistral.ai/api-keys/) / [Google](https://makersuite.google.com/app/apikey) / [Cohere](https://dashboard.cohere.com/api-keys/), and [Together](https://api.together.xyz/settings/api-keys) for the Meta AI models. Follow the links to get started! The keys will be saved in a \"tinychat.json\" file that by default is created on the same level as the tinychat package / exe file. You can change the SECRETS_FILE_PATH from the settings.py file.*\n- *I chose to use the official Mistral API to explicitly support Mistral's open weights strategy. You should however be able to easily adapt the code in llms.mistral to change the endpoint in case you feel like it.*\n\n\u003cbr\u003e\n\n### How to use it as a Python package:\n\n\n```\n# Clone repo and enter main folder\ngit clone https://github.com/pymike00/tinychat.git\ncd tinychat\n\n# Create Virtual Environment\npython -m venv venv\n\n# Activate Virtual Environment\nsource venv/bin/activate on Linux / Mac OS\n.\\venv\\Scripts\\Activate.ps1 on Windows Powershell\n\n# Install requirements\npip install -r requirements.txt\n\n# Run application\npython -m tinychat\n```\n\n\n### How to build an executable:\n\n\n```\n# Clone repo and enter main folder\ngit clone https://github.com/pymike00/tinychat.git\ncd tinychat\n\n# Create Virtual Environment\npython -m venv venv\n\n# Activate Virtual Environment\nsource venv/bin/activate on Linux / Mac OS\n.\\venv\\Scripts\\Activate.ps1 on Windows Powershell\n\n# Install requirements\npip install -r requirements-build.txt\n\n# Run build commands\npyinstaller build.spec\n\n# You should now have a new tinychat executable file in a newly created dist folder\n```\n\u003cbr\u003e\n\n### Extra Notes:\n[Crystal ball icons created by Freepik - Flaticon](https://www.flaticon.com/free-icons/crystal-ball)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpymike00%2Ftinychat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpymike00%2Ftinychat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpymike00%2Ftinychat/lists"}