• Stars
    star
    1,560
  • Rank 29,997 (Top 0.6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 2 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

🍺 Scaffolding your Chrome extension! Boilerplates: react \ vue \ svelte \ solid \ preact \ alpine \ lit \ stencil \ inferno \ vanilla

Create Chrome Extension (.crx)

crx-preview

OSCS Status npm npm-download GitHub Language Count npm publish

Scaffolding your chrome extension, multiple boilerplates supported!

  • 🚀 Lightning Fast HMR(use Vite2)
  • 🥡 Out of Box
  • 🌈 Multiple Frontend Framework Supported (9+)
  • 🥢 Multiple Language Supported (TypeScript & JavaScript)
  • 🧶 Optimized Builds
  • 🌗 Light & Dark Mode

EN · 中文

Installing

Node >= 14.18.0

# use npm-create command, or use pnpm | yarn
λ npm create chrome-ext

# or use npx command
λ npx create-chrome-ext

# or use npm-init command
λ npm init chrome-ext

Usage

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Svelte project, run:

# npm 6.x
λ npm create chrome-ext@latest my-crx-app --template svelte-js

# or npm 7+, extra double-dash is needed:
λ npm create chrome-ext@latest my-crx-app -- --template react-ts

# or yarn
λ yarn create chrome-ext my-crx-app --template vue-ts

# or pnpm
λ pnpm create chrome-ext my-crx-app --template vanilla-ts

You can also generator the project with crx cli, run:

λ npm install create-chrome-ext --global

# and then
λ crx my-crx-app
# or
λ crx my-crx-app --template preact-js
# or use create-chrome-exe (global env)
λ create-chrome-ext my-crx-app

Supported Templates

framework presets include:

React · Vue · Svelte · Preact · Solid · Alpine · Lit · Inferno · Stencil · Vanilla

languages supported:

JavaScript · TypeScript

Preview

crx-run crx-install crx-build

More Repositories

1

meituan-spider

美团™爬虫练习项目(Region、POI、店铺、商品)
TypeScript
31
star
2

netron

Netron is a Electron framework for building efficient and reliable desktop applications, and fully supports TypeScript (or pure JS) and OOP (IoC + AOP). ⚛️一款用于构建高效可靠桌面应用的 Electron 框架,支持 TS 语言以及 OOP 编程范式!
19
star
3

IconPub

IconPub is an icon management platform(IconFont、Chrome Extension for migraton、Docker Images、Private deployment)! 🎉 矢量图标管理平台(字体图标、浏览器迁移插件、自定义存储桶、私有化部署)
TypeScript
10
star
4

leetcode-ts

LeetCode problems' solutions with TypeScript on Deno.
TypeScript
7
star
5

vite-plugins

Vite plugin for inferno app, and includes boilerplates write with Vite 2 + Inferno 8.0
TypeScript
6
star
6

china-region

China national region service, include province & city & area &street data
TypeScript
3
star
7

qapi

QApi is a TypeScript definitions generator, 📃 based on OpenAPI(Swagger)!
TypeScript
3
star
8

pov-led

51 SCM Rotating LED Display. POV can be simply defined as the Persistence Of Vision
C
2
star
9

watermark-faker

Website watermark faker chrome extensions, zhihu watermark remover
TypeScript
1
star
10

guocaoyi

Yalda's github stats and personal blogs
EJS
1
star
11

awesome-netron

Netron is a Electron framework for building efficient and reliable desktop applications, and fully supports TypeScript (or pure JS) and OOP (IoC + AOP). ⚛️一款用于构建高效可靠桌面应用的 Electron 框架,支持 TS 语言以及 OOP 编程范式!
1
star
12

ocr-weapp

安全免费的印刷字体识别工具、多语种识别支撑、微信云函数无数据缓存保障信息安全;零广告用完即走!
TypeScript
1
star