GithubHelp home page GithubHelp logo

mayooear / gpt-react-typescript-chrome-extension-starter Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 3.0 204 KB

A minimalist Chrome Extension starter built with React + Vite + TailwindCSS + Typescript+ OpenAI's GPT-3 model

License: MIT License

CSS 1.84% TypeScript 68.11% HTML 21.04% Shell 1.06% JavaScript 7.94%
chrome chrome-extension crxjs openai react starter tailwindcss typescript vite

gpt-react-typescript-chrome-extension-starter's Introduction

Minimalist OpenAI Chrome Extension Starter Using React, Vite, TailwindCSS and OpenAI

Installation

Replace .env.example with .env and insert your OpenAI key as the value for VITE_Open_AI_Key

In the src/utils folder, you will find the reconfigured openai function to be imported and used within other modules.

Loading unpacked extension

  1. Go to the Extensions page by entering chrome://extensions in a new tab. (By design chrome:// URLs are not linkable.)

Alternatively, click on the Extensions menu puzzle button and select Manage Extensions at the bottom of the menu. Or, click the Chrome menu, hover over More Tools, then select Extensions.

  1. Enable Developer Mode by clicking the toggle switch next to Developer mode.

  2. Click the Load unpacked button and select the extension directory.

CRXJS Vite Plugin

This starter uses CRXJS Vite plugin.

CRXJS Vite Plugin is a tool that helps you make Chrome Extensions using modern web development technology.

Things like HMR and static asset imports work out of the box so you can get started making a modern Chrome Extension, not configuring build tools.

CRXJS parses manifest.json to find the files to include in your extension. The manifest is the central document that declares most of the files and configuration for your extension, why do we need more?

Docs

Chrome extension guidelines

  • If you update content script, refresh the extension in chrome 'manage extensions' page

gpt-react-typescript-chrome-extension-starter's People

Contributors

mayooear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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