{"id":46686543,"url":"https://github.com/rayyildiz/chatbox","last_synced_at":"2026-03-09T02:08:22.480Z","repository":{"id":296049896,"uuid":"937567496","full_name":"rayyildiz/chatbox","owner":"rayyildiz","description":"Simple desktop app that provides UI for interacting with LLM","archived":false,"fork":false,"pushed_at":"2025-07-01T18:37:01.000Z","size":315,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T19:37:19.709Z","etag":null,"topics":["chatbot","gradio","openai","pyinstaller","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/rayyildiz.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,"zenodo":null}},"created_at":"2025-02-23T11:37:45.000Z","updated_at":"2025-07-01T18:36:27.000Z","dependencies_parsed_at":"2025-07-01T19:37:34.051Z","dependency_job_id":null,"html_url":"https://github.com/rayyildiz/chatbox","commit_stats":null,"previous_names":["rayyildiz/chatbox"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/rayyildiz/chatbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fchatbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fchatbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fchatbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fchatbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayyildiz","download_url":"https://codeload.github.com/rayyildiz/chatbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayyildiz%2Fchatbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30280359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T01:43:35.720Z","status":"online","status_checked_at":"2026-03-09T02:00:08.011Z","response_time":61,"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":["chatbot","gradio","openai","pyinstaller","python"],"created_at":"2026-03-09T02:08:20.507Z","updated_at":"2026-03-09T02:08:22.468Z","avatar_url":"https://github.com/rayyildiz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatBox\n\n[![Build](https://github.com/rayyildiz/chatbox/actions/workflows/build.yaml/badge.svg)](https://github.com/rayyildiz/chatbox/actions/workflows/build.yaml)\n[![Publish](https://github.com/rayyildiz/chatbox/actions/workflows/publish.yaml/badge.svg)](https://github.com/rayyildiz/chatbox/actions/workflows/publish.yaml)\n[![CodeQL](https://github.com/rayyildiz/chatbox/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/rayyildiz/chatbox/actions/workflows/github-code-scanning/codeql)\n\n\n![ChatBox](./docs/chatbox.png)\n\nA simple desktop application that provides a user-friendly interface for interacting with OpenAI's chat models like GPT-4o. ChatBox wraps the OpenAI API in a clean, native desktop window for a seamless chat experience.\n\n## Features\n\n- Clean, desktop-native interface for ChatGPT interactions\n- Streaming responses for real-time feedback\n- Chat history maintained during session\n- Configurable OpenAI model selection\n- Custom API endpoint support\n- Secure API key storage\n\n## Requirements\n\n- Python 3.12 or higher\n- OpenAI API key\n\n## Installation\n\n### Pre-built Executables\n\nThe easiest way to get started is to download a pre-built executable from the [GitHub Releases](https://github.com/rayyildiz/chatbox/releases) page. Executables are available for:\n\n- Windows\n- macOS (ARM)\n- Linux\n\n### From Source\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/rayyildiz/chatbox.git\n   cd chatbox\n   ```\n\n2. Install dependencies:\n\n   Using [uv](https://docs.astral.sh/uv/) (recommended):\n\n   ```\n   uv pip install -e .\n   ```\n\n3. Run the application:\n\n   ```\n   python src/app.py\n   ```\n\n### Building a Standalone Executable\n\nYou can build a standalone executable using PyInstaller:\n\n```\npython installer.py\n```\n\nOr using the Makefile (note that using installer.py directly is recommended as it contains the most up-to-date build configuration):\n\n```\nmake installer\n```\n\nThe executable will be created in the `dist` directory.\n\n## Usage\n\n1. Launch the application\n2. Enter your OpenAI API key in the designated field\n3. Type your message in the input box and press Enter\n\n## Configuration\n\nThe application can be configured using environment variables:\n\n- `OPENAI_API_KEY`: Your OpenAI API key (can also be entered in the UI)\n- `OPENAI_BASE_URL`: Custom API endpoint (default: https://api.openai.com/v1)\n- `OPENAI_MODEL`: The model to use (default: gpt-4o-mini)\n\nYou can set these variables in a `.env` file in the project root.\n\n## Dependencies\n\n- gradio: For creating the chat interface\n- openai: For interacting with OpenAI's API\n- pywebview: For creating the desktop window\n- environs: For environment variable handling\n- cffi: For C Foreign Function Interface\n\n## Development\n\nTo set up the development environment:\n\n```\nuv pip install -e \".[dev]\"\n```\n\nThis will install additional development dependencies:\n- pyinstaller: For building standalone executables\n- ruff: For code linting and formatting\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyildiz%2Fchatbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayyildiz%2Fchatbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyildiz%2Fchatbox/lists"}