搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫dizzpy/Gemini-Ai-ChatApp

Gemini-Ai-ChatApp

一個使用 Google Gemini API 與 AI 聊天的 Flutter 應用,支援 Markdown 回應與深色/淺色模式。

Gemini-Ai-ChatApp 專案封面
星標
2
分支
0
最近推送(UTC)
2025年6月17日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

AI Chat App

Overview

AI Chat App is a Flutter-based application that interacts with the Google Gemini API. It supports both dark and light modes, allows you to clear current and new chats, and provides responses in Markdown format. The app also memorizes previous messages to maintain context.

Features

  • Markdown Responses: Responses from the AI come in Markdown format.
  • Message History: The app can remember previous messages.
  • Dark Mode & Light Mode: Toggle between dark and light themes.
  • Clear Chat: Option to clear current chat and start a new conversation.

Getting Started

To get started with the AI Chat App, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/dizzpy/Gemini-Ai-ChatApp.git
    cd ai_chat_app
    
  2. Add Your Gemini API Key:

    • Open lib/const/api_key.dart.
    • Add your Gemini API key in the apiKey variable.
    final String apiKey = 'YOUR_GEMINI_API_KEY_HERE';
    
  3. Install Dependencies:

    flutter pub get
    
  4. Run the App:

    flutter run
    

Usage

  • Toggle Dark/Light Mode: Use the icon in the app bar to switch between dark and light themes.
  • Start a New Chat: Use the "New Chat" button to clear the current chat and begin a new conversation.
  • View Responses: Responses from the AI will be displayed in Markdown format.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

Anuja Rathnayaka GitHub avatar
GitHub 作者

Anuja Rathnayaka ↗

I code bugs for living :)

@EncrivoLabsAndromeda Galaxy
語言DartRubySwiftKotlinObjective-C

分類

使用的依賴

依賴清單 10 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗