Skip to content

kanniwandie/GenAPK

Repository files navigation

intuition2025

Project Overview

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.

Features

  • 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.

Project Structure

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

Installation

  1. Clone the repository:
git clone <repo_url>
cd iNTUition
  1. Install dependencies:
pip install -r requirements.txt
  1. Install Android Studio (For Android App Projects)

Download Android Studio:

Installation Steps:

  • Linux:

    • Extract the downloaded .zip file.
    • Open a terminal, navigate to the extracted folder, and run:
      ./studio.sh
  • Windows:

    • Run the downloaded .exe installer and follow the installation wizard.

Initial Setup:

  • Launch Android Studio.
  • Complete the setup wizard by installing the Android SDK, accepting default settings, etc.

Usage

Run the Streamlit App:

streamlit run main.py

Project Workflow

  • 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.

Contributing

  1. Fork the repository
  2. Create a new feature branch
git checkout -b feature/new-feature
  1. Commit and push your changes
git commit -m "Add new feature"
git push origin feature/new-feature
  1. Open a pull request

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •