{"id":46841839,"url":"https://github.com/mtib/ai-chat","last_synced_at":"2026-03-10T13:17:05.351Z","repository":{"id":286263843,"uuid":"960877164","full_name":"mtib/ai-chat","owner":"mtib","description":"Frontend for chatting with OpenAI","archived":false,"fork":false,"pushed_at":"2025-04-18T23:11:39.000Z","size":635,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T02:28:36.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://chat.mtib.dev/","language":"TypeScript","has_issues":false,"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/mtib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-05T08:59:26.000Z","updated_at":"2025-04-18T23:11:42.000Z","dependencies_parsed_at":"2025-04-05T10:41:00.332Z","dependency_job_id":null,"html_url":"https://github.com/mtib/ai-chat","commit_stats":null,"previous_names":["mtib/ai-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtib/ai-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fai-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fai-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fai-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fai-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtib","download_url":"https://codeload.github.com/mtib/ai-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fai-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30334419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"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":[],"created_at":"2026-03-10T13:17:04.414Z","updated_at":"2026-03-10T13:17:05.344Z","avatar_url":"https://github.com/mtib.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ai-chat\n\nA chat application with support for OpenAI models and custom server assistants.\n\n## Features\n\n- Chat with OpenAI's latest models\n- Generate images with DALL-E\n- Support for custom server assistants with contextual data\n- Message starring for important information\n- Export and import conversations\n- Conversation search and management\n- PWA support for offline access\n\n## Server Assistant API\n\n![](docs/assistant_server_setup.svg)\n\nYou can add your own assistant using the server assistant API. This allows you to:\n\n1. Connect to your own assistant server with custom knowledge\n2. Use your server's system prompt for conversations\n3. Enhance conversations with contextual data from your server \n\n### Setup\n\nTo connect a server assistant:\n1. Create a new conversation and select \"Server Assistant\"\n2. Enter your server URL and authentication token\n3. The system prompt will be loaded from your server\n\n### How it works\n\nWhen you chat with a server assistant:\n- The app fetches the system prompt from your server's `/config` endpoint\n- Your messages are embedded and sent to the server's `/search` endpoint\n- Relevant context from your server is added to OpenAI requests\n- Your conversation history remains private and doesn't include the assistant's context\n\n## Additional Documentation\n\n- [Assistant Server Implementation](assistant_server/README.md)\n- [Assistant Server Setup Guide](assistant_server/SETUP.md)\n- [JSON Server with Redis](json_server/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtib%2Fai-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtib%2Fai-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtib%2Fai-chat/lists"}