All Projects → fregante → Browser Extension Template

fregante / Browser Extension Template

📕 Barebones boilerplate with webpack, options handler and auto-publishing

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Browser Extension Template

Web Archives
Browser extension for viewing archived and cached versions of web pages
Stars: ✭ 263 (-11.15%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Turnoff Namuwiki
조별과제 때마다 "나무위키 꺼라."라고 말하시는게 피곤하신 여러분을 위해 만들어진 Browser Extension, 나무위키를 꺼 드립니다.
Stars: ✭ 59 (-80.07%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Ping Blocker
Stop sites from tracking the links you visit through hyperlink auditing
Stars: ✭ 23 (-92.23%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Read Aloud
An awesome browser extension that reads aloud webpage content with one click
Stars: ✭ 444 (+50%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Spotify Lyrics
🎉 Desktop Spotify Web Player Instant Synchronised Lyrics
Stars: ✭ 162 (-45.27%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Markdown Viewer
Markdown Viewer / Browser Extension
Stars: ✭ 497 (+67.91%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Nxenhanced
Adds "quality-of-life" features to NextDNS website for a more practical usability
Stars: ✭ 58 (-80.41%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Toster Tools
Расширение для сайта toster.ru
Stars: ✭ 11 (-96.28%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Brotab
Control your browser's tabs from the command line
Stars: ✭ 137 (-53.72%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Pihole Browser Extension
Browser extension to control your pi-hole
Stars: ✭ 83 (-71.96%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Extanalysis
Browser Extension Analysis Framework - Scan, Analyze Chrome, firefox and Brave extensions for vulnerabilities and intels
Stars: ✭ 351 (+18.58%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Ghosttext
👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
Stars: ✭ 2,614 (+783.11%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Buster
Captcha solver extension for humans
Stars: ✭ 4,244 (+1333.78%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Search By Image
Browser extension for reverse image search, available for Edge, Chrome and Firefox
Stars: ✭ 500 (+68.92%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Github Contribution Color Graph
Change colors of contribution graph in GitHub.
Stars: ✭ 70 (-76.35%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Grasp
A reliable org-capture browser extension for Chrome/Firefox
Stars: ✭ 193 (-34.8%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
Archiveror
Archiveror will help you preserve the webpages you love. 💾
Stars: ✭ 246 (-16.89%)
Mutual labels:  chrome-extension, browser-extension, firefox-extension
youtube-audio
Disable videos on Youtube saves resource usage (Youtube becomes audio only)
Stars: ✭ 13 (-95.61%)
Mutual labels:  firefox-extension, browser-extension
slext
Unofficial browser extension for extending the online LaTeX editor Overleaf
Stars: ✭ 21 (-92.91%)
Mutual labels:  firefox-extension, browser-extension
Realize
A React component tree visualizer
Stars: ✭ 285 (-3.72%)
Mutual labels:  chrome-extension, firefox-extension

browser-extension-template

Barebones boilerplate with Parcel 2, options handler and auto-publishing.

Sample extension output

Features

How to use this template

Click Use this template and make a copy of your own. 😉

Configuration

The extension doesn't target any specific ECMAScript environment or provide any transpiling by default. The extensions output will be the same ECMAScript you write. This allows us to always target the latest browser version, which is a good practice you should be following.

Parcel 2

Being based on Parcel 2 and its WebExtension transformer, you get all the good parts:

  • Browserlist-based code transpiling (which defaults to just the latest Chrome and Firefox versions)
  • Automatically picks up any new file specified in manifest.json
  • Adding TypeScript support is as easy as renaming your files to .ts; sindresorhus/tsconfig is also advised in that case.

Auto-syncing options

Options are managed by fregante/webext-options-sync, which auto-saves and auto-restores the options form, applies defaults and runs migrations.

Publishing

It's possible to automatically publish to both the Chrome Web Store and Mozilla Addons at once by adding these secrets on GitHub Actions:

  1. CLIENT_ID, CLIENT_SECRET, and REFRESH_TOKEN from Google APIs.
  2. WEB_EXT_API_KEY, and WEB_EXT_API_SECRET from AMO.

Also include EXTENSION_ID in the secrets (how to find it) and add Mozilla’s gecko.id to manifest.json.

The GitHub Actions workflow will:

  1. Build the extension
  2. Create a version number based on the current UTC date time, like 19.6.16 and sets it in the manifest.json
  3. Deploy it to both stores

Auto-publishing

Thanks to the included GitHub Action Workflows, if you set up those secrets in the repo's Settings, the deployment will automatically happen:

  • on a schedule, by default every week (but only if there are any new commits in the last tag)
  • manually, by clicking "Run workflow" in the Actions tab.

Credits

Extension icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY.

Extensions created using this template

License

This browser extension template is released under CC0 and mentioned below. There is no license file included in here, but when you clone this template, you should include your own license file for the specific license you choose to use.

CC0

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