Code Monkey home page Code Monkey logo

word-gpt-plus's Introduction

Logo

Word & chatGPT

English | 简体中文

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

  • Utilize the GPT-3.5 API to generate text and support select models
  • Support chatGPT web api using access Token, it's FREE!
  • Built-in prompts for translation, summarization, polishing, and academic writing
  • 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 230424 091221

Requirements

software

account

Official API need an OpenAI api key, you can get it from https://platform.openai.com/account/api-keys

Web API need an access token of chatGPT website, you can get it from access token

Note: office add-in can only used in docx file, not support doc file.

Getting Started

There are two ways to install Word GPT Plus: through my free hosting service, or by self-hosting it.

I highly 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

This service is built using Cloudflare Pages, domain name: 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.
  1. Follow the 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+.

git clone https://github.com/Kuingsmile/Word-GPT-Plus.git
yarn
yarn run serve

Then, follow the 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

  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
  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
  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
  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

How to get access token

email + password accounts

To use ChatGPT web API, you'll need an OpenAI access token from the ChatGPT webapp. To do this, you can use any of the following methods which take an email and password and return an access token:

These libraries work with email + password accounts (e.g., they do not support accounts where you auth via Microsoft / Google).

Microsoft / Google accounts

Alternatively, you can manually get an accessToken by logging in to the ChatGPT webapp and then opening https://chat.openai.com/api/auth/session, which will return a JSON object containing your accessToken string.

Access tokens last for days.

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!

word-gpt-plus's People

Contributors

kuingsmile avatar

Watchers

 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.