Skip to content

NextWordDev/chatgpt-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Plugins Examples

This repository contains examples of ChatGPT plugins that you can use as a starter code.

  • Stock and Crypto Price Plugin

Stock and Crypto Price Plugin

This ChatGPT plugin allows you to fetch real-time stock and cryptocurrency prices directly within ChatGPT. With this plugin, you can easily inquire about the latest trading prices for popular stocks like Apple (AAPL) and cryptocurrencies like Bitcoin (BTC).

Usage

Here are some example queries you can use with this plugin:

  • "Where is Tesla trading at?"
  • "What is the current price of ETH/USD?"
  • "How much is Amazon stock worth right now?"

Features

  • Fetch real-time stock prices for publicly traded companies
  • Fetch real-time cryptocurrency prices in USD
  • Seamlessly integrate with ChatGPT to provide up-to-date market information

Getting Started

To get started with this plugin, follow these steps:

  1. First, clone this repo.

  2. Next, get an API key from Alpaca markets

Then create a .env file in the root directory like this:

ACCESS_KEY=<access>
SECRET_KEY=<secret>
  1. Next, start the FASTAPI server, which will get the Rest API for your plugin up and running.
poetry install && poetry run dev 

The above will run the server at port 5000.

  1. Note, you would first need access to the developer preview of ChatGPT plugins, which you can apply for here:
  1. Now, you are ready to install the plugin and start using it.

From the front-end:

  1. Install the plugin from the ChatGPT plugin store.
  2. Once installed, you can start using the plugin by asking ChatGPT questions about stock and crypto prices. For example:
    • "What is the current price of Apple stock?"
    • "What is the current price of Bitcoin in USD?"

Contributing

We welcome contributions to this plugin! If you have any ideas for improvements or new features, please feel free to open an issue or submit a pull request.

License

This plugin is licensed under the MIT License.

Contact

For any questions or support, please contact us at public@nextword.dev.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages