GitHub - woniesong92/react-in-chatgpt: React in ChatGPT is a Chrome Extension that lets you render React components in ChatGPT

3 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

React in ChatGPT is a Chrome Extension that lets you render React components in ChatGPT

License

MIT license

4 stars 2 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Repository files navigation

React in ChatGPT

React in ChatGPT is a Chrome Extension that lets you render React components with tailwindcss directly in ChatGPT

Demo

demo.webm

Quickstart

  1. Install the Chrome Extension
  2. Go to ChatGPT
  3. Ask ChatGPT to write a React component for you (e.g. "Write a simple React component for a SignUpForm with tailwindcss")
  4. Click the "Render component" button next to the "Copy code" button

Development

  1. Clone the repository
  2. Run npm install
  3. Run npm start
  4. Go to chrome://extensions in your browser
  5. Enable the developer mode
  6. Click "Load unpacked" button and select the /build folder

Build

  1. Run NODE_ENV=production npm run build
  2. Submit the contents in the /build following the official publishing guide

Note that only the changes in the Popup component are hot reloaded. For changes in other surfaces (e.g. Content Script), you have to reload the chrome extension and refresh the webpage to see the changes in effect.

References

About

React in ChatGPT is a Chrome Extension that lets you render React components in ChatGPT

Resources

Readme

License

MIT license

Activity

Stars

4 stars

Watchers

1 watching

Forks

2 forks

Releases

No releases published

Packages

No packages published