This repository contains a Streamlit-based web application integrated with Google Generative AI (Gemini) to automatically generate and manage Android application projects using natural language prompts.
- Natural Language to Android App: Converts user prompts into fully functional Android apps.
- Automated Gradle Building: Automatically handles the building and compiling of Android apps.
- Streamlit Interface: User-friendly web-based interface.
iNTUition/
├── pages/
│ ├── chat.py # Chat interface with Gemini AI
│ ├── code.py # Code viewer and project handler
│ └── present.py # Presentation page
├── template/
│ ├── MyApp/ # Android app template
│ └── template.yaml
├── transform.py # Transforms user prompts into Android apps
├── build.py # Automates Gradle build
├── uploadtonet.py # Handles file uploads
├── requestapi.py # API requests and handling
├── schema.py # Database or data schema management
└── ask.py # Interface for AI queries
- Clone the repository:
git clone <repo_url>
cd iNTUition
- Install dependencies:
pip install -r requirements.txt
- Install Android Studio (For Android App Projects)
Download Android Studio:
- Visit the Android Studio website and download the installer for your operating system.
Installation Steps:
-
Linux:
- Extract the downloaded
.zip
file. - Open a terminal, navigate to the extracted folder, and run:
./studio.sh
- Extract the downloaded
-
Windows:
- Run the downloaded
.exe
installer and follow the installation wizard.
- Run the downloaded
Initial Setup:
- Launch Android Studio.
- Complete the setup wizard by installing the Android SDK, accepting default settings, etc.
streamlit run main.py
- Enter your app idea in the chat interface.
- The AI generates an Android project based on your idea.
- Review the generated code and build the app directly through the provided interface.
- Fork the repository
- Create a new feature branch
git checkout -b feature/new-feature
- Commit and push your changes
git commit -m "Add new feature"
git push origin feature/new-feature
- Open a pull request
This project is licensed under the MIT License.