Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuingsmile/word-gpt-plus
Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft Word. Both official and web api is supported.
https://github.com/kuingsmile/word-gpt-plus
chatgpt copilot office office365 openai word
Last synced: 3 months ago
JSON representation
Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft Word. Both official and web api is supported.
- Host: GitHub
- URL: https://github.com/kuingsmile/word-gpt-plus
- Owner: Kuingsmile
- License: mit
- Created: 2023-04-24T01:22:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-16T04:52:35.000Z (4 months ago)
- Last Synced: 2024-07-31T08:19:20.359Z (3 months ago)
- Topics: chatgpt, copilot, office, office365, openai, word
- Language: TypeScript
- Homepage:
- Size: 641 KB
- Stars: 669
- Watchers: 15
- Forks: 102
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ChatGPT-repositories - word-GPT-Plus - Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft Word. Both official and web api is supported. (Chatbots)
README
English | [简体中文](https://github.com/Kuingsmile/word-GPT-Plus/blob/master/README_cn.md)
## Introduction
Word GPT Plus is a word add-in which integrates the chatGPT model into Microsoft Word. It allows you to generate text based on the text you have written in your document. You can use it to translate, summarize, polish or even write a whole document from zero.
## Features
- Built-in prompts for translation, summarization, polishing, and academic writing
- Multiple platforms supported
- OpenAI API
- Azure OpenAI API
- Ollama2
- Google PALM2 API
- Google Gemini Pro API
- Groq
- Support for multiple languages
- Custom prompts can be set and saved for future use
- Ability for users to set temperature and max tokens
- Proxy support![230424 091554](https://user-images.githubusercontent.com/96409857/233878627-6b5abdfd-7ff6-4818-8b26-d78f74ea0e85.gif)
![230424 091221](https://user-images.githubusercontent.com/96409857/233878368-3a793d8b-3740-4471-822b-0e062415b704.gif)## Requirements
### software
- Microsoft Word 2016/2019 retail version , Microsoft Word 2021 or Microsoft 365
- Edge WebView2 Runtime [https://developer.microsoft.com/en-us/microsoft-edge/webview2/](https://developer.microsoft.com/en-us/microsoft-edge/webview2/)
- if you use self-hosted service, you need Node.js 16+**Note: office add-in can only used in docx file, not support doc file.**
### account
Official API need an OpenAI api key, you can get it from [https://platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys)
You need to apply for qualification first, please go to [Azure OpenAI API application website](https://go.microsoft.com/fwlink/?linkid=2222006&clcid=0x409&culture=en-us&country=us) to apply for qualification.
You need to go to [Google AI](https://developers.generativeai.google/) to apply for qualification for Google PALM2 API.
Google Gemini Pro API's api key is the same as Google PALM2 API's api key, and the free version is currently limited to 60 requests per minute.
Groq's api key can be applied for at [https://console.groq.com/keys](https://console.groq.com/keys).
## Getting Started
There are two ways to install Word GPT Plus: through my free hosting service, or by self-hosting it.
I recommend utilizing my hosting service as it is both user-friendly and requires no installation of additional dependencies. Furthermore, you will have access to the most up-to-date version of Word GPT Plus at all times.
Rest assured that your privacy is protected as all data is saved using localStorage.
However, if you desire faster speeds and possess expertise with Node.js, self-hosting is also an option.
### Service hosted by me
#### localhost
This service is built using Cloudflare Pages, domain name: [https://word.msq.pub](https://word.msq.pub)
**For China users, there maybe some network problems, please use `ping word.msq.pub` to see if you can access the domain.**
**You can add `msq.pub` to your proxy software's rules, or use self-hosted.**
1. Download the add-in `manifest.xml` file and Save it to a directory on your computer, such as `C:\Users\username\Documents\WordGPT`.
- download: [manifest.xml](https://github.com/Kuingsmile/word-GPT-Plus/blob/master/release/instant-use/manifest.xml)
2. Follow the [Sideload add-in](#sideload-add-in) instructions below to install the add-in.
#### docker
You can also use docker to run the service, first docker pull the image, then run the container.
```bash
docker pull kuingsmile/word-gpt-plus
docker run -d -p 3000:80 kuingsmile/word-gpt-plus
```You need to modify all `[localhost:3000](http://localhost:3000)` in manifest.xml to your server address.
Follow the [Sideload add-in](#sideload-add-in) instructions below to install the add-in.
### Self-hosted
If you want to host the add-in yourself, you will need to clone this repo and install dependencies, then run the project. Need Node.js 16+.
```bash
git clone https://github.com/Kuingsmile/Word-GPT-Plus.git
yarn
yarn run serve
```[manifest.xml](https://github.com/Kuingsmile/word-GPT-Plus/blob/master/release/self-hosted/manifest.xml)
Then, follow the [Sideload add-in](#sideload-add-in) instructions below to install the add-in.
### Sideload add-in
To get started with Word GPT Plus, you will need to sideload the add-in into Microsoft Word.
You can find instructions provided by MicroSoft at the following link: [sideload office add-ins](https://learn.microsoft.com/en-us/office/dev/add-ins/testing/create-a-network-shared-folder-catalog-for-task-pane-and-content-add-ins)
1. Go to the folder where you saved the `manifest.xml` file, for example `C:\Users\username\Documents\WordGPT`.
2. Open the context menu for the folder(right-click the folder) and select **Properties**.
3. Within the **Properties** dialog box, select the **Sharing** tab, and then select **Share**.
![image](https://learn.microsoft.com/en-us/office/dev/add-ins/images/sideload-windows-properties-dialog.png)
4. Within the **Network access** dialog box, add yourself and any other users you want to share, choose the **Share** button, When you see confirmation that Your folder is shared, note the **full network path** that's displayed immediately following the folder name.
![image](https://learn.microsoft.com/en-us/office/dev/add-ins/images/sideload-windows-network-access-dialog.png)
5. Open a new document in Word, choose the **File** tab, and then choose **Options**.
6. Choose **Trust Center**, and then choose the **Trust Center Settings** button.
7. Choose **Trusted Add-in Catalogs**.
8. In the **Catalog Url** box, enter the **full network path** and then choose **Add Catalog**.
9. Select the **Show in Menu** check box, and then choose **OK**.
![image](https://learn.microsoft.com/en-us/office/dev/add-ins/images/sideload-windows-trust-center-dialog.png)
10. Close and then restart Word.
11. Click **Insert** > **My Add-ins** > **Shared Folder**, choose **GPT Plus**, and then choose **Add**.
12. Enjoy it!
![image](https://user-images.githubusercontent.com/96409857/234744280-9d9f13cf-536b-4fb5-adfa-cbec262d56a2.png)## How to fill in API key
After entering Word GPT Plus, click the orange `Settings` button on the homepage to enter the settings page, where you can switch APIs and fill in API keys.
## Contributing
If you have a suggestion that would make this better, please fork the repo and create a pull request.
## License
MIT License
## Show your support
Give a ⭐️ if this project helped you!