All Projects β†’ dutiyesh β†’ Chrome Extension Cli

dutiyesh / Chrome Extension Cli

Licence: mit
πŸš€ The CLI for your next Chrome Extension

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Chrome Extension Cli

Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (-68.84%)
Mutual labels:  cli, extension, chrome
Bilibili Helper O
ε“”ε“©ε“”ε“© (bilibili.com) θΎ…εŠ©ε·₯ε…·οΌŒε―δ»₯ζ›Ώζ’ζ’­ζ”Ύε™¨γ€ζŽ¨ι€ι€šηŸ₯εΉΆθΏ›θ‘ŒδΈ€δΊ›εΏ«ζ·ζ“δ½œ
Stars: ✭ 3,717 (+593.47%)
Mutual labels:  extension, chrome
Web Developer
A browser extension that adds various web developer tools to a browser.
Stars: ✭ 532 (-0.75%)
Mutual labels:  extension, chrome
1click Webpage Screenshot
Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
Stars: ✭ 406 (-24.25%)
Mutual labels:  extension, chrome
Rawkit
🦊 Immediately Open Chrome DevTools when debugging Node.js apps
Stars: ✭ 306 (-42.91%)
Mutual labels:  cli, chrome
Whatspup
πŸ”³ WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer
Stars: ✭ 310 (-42.16%)
Mutual labels:  cli, chrome
Roam Toolkit
Roam force multiplier
Stars: ✭ 390 (-27.24%)
Mutual labels:  extension, chrome
Headlesschrome
A Go package for working with headless Chrome. Run interactive JavaScript commands on web pages with Go and Chrome.
Stars: ✭ 112 (-79.1%)
Mutual labels:  cli, chrome
Githuber
Display Github Trending repositories on Chrome New Tab Extensions
Stars: ✭ 418 (-22.01%)
Mutual labels:  extension, chrome
Scriptsafe
a browser extension to bring security and privacy to chrome, firefox, and opera
Stars: ✭ 434 (-19.03%)
Mutual labels:  extension, chrome
Gem Release
Release your ruby gems with ease.
Stars: ✭ 448 (-16.42%)
Mutual labels:  cli, extension
Singlefile
Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file
Stars: ✭ 4,417 (+724.07%)
Mutual labels:  cli, chrome
Ferret
Declarative web scraping
Stars: ✭ 4,837 (+802.43%)
Mutual labels:  cli, chrome
Surfingkeys
Map your keys for web surfing, expand your browser with javascript and keyboard.
Stars: ✭ 3,787 (+606.53%)
Mutual labels:  extension, chrome
Firessh
free, cross-platform SSH terminal client for Firefox and Chrome
Stars: ✭ 173 (-67.72%)
Mutual labels:  cli, chrome
Epub Press Clients
πŸ“¦ Clients for building books with EpubPress.
Stars: ✭ 370 (-30.97%)
Mutual labels:  extension, chrome
Chrome Developer Mode Extension Warning Patcher
β‡’ Disable Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup
Stars: ✭ 240 (-55.22%)
Mutual labels:  extension, chrome
Rung Cli
Command line tool for Rung
Stars: ✭ 17 (-96.83%)
Mutual labels:  cli, extension
Bs Detector
🚨 THIS REPOSITORY HAS MOVED. 🚨
Stars: ✭ 414 (-22.76%)
Mutual labels:  extension, chrome
Yomichan
Japanese pop-up dictionary extension for Chrome and Firefox.
Stars: ✭ 464 (-13.43%)
Mutual labels:  extension, chrome

Chrome Extension CLI

The CLI for your next Chrome Extension. πŸš€

Chrome Extension CLI - The CLI for your next Chrome extension πŸš€ | Product Hunt Embed Chrome Extension CLI - The CLI for your next Chrome extension πŸš€ | Product Hunt Embed

Quick Overview

npm install -g chrome-extension-cli
chrome-extension-cli my-extension
cd my-extension
npm run watch

Then follow these instructions to see your extension:

  1. Open chrome://extensions
  2. Check the Developer mode checkbox
  3. Click on the Load unpacked extension button
  4. Select the folder my-extension/build

When you're ready to publish to Chrome Web Store, create a minified bundle with npm run build and then zip the build folder.

Chrome Extension CLI Chrome Extension CLI

Get Started Immediately

You don’t need to install or configure Webpack.
Webpack comes in preconfigured, so that you can focus on the code.

Just create a project, and you’re good to go.

Creating an Extension

Installation

npm install -g chrome-extension-cli

Usage

chrome-extension-cli <project-name>

Example:

chrome-extension-cli my-extension

It will create a directory called my-extension inside the current folder.
Inside that directory, it will generate the initial project structure and install the transitive dependencies:

my-extension
β”œβ”€β”€ README.md
β”œβ”€β”€ node_modules
β”œβ”€β”€ package.json
β”œβ”€β”€ .gitignore
β”œβ”€β”€ config                    // Webpack with minimal configurations
β”‚   β”œβ”€β”€ paths.js
β”‚   β”œβ”€β”€ webpack.common.js
β”‚   └── webpack.config.js
β”œβ”€β”€ public
β”‚   β”œβ”€β”€ icons
β”‚   β”‚   β”œβ”€β”€ icon_16.png
β”‚   β”‚   β”œβ”€β”€ icon_32.png
β”‚   β”‚   β”œβ”€β”€ icon_48.png
β”‚   β”‚   β”œβ”€β”€ icon_128.png
β”‚   β”œβ”€β”€ *.html                // HTML files will vary depending on extension type
β”‚   └── manifest.json
└── src
    β”œβ”€β”€ *.css                 // CSS files will vary depending on extension type
    └── *.js                  // JS files will vary depending on extension type

Once the installation is done, you can open your project folder:

cd my-extension

Inside the newly created project, you can run some built-in commands:

npm run watch

Runs the app in development mode.
Then follow these instructions to see your app:

  1. Open chrome://extensions
  2. Check the Developer mode checkbox
  3. Click on the Load unpacked extension button
  4. Select the folder my-extension/build

npm run build

Builds the app for production to the build folder.
Zip the build folder and your app is ready to be published on Chrome Web Store.

What's included?

Your environment will have everything you need to build a Chrome Extension:

  • ES6 syntax support.
  • A watch script to listen file changes and build automatically.
  • A build script to bundle JS, CSS, and images for production.

Extension types

With Chrome Extension CLI you can built any of the below extensions:

Popup

Add features to Active Tab.

Popup template

Override page

Override default page like New Tab, Bookmarks, or History page.

Override page template

DevTools

Add features to Chrome Developer Tools.

DevTools Panel template

More information about templates.

CLI options

chrome-extension-cli my-extension --override-page

Creates an extension that overrides default New Tab page.
You can also pass other values to --override-page option to override other default pages like Bookmarks and History page.

chrome-extension-cli my-extension --override-page              // Override New Tab page
chrome-extension-cli my-extension --override-page=bookmarks    // Override Bookmarks page
chrome-extension-cli my-extension --override-page=history      // Override History page

chrome-extension-cli my-extension --devtools

Creates a Panel inside developer tools.

Contributing

See the contribution guide and join the contributors!

FAQs

See the FAQs.

License

Chrome Extension CLI is open source software licensed as MIT.


Many thanks to create-react-app for the inspiration with this readme file.

Jupiter Icon used in templates made by Freepik from www.flaticon.com.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].