Chrome/Firefox extension to copy all opened tabs as a markdown list into clipboard.
To assemble and test the extension some targets for make
are provided from the Makefile
file.
If you don't want to use make, please skip to the "Build manually" section below.
On Windows, you may use WSL to run make
from linux.
You can also install make from chocolatey.
If make
detects that it is run from Windows, it will use powershell command instead of shell commands for maximal compatibility.
The following command will
- scaffold
generated
folder and sub-folders - Install deno if necessary
- Run tests with deno
- generate Chrome extension into
generated/chrome
folder - generate Firefox extension into
generated/firefox
folder
make
To generate extension for chrome into generated/chrome
:
make chrome
In a chrome based browser open chrome://extensions
- Check "Developer mode" if it is not already enabled
- Load Unpacked
- Choose
generated\chrome
folder - The extension should be loaded
To generate extension for chrome into generated/firefox
:
make firefox
In Firefox browser open about:debugging#/runtime/this-firefox
- Load temporary Addon
- Choose
generated\firefox\manifest.json
- The extension should be loaded
make test
If you don't have the make
command installed you can still assemble the extension manually the following way:
- create a folder called
generated
- create a folder called
generated/chrome
- copy
chrome/manifest.json
intogenerated/chrome
- copy the consent of the
shared
folder intogenerated/chrome
- create a folder called
generated/firefox
- copy
firefox/manifest.json
intogenerated/firefox
- copy the consent of the
shared
folder intogenerated/firefox
First, you need to install deno : https://deno.land/#installation
deno test
Folder / File | Purpose |
---|---|
.github |
Continuous integration with Github Actions |
chrome |
Chrome specifics (mostly manifest) |
firefox |
Firefox specifics (mostly manifest) |
generated |
(non versioned) output folder where extension are generated. Will be created by make targets. |
shared |
Common code for the extension. make targets will copy contents from this folder into appropriate target folders. |
showcase |
Pictures and gifs for documentation purpose |
tests |
Automatic tests for deno runtime to execute |
credits.md |
Attributions for non owned resources (e.g. icons) |
Makefile |
Build targets to be run with make command |
making-of.md |
Some educational informations on how this extension was built |