{"id":19894197,"url":"https://github.com/pjq/chitchat","last_synced_at":"2025-07-07T14:34:19.097Z","repository":{"id":139380213,"uuid":"612021763","full_name":"pjq/ChitChat","owner":"pjq","description":"ChitChat is a simple chat application that utilizes the GPT-3.5 Turbo/GPT-4 model to provide an interactive chat experience.","archived":false,"fork":false,"pushed_at":"2024-07-08T13:31:16.000Z","size":40421,"stargazers_count":28,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-02T20:34:29.231Z","etag":null,"topics":["ai","bot","chatgpt","chitchat"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pjq.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-03-10T02:57:11.000Z","updated_at":"2025-04-20T14:29:05.000Z","dependencies_parsed_at":"2024-11-12T18:46:32.906Z","dependency_job_id":null,"html_url":"https://github.com/pjq/ChitChat","commit_stats":null,"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"purl":"pkg:github/pjq/ChitChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjq%2FChitChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjq%2FChitChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjq%2FChitChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjq%2FChitChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pjq","download_url":"https://codeload.github.com/pjq/ChitChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjq%2FChitChat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264092414,"owners_count":23556295,"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":["ai","bot","chatgpt","chitchat"],"created_at":"2024-11-12T18:32:50.500Z","updated_at":"2025-07-07T14:34:19.080Z","avatar_url":"https://github.com/pjq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introducing ChitChat App 🎉\nChitChat is a powerful and easy-to-use app that allows you to connect with AI models such as GPT-3.5-turbo and GPT-4 for engaging and productive conversations. Here's what makes ChitChat your ultimate AI chat collaborator:\n\n- 💬 **Multiple AI Models**: Choose between gpt-3.5-turbo or GPT-4 for personalized and dynamic conversations.\n- 🌍 **Internationalization Support**: Supports i18n for effortless communication in multiple languages.\n- 🔊 **Text-to-Speech \u0026 Speech-to-Text**: Seamlessly convert text to speech and vice versa for a hands-free experience.\n- 📜 **Multi-line Input**: Easily paste or input multiple lines of text.\n- 📡 **Multi-channel Chat**: Engage in conversations across different channels.\n- 📚 **Prompt Management**: Add, edit, and manage multiple prompts.\n- 🎯 **API Integration**: Utilizes stream=true API call for fast, efficient interactions.\n- 📝 **Markdown \u0026 Rich Text**: Enjoy Markdown support for enhanced text formatting.\n- 🚀 **Advanced Features**q: Chat history persistence, proxy settings, continuous conversation mode, base URL settings, and more.\n- 🔄 **Translation \u0026 Rephrasing**: Built-in translation and rephrase actions for instant multilingual support.\n- 📤 **Easy Sharing**: Conveniently copy or share your conversations with others.\n\nDiscover the power of engaging, AI-driven conversations with **ChitChat App**! Download now and start chatting! 🚀\n- [ChitChat App](https://chitchat.pjq.me)\n\nIt is built with Flutter and supports platforms\n- Android\n- iOS\n- Web\n- Mac OS X\n- Linux\n- Windows\n\n### Downloads\nFor Mac/Android, You can download in from the release builds\n- https://github.com/pjq/ChitChat/releases/\n\nFor Android, you can also download from Google Play\n- Android https://play.google.com/store/apps/details?id=me.pjq.chitchat\nFor iOS, you can download from the App Store\n- https://apps.apple.com/cn/app/chitchat-your-best-assistant/id6447462831\n\n### Watch the video\n\u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=OeV6ms91L8U\" target=\"_blank\"\u003e\n \u003cimg src=\"http://img.youtube.com/vi/OeV6ms91L8U/mqdefault.jpg\" alt=\"Watch the video\" width=\"480\" height=\"360\" border=\"10\" /\u003e\n\u003c/a\u003e\n\n\n### Usage\n\nWhen you launch the application, you will be taken to the chat screen where you can enter text to\nsend to the GPT-3.5 Turbo model. The model will then generate a response that will be displayed in\nthe chat window.\n\nYou can also access the settings screen by tapping on the settings icon in the app bar. Here, you\ncan set the OpenAI API key, prompt string, and temperature value.\n\nTo copy or share a chat message, simply click on the message and select the appropriate action\nfrom the context menu.\n\nTo translate a chat message, click on the message and select the \"Translate\" option. This will\nopen the Google Translate app, where you can choose the language to translate to.\n\n### Contributing\n\nContributions are welcome and appreciated. To contribute to ChatGPT, follow these steps:\n\n1. Fork this repository.\n2. Create a new branch for your changes.\n3. Make your changes and commit them, with clear commit messages.\n4. Push your changes to your fork.\n5. Open a pull request.\n\n### License\n\nIt is licensed under the MIT license. See LICENSE for more information.\n\n### Release command\n\n```shell\ngit tag 1.0.0-mac \u0026\u0026 git push origin 1.0.0-mac\ngit tag 1.0.0-android \u0026\u0026 git push origin 1.0.0-android\n```\n\nOr delete tag and push again\n```shell\ngit tag -d 1.1.1-mac \u0026\u0026  git push origin --delete 1.1.1-mac \u0026\u0026  git tag 1.1.1-mac \u0026\u0026 git push origin 1.1.1-mac\necho \" git tag -d 1.1.1-mac \u0026\u0026  git push origin --delete 1.1.1-mac \u0026\u0026  git tag 1.1.1-mac \u0026\u0026 git push origin 1.1.1-mac\" | sed \"s/mac/android/g\" | sed \"s/1.1.1/1.1.2/g\"\n```\n\nOr with one command line\n```shell\nCURRENT_VERSION=1.2.4 \u0026\u0026 PLATFORM=mac \u0026\u0026  git tag $CURRENT_VERSION-$PLATFORM \u0026\u0026 git push origin $CURRENT_VERSION-$PLATFORM \u0026\u0026 PLATFORM=android \u0026\u0026 git tag $CURRENT_VERSION-$PLATFORM \u0026\u0026 git push origin $CURRENT_VERSION-$PLATFORM\n```\nIf already exists, then run can run it again. \n```shell\nCURRENT_VERSION=1.2.4 \u0026\u0026 PLATFORM=mac \u0026\u0026 git tag -d $CURRENT_VERSION-$PLATFORM \u0026\u0026 git push origin :refs/tags/$CURRENT_VERSION-$PLATFORM \u0026\u0026 git tag $CURRENT_VERSION-$PLATFORM \u0026\u0026 git push origin $CURRENT_VERSION-$PLATFORM \u0026\u0026 PLATFORM=android \u0026\u0026 git tag -d $CURRENT_VERSION-$PLATFORM \u0026\u0026 git push origin :refs/tags/$CURRENT_VERSION-$PLATFORM \u0026\u0026 git tag $CURRENT_VERSION-$PLATFORM \u0026\u0026 git push origin $CURRENT_VERSION-$PLATFORM\n```\n\n#### Build dmg for Mac\n```shell\nflutter build macos --release\nhdiutil create -format UDZO -srcfolder build/macos/Build/Products/Release/chitchat.app build/macos/Build/Products/Release/chitchat.dmg\n```\nThen you can get the dmg file in `build/macos/Build/Products/Release/chitchat.dmg`\n\n#### Build apk for Android\n```shell\nflutter build apk  --release\nflutter build appbundle  --release\n```\nThen you can find the apk/aab file in `build/app/outputs/flutter-apk/*.apk,build/app/outputs/bundle/release/*.aab`\n\n#### Build for web\n```shell\nflutter build web \n```\nAnd the web files will be in \n```shell\nbuild/web\n```\n\nAnd update the base href in build/web/index.html to \"./\"\n```html\n\u003cbase href=\"./\"\u003e\n```\n\n#### Deploy the website\n```shell\ncp -a build/web website/\nscp -r website/* ${host}:/mnt/backup_ssf/chitchat/\n```\n\n#### Build \u0026 Deploy Script\n\n```shell\n./deploy.sh user host\n```\n\n### Generate l10n by Call GPT 3.5 Turbo API\n\n```shell\nflutter gen-l10n  -v \n```\n\n```shell\ncd lib/l10n\npython3 ../../tools/l10n.py --file app_en.arb;\n```\n\nIf need to `regenerate` the full translation, please add `--full_translation`, otherwise it will only generate the new strings.\n```shell\ncd lib/l10n\npython3 ../../tools/l10n.py --file app_en.arb --full_translation;\n```\n\n### Screenshots\n\n\u003cimg src=\"website/screenshots/all_in.png\" alt=\"Mac/iOS/Android Screenshot\" style=\"width:50%;\"\u003e\n\u003cimg src=\"website/screenshots/chat.png\" alt=\"Screenshot of Chat Screen\" style=\"width:50%;\"\u003e\n\u003cimg src=\"website/screenshots/settings.png\" alt=\"Screenshot of Settings Screen\" style=\"width:50%;\"\u003e\n\u003cimg src=\"website/screenshots/actions.png\" alt=\"Screenshot of Actions Menu\" style=\"width:50%;\"\u003e\n\n### Getting Started\n\nTo get started with ChitChat, clone this repository to your local machine and open it in your\npreferred IDE. Then, run the following command in the terminal to download the required\ndependencies:\n\n```bash\nflutter pub get\n```\n\nTo run the application, connect your device or emulator and run the following command:\n\n```bash\nflutter run\n```\n\nTo run on iPhone, need add `--release`\n```shell\n flutter run --release\n```\n\n## Getting Started for Flutter\nThis project is a starting point for a Flutter application.\n\nA few resources to get you started if this is your first Flutter project:\n\n- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)\n\nFor help getting started with Flutter development, view the\n[online documentation](https://docs.flutter.dev/), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjq%2Fchitchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpjq%2Fchitchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjq%2Fchitchat/lists"}