The WPH Cortana Proxy is a middleware tool for forwarding Microsoft's Cortana requests to services such as ChatGPT, Alexa, HomeKit and offers customization and extension options. This project is ideal for developers who want to integrate or extend the functionality of these voice assistants into their applications.
- Forwarding voice and text requests to various services including Cortana, ChatGPT, Alexa, and HomeKit.
- Modification of requests and responses.
- Easy integration into existing systems.
- Node.js (version 12 or newer)
- npm (Node Package Manager)
- Clone the repository:
git clone https://github.com/yourusername/wph-cortana-proxy.git cd wph-cortana-proxy
- Install the required packages:
npm install```
To start the WPH Cortana Proxy, run the following command in the project directory:
npm install
Edit the config.json file to set your specific settings (e.g., server port, API keys for Cortana, ChatGPT, Alexa, and HomeKit).
Here is a simple example of how to use the proxy in your code:
const cortanaProxy = require('wph-cortana-proxy');
cortanaProxy.sendRequest('What will the weather be like tomorrow?', (response) => {
console.log('Response from the assistant: ', response);
});
Contributions to the WPH Cortana Proxy are always welcome. If you would like to contribute, please fork the repository and submit a pull request.
This project is licensed under the xxx. For more information, see the LICENSE file.