• Stars
    star
    936
  • Rank 48,823 (Top 1.0 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 5 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ–₯️ Web Extension starter kit built with React, TypeScript, TailwindCSS, Storybook, Jest, EsLint, Prettier, and Webpack. Supports Google Chrome + Mozilla Firefox + Brave Browser + Microsoft Edge + Opera πŸ”₯

GitHub stars GitHub watchers GitHub forks GitHub contributors MIT License GitHub issues GitHub last commit GitHub pull requests PR's Welcome

HitCount Tweet Twitter Follow

React TypeScript Web Extension Starter

πŸ–₯️ A Web Extension starter kit built with React, TypeScript, Storybook, EsLint, Prettier, Jest, TailwindCSS, & Webpack. Compatible with Google Chrome, Mozilla Firefox, Brave, and Microsoft Edge.

Example Extension Popup

Getting Started

Run the following commands to install dependencies and start developing

yarn install
yarn dev

Scripts

  • yarn dev - run webpack in watch mode
  • yarn storybook - runs the Storybook server
  • yarn build - builds the production-ready unpacked extension
  • yarn test -u - runs Jest + updates test snapshots
  • yarn lint - runs EsLint
  • yarn prettify - runs Prettier
Loading the extension in Google Chrome

In Google Chrome, open up chrome://extensions in a new tab. Make sure the Developer Mode checkbox in the upper-right corner is turned on. Click Load unpacked and select the dist directory in this repository - your extension should now be loaded.

Installed Extension in Google Chrome

Loading the extension in Brave

In Brave, open up brave://extensions in a new tab. Make sure the Developer Mode checkbox in the upper-right corner is turned on. Click Load unpacked and select the dist directory in this repository - your extension should now be loaded.

Installed Extension in Brave

Loading the extension in Mozilla Firefox

In Mozilla Firefox, open up the about:debugging page in a new tab. Click the This Firefox link in the sidebar. One the This Firefox page, click the Load Temporary Add-on... button and select the manifest.json from the dist directory in this repository - your extension should now be loaded.

Installed Extension in Mozilla Firefox

Loading the extension in Microsoft Edge

In Microsoft Edge, open up edge://extensions in a new tab. Make sure the Developer Mode checkbox in the lower-left corner is turned on. Click Load unpacked and select the dist directory in this repository - your extension should now be loaded.

Installed Extension in Microsoft Edge

Notes

  • This project is a repository template - click the Use this template button to use this starter codebase for your next project.

  • Includes ESLint configured to work with TypeScript and Prettier.

  • Includes tests with Jest - note that the babel.config.js and associated dependencies are only necessary for Jest to work with TypeScript.

  • Recommended to use Visual Studio Code with the Format on Save setting turned on.

  • Example icons courtesy of Heroicons.

  • Includes Storybook configured to work with React + TypeScript. Note that it maintains its own webpack.config.js and tsconfig.json files. See example story in src/components/hello/__tests__/hello.stories.tsx

  • Includes a custom mock for the webextension-polyfill-ts package in src/__mocks__. This allows you to mock any browser APIs used by your extension so you can develop your components inside Storybook.

Built with

Misc. References

Notable forks

  • capaj - Chakra-ui instead of TailwindCSS, Storybook removed
  • DesignString - Vite Js instead of Webpack

More Repositories

1

aws-pdf-textract-pipeline

πŸ” Data pipeline for crawling PDFs from the Web and transforming their contents into structured data using AWS textract. Built with AWS CDK + TypeScript
TypeScript
164
star
2

nuxt-netlify-lambda-starter

πŸ› οΈ SEO-friendly website starter backed by Netlify lambda functions in a simple, friendly repo
Vue
59
star
3

openjscad-react

πŸ“¦ React.js component for the OpenJSCAD.org project
TypeScript
21
star
4

hardcider

🍺 CLI for quickly generating citations for websites and books
JavaScript
19
star
5

lyrebird

🐦 Impersonate USB devices over Bluetooth LE
C
9
star
6

aws-s3-bucket-maker

πŸ’₯ Builds a self-destructing S3 bucket and associated IAM Role for temporary file transfer workflows
TypeScript
5
star
7

docker_jupyter_mongodb

Docker-Compose + MongoDB + Jupyter Data Science Notebook + Zipline
Jupyter Notebook
4
star
8

aws-pdf-generator-pipeline

πŸ’Ό Data pipeline for generating PDFs from HTML files. Built with AWS CDK + TypeScript.
TypeScript
4
star
9

openjscad-react-next-starter

πŸ—οΈ A web starter project with OpenJSCAD, React, Next.js, TypeScript, TailwindCSS and Netlify
TypeScript
4
star
10

movies

πŸŽ₯ An on-going list of movies I've watched
3
star
11

Fe1.1-USB-Hub

3
star
12

react-typescript-stripe-cognito

Purchase page with React.js, TypeScript, Next.js, Stripe, AWS Cognito, and TailwindCSS
TypeScript
3
star
13

vue-netlify-lambda-prerender

πŸ–– Basic starter project for a prerendered Vue frontend with a Netlify lambda function backend
JavaScript
3
star
14

autolock

πŸ”’ A USB device that locks your computer when it detects you've left your seat
C++
3
star
15

jupyter-tabula

Docker container image built with Jupyter Notebook and Tabula for PDF scraping
Jupyter Notebook
2
star
16

github-reviewer-extension

Web extension to enhance large GitHub pull-request reviews
JavaScript
2
star
17

aws-cdk-starter

A starter project using AWS CDK + TypeScript
TypeScript
2
star
18

dotfiles

some sweet sweet dotfiles
Shell
2
star
19

react-next-typescript-netlify-starter

πŸ› οΈ SEO-friendly React + Next.js + TypeScript + Netlify website starter in a simple, friendly repo
TypeScript
2
star
20

VueJSWorkshop

A VueJS Workshop
JavaScript
2
star
21

vuejs-simple-frontend-example

πŸ‘‹ A simple Vue.js CRUD frontend backed by localstorage. Great for learning and prototyping - hack it!
Vue
2
star
22

google-homepage

HTML
2
star
23

hotsheets

Flies like an app, stings like a spreadsheet
Vue
1
star
24

codotype-plugin-starter-kit

🌱 Write your own Codotype plugins with this starter kit
TypeScript
1
star
25

breakout-boards

⚑ A collection of printed circuit boards
1
star
26

magellan

Client-side ontology-driven filesystem knowledge capture and faceted search
CoffeeScript
1
star
27

ts-find-unused

CLI tool to find unused code in TypeScript projects
TypeScript
1
star
28

agentql-docker-example

Example project for running the AgentQL Python SDK in a Docker container, using MongoDB for storing inputs and outputs.
Python
1
star
29

vercel-deploy-nextjs-plugin

JavaScript
1
star
30

vercel-deploy-nextjs-base

A repo to test non-traditional Next.js + React + TypeScript deploys on Vercel
TypeScript
1
star
31

printrbot_settings

Printrbot Simple Metal Cura profiles for various filaments.
1
star
32

react-node-typescript-postgres-starter

JavaScript
1
star
33

aws-cdk-ecs-fargate

Experimenting with AWS CDK + Elastic Container Service + Fargate
TypeScript
1
star
34

aws-api-gateway-lambda

A single AWS Lambda function via REST API endpoint through API Gateway. Built with AWS CDK + TypeScript.
TypeScript
1
star
35

static-site-sso

πŸ”’ Secure a static website behind SSO
1
star
36

angular_crud_example

Angular 5 CRUD Example
TypeScript
1
star
37

aeksco

My GitHub Profile README.md
1
star
38

hackathon_jupyterhub

A hackathon-friendly JupyterHub deployment with Docker & NGINX.
Shell
1
star
39

codotype

πŸ”₯ Generate full-stack web applications built with tools that developers love
TypeScript
1
star