kyleliang919 / The-Everything-App

One App to rule them all, powered by ChatGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

The Everything App

One App to rule them All!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

OpenAI just released chatGPT. It can do many amazing things. But it comes with some limitation: it doesn't have access to open internet, hence it only knows what it knows; It knows how to do things but it can't actually do it for you; This explorative project aims to:

  • provide an interface to interact with chatGPT programatically
  • give chatgpt the ability to interact with the real world (through exisiting or imaginary App APIs, which we will build)

(back to top)

Built With

  • ChatGPT

(back to top)

Getting Started

Instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

Things you need to use the software and how to install them.

  • Python3.7 or above
  • Chrome (preferably latest version)

Installation

Installing and setting up your app.

  1. Clone the repo
    git clone https://github.com/kyleliang919/The-Everything-App.git
  2. Install requirements
    pip install -r requirements.txt
  3. Setting up your app credientials in a yaml file, for example
  openai:
    email: YOUR_EMAIL
    password: YOUR_PASSWORD
  twitter:
    consumer_key: YOUR_CONSUMER_KEY
    consumer_secret: YOUR_CONSUMER_SECRET
    access_token: YOUR_ACCESS_TOKEN
    access_token_secret: YOUR_ACESS_TOKEN_SECRET
    client_id: YOUR_CLIENT_ID
    client_secret: YOUR_CLIENT-SECRET
  gmail:
    sender_email : YOUR_EMAIL
    sender_password : YOUR_PASSWORD
    receiver_email : RECEIVER_EMAIL
    subject : YOUR_SUBJECT
    body : YOUR_EMAIL_BODY
  youtube:
    api_key : YOUR_API_KEY

(back to top)

Usage

Useful examples of how a project can be used. Link to more resources, Additional screenshots, code examples and demos.

  python src/main.py --yaml <path_to_yaml>

App-specific usage:

  • OpenAI: Sign up an OpenAI account, and fill in your password in the yaml.

  • Twitter: Register a client and fill in required items in the yaml.

  • Gmail: You will need to generate Google App passward for gmail, and fill it in sender_password in the yaml.

    Please refer to Create & use App Passwords section on https://support.google.com/accounts/answer/185833?hl=en.

    When sending emails using ChatGPT, please use this prompt: "Write an email from xx to xx using stmi gmail package."

  • Youtube: uses Youtube Data API V3 package. You need to install pip install google-api-python-client and login to your google cloud console https://console.cloud.google.com/projectselector2/apis/credentials?supportedpurview=project. Press Create Project then create credential and add a new Api_key. Copy the generated api_key to the Yaml.

    Then if you saw 400 error while running the code, go back to your gogole cloud console and click Eable API Services and look for YouTube Data API v3 in the filter, and click enable app.

    reference: https://developers.google.com/youtube/registering_an_application

    • useful commands : write python code to show me the most popular 10 videos on YouTube (using google app api).

Useful Commands and Prompt Templates:

Answer in python code only: with API, things you want to do This will prompt chatgpt to generate API python calls
run it run the code generated, it only works only if the last command generated python code
exit quiting the chatbot

(back to top)

Roadmap

  • Basic functionality of chatgpt
  • First App integrated with limited functionalities
  • Basic documentations
  • Supporting more apps
  • Multi-language Support
    • English
    • Chinese
  • Replace with Official API once released

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Kaizhao Liang - @KyleLiang5 - kyleliang919@gmail.com

Project Link: https://github.com/kyleliang919/The-Everything-App

(back to top)

Acknowledgments

TBD

(back to top)

About

One App to rule them all, powered by ChatGPT

License:MIT License


Languages

Language:Python 100.0%