Giter Club home page Giter Club logo

wgpt's Introduction

wgpt

npm npm NPM

wgpt is an npm package that allows you to interact with an ChatGPT right from your terminal. With wgpt, you can easily send messages to the AI chat, get responses, and even perform rephrasing or add code snippets to your messages. It's a convenient tool for experimenting with AI and generating creative responses.

Installation

To install wgpt, make sure you have Node.js and npm installed on your system. Then, run the following command:

npm install -g wgpt

The -g flag ensures that wgpt is installed globally on your system, making it accessible from any directory.

Helping And Contributing

Help wgpt by giving it stars on GitHub repository.

Also contributions to wgpt are welcome! If you find any issues or have ideas for improvements, feel free to open an issue or submit a pull request on the GitHub repository.

Usage

wgpt can be used directly from the terminal. Here are some examples of how to use it:

# Send a simple message to the AI chat
wgpt 'Hello, AI!'
# Add 'Write code for' at start of message
wgpt -c 'Hello World'
# Add 'Rephrase it in 3 ways: ' at start of message
wgpt -p 'How are you?'
# To check version
wgpt -v
#To ask help
wgpt -h
# or
wgpt --help

The command-line arguments are as follows:

  • -v: Display version information from the package.json.

  • -c: Add "Write code for" at the start of your message.

  • -p: Add "Rephrase it in 3 ways: " at the start of your message.

  • -h or --help: Show help and usage information.

Features

  • Send messages to an AI chat and receive responses.
  • Rephrase your messages in three different ways and copy the results to the clipboard.
  • Add code snippets to your messages for the AI to process.

License

wgpt is open-source software licensed under the MIT License.

Author

wgpt is authored by Muhammad Haris. You can contact the author via email.

Acknowledgments

wgpt was inspired by the desire to make AI interactions more accessible and user-friendly.

wgpt's People

Contributors

muhiris avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.