Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

olyraywhatsgpt

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

olyraywhatsgpt

WhatsGPT allows you to create an AI chatbot on whatsapp. It makes use of Twilio and OpenAI's API.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

WhatsGPT

WhatsGPT allows you to create an AI chatbot on whatsapp. It makes use of Twilio and OpenAI's API.

Installation

  1. Clone the repository:
    git clone https://github.com/Olyray/WhatsGPT
    
    
  2. Navigate to the project directory:
    cd WhatsGPT
    
    
  3. Install the required packages:
    npm install
    

Usage

  1. Set up the environment variables: The API makes use of OpenAI's API and Twilio.

Then use the provided .env.example as template. Rename it to .env and use it to fill in your API credentials. Learn how to use OpenAI's APi here

For Twilio, you can follow its node.js quickstart to get familiar with its API.

The script also uses postgreSQL as its database.

  1. Run the node app:
    node index.js
    

This would start the node server. If you're running the server locally, you'll need to use ngrok with to publicly expose your server for use within twilio.

After this, you should be able to chat with your bot.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

FAQs

Package last updated on 14 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc