Warning This is a work-in-progress and not the finished product.
Feel free to leave feature suggestions
"What If?" is an application that uses AI to create images from text.
-
Generate Image from Text: Transform your text input into a visually appealing image, making it more engaging and shareable across various platforms.
-
Post Generated Image: Easily share your generated image with others by posting it within the application, allowing users to view and interact with your content.
-
Follow Other Users: Stay connected with other users by following their profiles, ensuring you never miss out on their latest posts and updates.
-
Like Others' Posts: Show your appreciation for other users' content by liking their posts, fostering a positive and supportive community within the application.
- Flutter used for building the frontend of the application.
- Supabase used for backend and storage.
- Monsterapi used to generate images for the application.
- Aptabase used for analytics.
To set up and run the Flutter project locally, follow these steps:
-
Clone the project repository using Git:
git clone [email protected]:mohammadhprp/what-if.git
-
Navigate to the project directory:
cd what-if
-
Install the project dependencies by running the following command:
flutter pub get
-
Locate the .env.example file in the project's root directory and make a copy of it named .env.
-
Open the .env file and provide the necessary values for the following environment variables:
-
Get SUPABASE_URL and SUPABASE_ANON_KEY: Sign in to your Supabase account at supabase.com, and navigate to the API settings of your project. Copy the
SUPABASE_URL
andSUPABASE_ANON_KEY
values and add them to your .env file -
Get MASTER_API_BEARER_TOKEN and MASTER_API_X_API_KEY: Sign up for an account at monsterapi.ai, and obtain the
MASTER_API_BEARER_TOKEN
andMASTER_API_X_API_KEY
values. Add these values to your .env file. -
Get APTABASE_KEY: Sign up for an account at aptabase.com, and obtain the
APTABASE_KEY
value. Add these value to your .env file
-
-
Save the changes to the .env file.
-
Run the Flutter project using the following command:
flutter run
This command will launch the project on your connected device or emulator.
- Fork the repository.
- Create a new branch for your feature.
- Make your changes and commit them with clear commit messages.
- Submit a pull request to the
master
branch.
This project is licensed under the MIT License - see the LICENSE file for details.