Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.
/ AppWish Public archive

An artificial intelligence-based Java application generator

License

Notifications You must be signed in to change notification settings

pwgit-create/AppWish

Repository files navigation

Turn Your App Ideas into Reality!

Introducing App Wish, a groundbreaking platform that empowers you to transform your app concepts into fully functional applications. Powered by an advanced Open AI model called davinci , App Wish takes your requests and generates the necessary code to build your app.

With App Wish, you can unleash your creativity without worrying about the complexities of coding. Whether you're a seasoned developer or a non-technical individual, this platform bridges the gap, making app development accessible to all.

Note: Please keep in mind that while App Wish strives to generate functional code, it's important to review and refine the output to ensure it aligns with your specific requirements and best practices.


IMPORTANT INFO

Unfortunately, the OPENAI models are limiting the use of code generation. In order to solve this problem, I initiated the process of creating a new repository that utilizes local LLMs. Stay tuned for the repository that will be up here shortly and utilizes ollama.

AppWish Quick Start Guide:

Follow these simple steps to get started with AppWish:

1. Set up your OPENAI API key

Make sure you have the OPEN AI KEY!!

On Linux

Add your OPENAI API key as an environment variable by executing the following command in the terminal: export OPENAI_TOKEN=YOUR_KEY

On Windows

Add a new environment variable for your user called OPENAI_TOKEN and use your OPENAI API key as value See article from howtogeek for more information: https://www.howtogeek.com/787217/how-to-edit-environment-variables-on-windows-10-or-11/

2.1 Enable running unsigned scripts. (This step is only needed on Windows platforms)
  2.1.1 Start Windows PowerShell with the "Run as Administrator" option
  2.1.2 Enter: set-executionpolicy remotesigned in the console
  
  Note: This is needed for allowing the powershell compile script to execute if 
  script running is disabled. It will allow local scripts to be run but 
  not remote ones (on your computer):

  Note-2: If you still can't run the compile script (on a Windows computer), you can set the value to Unrestricted (see below)
  set-executionpolicy Unrestricted

2. In your terminal (CMD or Powershell on Windows and BASH on Linux), use the following command to start the application:

On Linux: make run
On Windows( powershell or cmd): make run-win

3. Once the application is running, you'll find a text box provided.

Write down the desired features and specifications for your application in the text box. Generate your application:

4. After defining your application features, click on the "Create" button.

With these steps, you'll be on your way to generating your desired application using AppWish. Get ready to witness the magic of turning your ideas into reality!

Note: Make sure to replace "YOUR_KEY" in Step 1 with your actual OPENAI API key for successful integration.

If you have any further questions or need assistance, feel free to ask. Happy app building with AppWish!

🐧

Discover the Path to Your Generated App Folder!

The apps generated by App Wish are now conveniently saved in a designated folder. You can find them at the following location:

On Linux: AppWish/AppWish/src/main/resources/java_source_code_classes_tmp

On Windows AppWish\AppWish\src\main\resources\java_source_code_classes_tmp

Project information

App Wish Generation Tips

  1. If you desire a window app, add “with gui” to your text.
    Example: mp3 player with gui
  2. If you desire user input to your app, add “with user input to your text”.
    Example: calculator with gui “and user input”

System Requirements

  1. Linux / Windows
  2. Java
  3. MVN
  4. Make
Credentials requirements (Needed for API Key)

Unlock the Power of External Libraries for Your App Wishes!

Imagine a scenario where your app wishes are granted with incredible code, but you encounter a small hurdle - some of the required libraries don't exist in your current environment. Don't worry, we've got you covered!

App Wish provides a seamless solution to this challenge. If the generated code relies on non-existing libraries, you can easily incorporate them externally by downloading the necessary JAR files from the trusted Maven Repository. Once downloaded, simply add these libraries to your classpath, and watch your app come to life!

To assist you further, we've prepared a helpful video tutorial. It guides you through the process of adding external libraries and ensuring they seamlessly integrate into your project. Check out the following link to access the video and learn how to effortlessly overcome this obstacle:

Video Tutorial: Adding External Libraries to Your App

Videos - App Generation

Videos - Setup instructions

Windows

Linux

Download links for application needed for appWish to work