@ -0,0 +1,25 @@
|
||||
name: Validate
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
name: Validate
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/setup-node@v2.1.2
|
||||
with:
|
||||
node-version: '14'
|
||||
- name: Restore npm cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Validate
|
||||
run: npm run validate
|
@ -0,0 +1,37 @@
|
||||
# Contributing
|
||||
|
||||
Wappalyzer is an [MIT-licensed](https://github.com/aliasio/wappalyzer/blob/master/LICENSE), open source project written in JavaScript. Anyone is welcome to contribute.
|
||||
|
||||
## Getting started
|
||||
|
||||
To get started, see the [README](https://github.com/aliasio/wappalyzer/blob/master/README.md).
|
||||
|
||||
## Submitting changes
|
||||
|
||||
- First, run `yarn run validate` to identify any issues.
|
||||
- Use descriptive commit messages, e.g. 'Add WordPress detection'.
|
||||
- Push your commits to a new branch on your own fork.
|
||||
- Finally, submit a [pull request](https://help.github.com/articles/about-pull-requests/) and describe your changes.
|
||||
|
||||
## Adding a new technology
|
||||
|
||||
Wappalyzer uses [regular expressions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) to fingerprint technologies. Refer to the [specification](https://github.com/AliasIO/wappalyzer/blob/master/README.md#specification) for detail.
|
||||
|
||||
- Add a new block to [`src/technologies.json`](https://github.com/aliasio/wappalyzer/blob/master/src/technologies.json).
|
||||
- Add an icon to [`src/drivers/webextension/images/icons`](https://github.com/aliasio/wappalyzer/tree/master/src/drivers/webextension/images/icons). The image must be square, either SVG or PNG (32 x 32 pixels).
|
||||
|
||||
Only widely used technologies are accepted. When creating a pull request, include ten or more links to websites that use the application, a GitHub page with at least 1,000 stars or anything that will help establish the size of the user base.
|
||||
|
||||
## Adding a new category
|
||||
|
||||
Please [open an issue on GitHub](https://github.com/aliasio/wappalyzer/issues) first to discuss the need for a new category.
|
||||
|
||||
To add a category, edit [`src/technologies.json`](https://github.com/aliasio/wappalyzer/blob/master/src/technologies.json) and update every [locale](https://github.com/aliasio/wappalyzer/tree/master/src/drivers/webextension/_locales). You may use the English category name in all of them.
|
||||
|
||||
## Adding a new translation
|
||||
|
||||
To add a new translation, copy the `en` folder in [`src/drivers/webextension/_locales`](https://github.com/aliasio/wappalyzer/tree/master/src/drivers/webextension/_locales), rename it to the relevant two-letter country code and update the containing `messages.json` file.
|
||||
|
||||
## Adding a new feature
|
||||
|
||||
Please [open an issue on GitHub](https://github.com/aliasio/wappalyzer/issues) first. New features and large changes are rarely accepted without prior discussion.
|
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 540 B |
After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 858 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 284 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 502 B |
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 720 B |
After Width: | Height: | Size: 862 B |
Before Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 603 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 196 KiB |
After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 389 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 270 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 361 B |
After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 348 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 147 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.1 KiB |