Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jja08111 committed Jul 21, 2024
1 parent 25f3ec6 commit cfd8486
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 6 deletions.
50 changes: 44 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,46 @@
# Gemini Demo App
# Gemini Android

**Goals**
| Chat | Take picture | Pick images |
|------------------------|----------------------------------------|--------------------------------------|
| ![chat](docs/chat.gif) | ![take_picture](docs/take_picture.gif) | ![pick_images](docs/pick_images.gif) |

- [ ] Improving reusability and scalability by using modularization
- [ ] Supporting the wearable OS
- [ ] Supporting talk to chat
- [ ] Adapting to diverse display sizes, including tablets and foldable devices.
| Regenerate | Select response |
|------------------------------------|----------------------------------------------|
| ![regenerate](docs/regenerate.gif) | ![select-response](docs/select_response.gif) |

## How to run?

1. [Create a Gemini API key](https://ai.google.dev/gemini-api/docs/api-key).
2. Create a `secrets.properties` file in a root directory.
3. Setup the API key in the `secrets.properties`.
```properties
GEMINI_API_KEY=YOUR_API_KEY
```
4. Build and run the App.

## Features

- Chat with **Gemini AI** using text messages and images.
- Save chat history in the local database using Android Room.
- (Upcoming) Support for Wear OS integration.

## Tech stacks

- 100% Jetpack Compose based + Coroutines + Flow for asynchronous.
- Gemini SDK
- Jetpack
- Compose
- ViewModel
- Hilt
- Room
- Glide
- Robolectric

## Architecture

Gemini Android follows the
[Google's official architecture guidance](https://developer.android.com/topic/architecture)

## ERD

![erd](docs/erd.png)
Binary file added docs/chat.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/erd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/pick_images.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/regenerate.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/select_response.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/take_picture.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cfd8486

Please sign in to comment.