Skip to content

Commit ef41a5a

Browse files
committed
v1.0.0
1 parent 0020e89 commit ef41a5a

File tree

22 files changed

+6462
-1
lines changed

22 files changed

+6462
-1
lines changed

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: noraj
4+
issuehunt: noraj

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 12.19.0

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
## [1.0.0]
6+
7+
- Initial version

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Alexandre ZANNI
3+
Copyright (c) 2020 noraj (Alexandre ZANNI)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ArchLinux Search
2+
3+
A set of Web Extensions that adds ArchLinux (bug tracker, forum, packages, wiki, AUR) as
4+
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).
5+
Submits the query via GET request for compatibility with [Multi-Account Containers](https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/).
6+
7+
Available search engines:
8+
9+
name | shortcut
10+
---------------------------------------|---------
11+
ArchLinux Packages Search | `alpkgs`
12+
ArchLinux Wiki Search | `alwiki`
13+
ArchLinux User Repository (AUR) Search | `alaur`
14+
ArchLinux Bugtracker (by FS) Search | `albugsfs`
15+
ArchLinux Bugtracker (by text) Search | `albugst`
16+
ArchLinux Forum (by author) Search | `alforuma`
17+
ArchLinux Forum (by keywords) Search | `alforumk`
18+
19+
## Develop Locally
20+
21+
* Clone the repo
22+
* Install tools:
23+
* [Node.js](https://nodejs.org) via [asdf](https://asdf-vm.com/)
24+
* Install dependencies:
25+
* `npm i`
26+
* Lint (check for manifest syntax errors)
27+
* `npm run lint -- -s web-extensions/<ext-name>`
28+
* 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):
29+
* `npm run run -- -s web-extensions/<ext-name>`
30+
* Package for distribution:
31+
* One extension: `npm run build -- -s web-extensions/<ext-name>`
32+
* All extensions: `npm run buildAll`
33+
34+
## FAQ
35+
36+
- [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)
37+

build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
web-ext build --overwrite-dest -s ./web-extensions/arch-pkgs -a ./dist
3+
web-ext build --overwrite-dest -s ./web-extensions/arch-wiki -a ./dist
4+
web-ext build --overwrite-dest -s ./web-extensions/arch-aur -a ./dist
5+
web-ext build --overwrite-dest -s ./web-extensions/arch-bugs-fs -a ./dist
6+
web-ext build --overwrite-dest -s ./web-extensions/arch-bugs-t -a ./dist
7+
web-ext build --overwrite-dest -s ./web-extensions/arch-forum-a -a ./dist
8+
web-ext build --overwrite-dest -s ./web-extensions/arch-forum-k -a ./dist

0 commit comments

Comments
 (0)