Skip to content

Commit

Permalink
added: how to run instructions for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zain-ul-din committed Sep 23, 2023
1 parent a741d47 commit 178095c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
10 changes: 10 additions & 0 deletions builds/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"net/http"
"os"
"os/exec"
"strings"

"github.com/sqweek/dialog"
)
Expand Down Expand Up @@ -111,6 +112,15 @@ func run_bot() {
println("\r OR ")
println("\r - copy & paste following code in command prompt\n pushd D: && cd " + pwd + " && npx yarn dev\n\n")

// Setup Guide to file

how_to_run_file, _ := os.Create("run instruction.txt")

how_to_run_file.WriteString(
"-> Go to Search Box \n-> type cmd & press enter\n-> paste following in code in cmd\n\n" +
"pushd " + strings.Split(pwd, ":")[0] + ": & cd " + pwd + " & npx yarn & npx yarn dev")
how_to_run_file.Close()

// clean up directories

os.Remove("../node-setup.msi")
Expand Down
Binary file modified builds/whatsapp-ai-bot_windows.exe
Binary file not shown.
9 changes: 7 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
![Banner (1)](https://user-images.githubusercontent.com/78583049/222102919-9d09417d-7e44-4efd-b482-f5893c7bc5f6.png)



### The WhatsApp AI Bot is a chatbot that uses AI models APIs to generate responses to user input. The bot supports several AI models, including **`CHAT-GPT`**, **`DALL-E`**, and **`Stability AI`**, and users can also create their **`own models`** to customize the bot's behavior.


### Tutorials
- **[Setup bot on cloud using Github code-spaces](https://www.youtube.com/watch?v=QahJSi6Ygj4)**
- **[setup bot on a local machine](https://www.youtube.com/watch?v=fyPD3ILFPck)**

### Installation

- [Download For Windows](https://github.com/Zain-ul-din/whatsapp-ai-bot/raw/master/builds/whatsapp-ai-bot_windows.exe)


### FQA

- [How to create custom model](https://github.com/Zain-ul-din/whatsapp-ai-bot/issues/3)
Expand Down Expand Up @@ -135,4 +140,4 @@ This bot utilizes Puppeteer to operate an actual instance of Whatsapp Web to pre
<div align="center">
<a href="https://www.buymeacoffee.com/zainuldin" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

</div>
</div>

0 comments on commit 178095c

Please sign in to comment.