-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
6,462 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: noraj | ||
issuehunt: noraj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodejs 12.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog | ||
|
||
## [Unreleased] | ||
|
||
## [1.0.0] | ||
|
||
- Initial version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# ArchLinux Search | ||
|
||
A set of Web Extensions that adds ArchLinux (bug tracker, forum, packages, wiki, AUR) as | ||
a search engine to the Firefox browser (using the [chrome_settings_overrides](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/chrome_settings_overrides) manifest key). | ||
Submits the query via GET request for compatibility with [Multi-Account Containers](https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/). | ||
|
||
Available search engines: | ||
|
||
name | shortcut | ||
---------------------------------------|--------- | ||
ArchLinux Packages Search | `alpkgs` | ||
ArchLinux Wiki Search | `alwiki` | ||
ArchLinux User Repository (AUR) Search | `alaur` | ||
ArchLinux Bugtracker (by FS) Search | `albugsfs` | ||
ArchLinux Bugtracker (by text) Search | `albugst` | ||
ArchLinux Forum (by author) Search | `alforuma` | ||
ArchLinux Forum (by keywords) Search | `alforumk` | ||
|
||
## Develop Locally | ||
|
||
* Clone the repo | ||
* Install tools: | ||
* [Node.js](https://nodejs.org) via [asdf](https://asdf-vm.com/) | ||
* Install dependencies: | ||
* `npm i` | ||
* Lint (check for manifest syntax errors) | ||
* `npm run lint -- -s web-extensions/<ext-name>` | ||
* Run add-on in isolated Firefox instance using [web-ext](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Getting_started_with_web-ext) (open the [Browser Toolbox](https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox) for console logging): | ||
* `npm run run -- -s web-extensions/<ext-name>` | ||
* Package for distribution: | ||
* One extension: `npm run build -- -s web-extensions/<ext-name>` | ||
* All extensions: `npm run buildAll` | ||
|
||
## FAQ | ||
|
||
- [Why is there one extension per search engine?](https://stackoverflow.com/questions/64304959/is-it-possible-to-add-multiple-search-engines-in-the-same-firefox-web-extension) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
web-ext build --overwrite-dest -s ./web-extensions/arch-pkgs -a ./dist | ||
web-ext build --overwrite-dest -s ./web-extensions/arch-wiki -a ./dist | ||
web-ext build --overwrite-dest -s ./web-extensions/arch-aur -a ./dist | ||
web-ext build --overwrite-dest -s ./web-extensions/arch-bugs-fs -a ./dist | ||
web-ext build --overwrite-dest -s ./web-extensions/arch-bugs-t -a ./dist | ||
web-ext build --overwrite-dest -s ./web-extensions/arch-forum-a -a ./dist | ||
web-ext build --overwrite-dest -s ./web-extensions/arch-forum-k -a ./dist |
Oops, something went wrong.