Prompt Craft is a modern Android application that helps users create high-quality, effective prompts for generative AI models using Google Gemini API. The app features a clean, Material 3 design with dark mode by default and follows modern Android development best practices.
- AI-Powered Prompt Enhancement: Uses Google Gemini API to enhance user prompts
- Prompt Type Selection: Support for various prompt engineering techniques (Zero-Shot, Few-Shot, Chain-of-Thought, Role-Playing, etc.)
- History Management: Local storage of enhanced prompts with Room database
- User Authentication: Google Sign-In and Guest mode support
- Material 3 Design: Modern, clean interface following Google's design guidelines
- Dark Mode Default: Dark theme by default with light mode toggle
- Responsive Layout: Optimized for different screen sizes
- Bottom Navigation: Easy access to Home and History screens
- Copy & Edit: Easy prompt copying and editing functionality
- MVVM Architecture: Clean, maintainable code structure
- Single Activity: Modern navigation with Jetpack Compose
- Dependency Injection: Hilt for clean dependency management
- Coroutines & Flows: Asynchronous operations and reactive UI
- Room Database: Local data persistence for history
- Choose "Sign in with Google" or "Continue as Guest"
- Access the main prompt enhancement screen
- Enter your initial prompt in the text field
- Select prompt types or use "Auto" for automatic selection
- Tap "Enhance Prompt"
- If the AI needs more information, answer the follow-up question
- View, copy, or edit the enhanced prompt
- Tap the "History" tab in bottom navigation
- View all previously enhanced prompts
- Tap any item to expand and see details
- Copy original or enhanced prompts
- Delete unwanted prompts
- Tap the settings icon in the top bar
- Toggle between dark and light modes
- View app information
- Language: Kotlin
- UI: Jetpack Compose + Material 3
- Architecture: MVVM with Repository pattern
- Dependency Injection: Hilt
- Database: Room
- Navigation: Jetpack Navigation Compose
- Async: Kotlin Coroutines + Flows
- Authentication: Firebase Authentication
- AI Integration: Google Gemini API
- Version Control: Git
app/src/main/java/com/pranav/prompt-craft/
├── data/
│ ├── database/ # Room database setup
│ └── repository/ # Repository implementations
├── domain/
│ ├── model/ # Domain models
│ └── repository/ # Repository interfaces
├── presentation/
│ ├── screens/ # Compose screens
│ ├── components/ # Reusable UI components
│ ├── viewmodels/ # ViewModels
│ └── navigation/ # Navigation setup
├── di/ # Hilt dependency injection modules
└── ui/theme/ # Theme and styling
- Android Studio Hedgehog or later
- Android SDK 26 (Android 8.0) or higher
- Google Gemini API key
- Firebase project (for authentication)
git clone https://github.com/pranav-wakode/prompt-craft.git
cd prompt-craft- This project uses local.properties to handle secret keys securely.
- Create a file named local.properties in the root directory of the project.
- Add your Gemini API key to this file:
GEMINI_API_KEY=AIz......................................- Create a Firebase project at Firebase Console
- Add your Android app to the project
- Download
google-services.jsonand place it in theapp/directory - Enable Authentication and configure Google Sign-In provider
- Open the project in Android Studio
- Sync the project (Gradle sync)
- Build and run on device or emulator
- Model: Domain entities and data models
- View: Jetpack Compose UI components
- ViewModel: Business logic and state management
- Clean separation between data sources and business logic
- Abstract interfaces in domain layer
- Concrete implementations in data layer
- Implement proper Google Sign-In flow
- Add prompt templates
- Support for multiple AI models
- Export/import functionality
- Advanced prompt analytics
- Offline mode capabilities
- Prompt sharing features





