Hi! a pleasant day to each of you here in PHC!
"For Educational Purposes Only!!"
"For Educational Purposes Only!!"
What is OpenAI?
You do not have permission to view the full content of this post. Log in or register now.is a research company that aims to create safe and beneficial artificial intelligence. It was founded in December 2015 by a group of philanthropists and researchers, including Elon Musk, Sam Altman, Greg Brockman, Ilya Sutskever, and Wojciech Zaremba, among others. The company's mission is to promote and develop friendly AI for the betterment of society. OpenAI also provides machine learning tools and APIs for developers, researchers, and businesses to create intelligent applications that can impact various sectors of the economy.
What is included in this source code?
- OpenAI API
- Facebook Chat API
- OpenWeatherMap API
- DALL-E
- Nodejs Modules
Added Message History: The AI can only remember the past 10 conversations to save usage from the OpenAI API .

tested on:
-termux android with packages
-linux
-windows
Notes:
No need to install dependencies.
Use nodejs v15 up. If not working on nodejs v19. downgrade, use You do not have permission to view the full content of this post. Log in or register now..
Default commands to trigger the bot or ai:
/start - starts to listen for any incoming messages.
/help - show list of commands to trigger the bot.
/forecast 'iNPUT CITY NAME'- show weather forecast.
/weather 'INPUT CITY NAME'- show current weather
/img 'ANY COMMANDS eg. image of a pug'- Generate an image
/ai 'YOUR QUESTION'- Ask the AI
/stop - Stop
/continue - continue the ai
/mp3 - request mp3
/define -defines a phrase or word from Google
/imgSearch- search image from google
/gpt4 expert - expert Search
/aiinternet - gpt w/ web access
Changelogs:
Added GPT4:

Added Custom Prompts:
/dan

/dev

/math

/evil

Added internet access.
Install Python
sudo apt install python3Install PIP
sudo apt install pip3Change Directory
cd openai-messenger-publicInstall Dependencies
pip3 install -r requirements.txtTo show the full path of openai-messenger-public
realpath index.jsLinux
export PYTHONPATH="${PYTHONPATH}:/path/to/your/project/"Windows command so that python will work on the currect directory when the code runs this commandpython expert.py
set PYTHONPATH=%PYTHONPATH%;C:\path\to\your\project\Run the bot
node execute.jsGet cf_clearance
Network Tab>Cookies/Network Tab>HeadersSend this to the bot to set:
/cf 'your cf_clearance' set cf_clearance/ua 'your user_agent' set user_agentSend message to the bot
/gpt expert 'your question' /gpt 'your question'The phind.com gpt4 search isnt working anymore, I'll update it as soon as there's a new bypass.
Installation:
sudo apt install nodejs-linux
apt instal nodejs - You do not have permission to view the full content of this post. Log in or register now.
windows-You do not have permission to view the full content of this post. Log in or register now.
Step 1: Get your fb state.
- Login to your dummy account.
- You are going to make your dummy account as the bot or the AI..
- Install cookie editor extention.
- Export cookie.
- Paste it inside session.json.
- Edit the session.json, search for value "name" rename it all with the value "key".
- Go to You do not have permission to view the full content of this post. Log in or register now.
- Paste it inside the api_key.json
- Go to openweather map sign up and get your apikey.
- You do not have permission to view the full content of this post. Log in or register now.
- Paste it inside
- ../functions/forecast.js
- ../functions/weather.js
Code:
node execute.js
𝐃𝐎𝐖𝐍𝐋𝐎𝐀𝐃 𝐋𝐈𝐍𝐊 𝐔𝐏𝐃𝐀𝐓𝐄𝐃
[You do not have permission to view the full content of this post. Log in or register now.]
[You do not have permission to view the full content of this post. Log in or register now.]
Instructions:
If you have any comments or suggestions, please feel free to comment or PM me. Thank you.
If you want to support you can donate any amount into my:
Spoiler contents are visible only to Established Members.
Windows:
View attachment Untitled design.mp4
Android tutorial:
View attachment Untitled design_3.mp4
REPLIT:
View attachment Untitled design.mp4
Credits and contributors:
-fb-chat-api
-openai
-openweather map
-maryrose143 thread
-wab0u
Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without losing something." - Richard Stallman
