Skip to content

Instantly share code, notes, and snippets.

@XiaoPanPanKevinPan
Last active October 27, 2025 09:58
Show Gist options
  • Save XiaoPanPanKevinPan/3cceb1d84ea97c04fe17ad087df8def6 to your computer and use it in GitHub Desktop.
Save XiaoPanPanKevinPan/3cceb1d84ea97c04fe17ad087df8def6 to your computer and use it in GitHub Desktop.

Revisions

  1. XiaoPanPanKevinPan revised this gist Oct 27, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.9`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.13.4`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  2. XiaoPanPanKevinPan revised this gist Aug 12, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.7`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.9`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  3. XiaoPanPanKevinPan revised this gist Aug 3, 2025. 3 changed files with 2 additions and 2 deletions.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.5`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.7`.
    2 changes: 1 addition & 1 deletion compile.sh
    Original file line number Diff line number Diff line change
    @@ -87,7 +87,7 @@ fi

    myecho "Renaming the extension pack..."
    cd "$OUTPUT_DIR"
    mv "$ROOT/web-ext-artifacts/*.xpi" "$OUTPUT_FILENAME"
    mv "$ROOT/web-ext-artifacts/"*.xpi "$OUTPUT_FILENAME"
    myecho "Your extension is successfully built. Please find it at '$OUTPUT_DIR/$OUTPUT_FILENAME'."
    myecho "Remind: the version number is $EXT_VER."

    Binary file modified vencord-sth.xpi
    Binary file not shown.
  4. XiaoPanPanKevinPan revised this gist Jul 3, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.2`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.5`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  5. XiaoPanPanKevinPan revised this gist Jul 3, 2025. 3 changed files with 100 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions .env-template
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    EXT_ID=
    WEB_EXT_API_KEY=
    WEB_EXT_API_SECRET=
    OUTPUT_FILENAME=
    1 change: 1 addition & 0 deletions .gitignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    .env
    95 changes: 95 additions & 0 deletions compile.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,95 @@
    #!/bin/bash

    OUTPUT_DIR="$(pwd)"

    myecho() {
    local BLUE='\033[0;34m'
    local BOLD='\033[1m'
    local NC='\033[0m' # No Color

    echo -e "${BOLD}${BLUE}::: $@ :::${NC}"
    }

    try_get_version() {
    local cmd_name=$1
    local cmd_path=$2

    if command -v "$cmd_path" &> /dev/null; then
    myecho "$cmd_name version: $("$cmd_path" --version)"
    else
    myecho "$cmd_name hasn't been installed."
    LACK_OF_DEP=true
    fi
    }

    myecho "Checking if you have installed the dependencies."
    LACK_OF_DEP=false

    try_get_version "Node.js" "node"
    try_get_version "Pnpm" "pnpm"
    try_get_version "Web-Ext" "web-ext"

    if $LACK_OF_DEP ; then
    myecho "Lack of some dependencies, leaving..."
    exit 1
    fi

    if [ -e "./env" ]; then
    myecho "No file named '.env'. Please create it by filling and renaming '.env-template'."
    myecho "Leaving..."
    exit 1
    fi
    myecho 'Loading `.env`...'
    source ./.env

    myecho "Cloning Vencord repo..."
    git clone https://github.com/Vendicated/Vencord --depth 1
    if [[ ! $? = 0 ]]; then
    myecho "Failed to clone Vencord repo, leaving..."
    exit 1
    fi
    cd Vencord
    ROOT="$(pwd)"

    myecho "Installing pnpm modules && building ..."
    pnpm i && pnpm run buildWeb

    myecho "Modifying manifest.json for web-ext..."
    node --eval 'import fs from "node:fs";
    let manifestPath = "'"$ROOT/dist/firefox-unpacked/manifest.json"'";
    let manifestText = fs.readFileSync(manifestPath, { encoding: "UTF-8" });
    let manifest = JSON.parse(manifestText);
    manifest.browser_specific_settings.gecko.id = "'"$EXT_ID"'";
    fs.writeFileSync(manifestPath, JSON.stringify(manifest));'
    if [[ ! $? = 0 ]]; then
    myecho "Failed to modify manifest.json, leaving..."
    exit 1
    fi

    myecho "Getting Version Info..."
    EXT_VER=$(node --eval 'import fs from "node:fs";
    let manifestPath = "'"$ROOT/dist/firefox-unpacked/manifest.json"'";
    let manifestText = fs.readFileSync(manifestPath, { encoding: "UTF-8" });
    let manifest = JSON.parse(manifestText);
    console.log(manifest.version);')
    if [[ ! $? = 0 ]]; then
    myecho "Failed to read manifest.json. The last step (modificaation) seems to have some error..."
    exit 1
    fi
    myecho "The version number is '$EXT_VER'"

    myecho "Building extension with Web-ext (may take 10~20 minutes)..."
    web-ext sign -s "$ROOT/dist/firefox-unpacked" --channel=unlisted --api-key="$WEB_EXT_API_KEY" --api-secret="$WEB_EXT_API_SECRET"
    if [[ ! $? = 0 ]]; then
    myecho "Failed to build extension, leaving..."
    exit 1
    fi

    myecho "Renaming the extension pack..."
    cd "$OUTPUT_DIR"
    mv "$ROOT/web-ext-artifacts/*.xpi" "$OUTPUT_FILENAME"
    myecho "Your extension is successfully built. Please find it at '$OUTPUT_DIR/$OUTPUT_FILENAME'."
    myecho "Remind: the version number is $EXT_VER."

    myecho "Clearing files..."
    rm -rf "./Vencord"
  6. XiaoPanPanKevinPan revised this gist Jun 4, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.9`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.12.2`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  7. XiaoPanPanKevinPan revised this gist May 2, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.8`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.9`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  8. XiaoPanPanKevinPan revised this gist Apr 9, 2025. 2 changed files with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions Readme.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    Obviously, [Vencord]( https://github.com/Vendicated/Vencord ) has stopped uploading their extension to addons.mozilla.org [due to the long-waiting review]( https://github.com/Vendicated/Vencord/issues/1807 ), and they also decided not to go self-hosting. But I need to use that, therefore I decided to try build the addon.

    Some packages are required to be installed in advance:
    - [NodeJS (version: 10.8.1) and npm (version: 20.5.1)]( https://nodejs.org/en/download/current )
    - [pnpm (version: 9.1.1)]( https://pnpm.io/installation ): `npm install -g pnpm`
    - [web-ext (version: 7.8.0)]( https://www.npmjs.com/package/web-ext ): `npm i -g web-ext`
    - [NodeJS (version: 20.5.1) and npm (version: 10.8.1)]( https://nodejs.org/en/download/current )
    - [pnpm (version: 10.7.0)]( https://pnpm.io/installation ): `npm install -g pnpm`
    - [web-ext (version: 8.5.0)]( https://www.npmjs.com/package/web-ext ): `npm i -g web-ext`

    (Version numbers above are for reference only. Usually, you don't need to follow them.)

    @@ -13,8 +13,8 @@ Here's what I've done:
    3. `pnpm i && pnpm run buildWeb`
    4. `cd $ROOT/dist`
    5. Change the ID to `vencord-firefox@sth` in `$ROOT/dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to **do it yourself,** make sure your **ID is unique** (i.e. different from my ID, and different from any existing extension signed by mozilla).
    6. Sign the addon with `web-ext sign -s $ROOT/dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    6. Sign the addon with `web-ext sign -s $ROOT/dist/firefox-unpacked --channel=unlisted --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.7`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.8`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  9. XiaoPanPanKevinPan revised this gist Mar 30, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.5`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.7`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  10. XiaoPanPanKevinPan revised this gist Feb 20, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.10.9`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.11.5`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  11. XiaoPanPanKevinPan revised this gist Jan 4, 2025. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.10.4`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.10.9`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  12. XiaoPanPanKevinPan revised this gist Oct 21, 2024. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.10.1`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.10.4`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  13. XiaoPanPanKevinPan revised this gist Sep 17, 2024. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -17,4 +17,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.9.7`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.10.1`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  14. XiaoPanPanKevinPan revised this gist Aug 10, 2024. 2 changed files with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions Readme.md
    Original file line number Diff line number Diff line change
    @@ -12,9 +12,9 @@ Here's what I've done:
    2. `cd $ROOT` (i.e. `cd ./Vencord`)
    3. `pnpm i && pnpm run buildWeb`
    4. `cd $ROOT/dist`
    5. Change the id to `vencord-firefox@sth` in `$ROOT/dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to **do it yourself,** make sure your **id is unique.**
    5. Change the ID to `vencord-firefox@sth` in `$ROOT/dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to **do it yourself,** make sure your **ID is unique** (i.e. different from my ID, and different from any existing extension signed by mozilla).
    6. Sign the addon with `web-ext sign -s $ROOT/dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `$ROOT/dist/web-ext-artifacts`, the `.xpi` file is the extension.
    7. In `$ROOT/dist/web-ext-artifacts`, the file with the postfix `.xpi` is the addon.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.8.8`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.9.7`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  15. XiaoPanPanKevinPan revised this gist Jun 9, 2024. 2 changed files with 7 additions and 5 deletions.
    12 changes: 7 additions & 5 deletions Readme.md
    Original file line number Diff line number Diff line change
    @@ -1,18 +1,20 @@
    Obviously, [Vencord]( https://github.com/Vendicated/Vencord ) has stopped uploading their extension to addons.mozilla.org [due to the long-waiting review]( https://github.com/Vendicated/Vencord/issues/1807 ), and they also decided not to go self-hosting. But I need to use that, therefore I decided to try build the addon.

    Some packages are required to be installed in advance:
    - [NodeJS and npm]( https://nodejs.org/en/download/current )
    - [pnpm]( https://pnpm.io/installation ): `npm install -g pnpm`
    - [web-ext]( https://www.npmjs.com/package/web-ext ): `npm i -g web-ext`
    - [NodeJS (version: 10.8.1) and npm (version: 20.5.1)]( https://nodejs.org/en/download/current )
    - [pnpm (version: 9.1.1)]( https://pnpm.io/installation ): `npm install -g pnpm`
    - [web-ext (version: 7.8.0)]( https://www.npmjs.com/package/web-ext ): `npm i -g web-ext`

    (Version numbers above are for reference only. Usually, you don't need to follow them.)

    Here's what I've done:
    1. Clone the repo with `git clone https://github.com/Vendicated/Vencord --depth 1` (for clarity, let's call the directory of your clone `$ROOT`, which should be `./Vencord` relative to your current directory.)
    2. `cd $ROOT` (i.e. `cd ./Vencord`)
    3. `pnpm i && pnpm run buildWeb`
    4. `cd $ROOT/dist`
    5. Change the id to `vencord-firefox@sth` in `$ROOT/dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to do it yourself, make sure your id is unique.
    5. Change the id to `vencord-firefox@sth` in `$ROOT/dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to **do it yourself,** make sure your **id is unique.**
    6. Sign the addon with `web-ext sign -s $ROOT/dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `$ROOT/dist/web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.8.3`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.8.8`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  16. XiaoPanPanKevinPan revised this gist May 14, 2024. 2 changed files with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Readme.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Some packages are required to be installed in advance:
    - [web-ext]( https://www.npmjs.com/package/web-ext ): `npm i -g web-ext`

    Here's what I've done:
    1. Clone the repo with `git clone https://github.com/Vendicated/Vencord` (let's call the directory of your clone `$ROOT`, which should be `./Vencord` relative to your current directory.)
    1. Clone the repo with `git clone https://github.com/Vendicated/Vencord --depth 1` (for clarity, let's call the directory of your clone `$ROOT`, which should be `./Vencord` relative to your current directory.)
    2. `cd $ROOT` (i.e. `cd ./Vencord`)
    3. `pnpm i && pnpm run buildWeb`
    4. `cd $ROOT/dist`
    @@ -15,4 +15,4 @@ Here's what I've done:
    7. In `$ROOT/dist/web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.7.6`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.8.3`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  17. XiaoPanPanKevinPan revised this gist May 14, 2024. No changes.
  18. XiaoPanPanKevinPan revised this gist Apr 16, 2024. 2 changed files with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions Readme.md
    Original file line number Diff line number Diff line change
    @@ -6,13 +6,13 @@ Some packages are required to be installed in advance:
    - [web-ext]( https://www.npmjs.com/package/web-ext ): `npm i -g web-ext`

    Here's what I've done:
    1. Clone the repo with `git clone https://github.com/Vendicated/Vencord`
    2. `cd ./Vencord`
    1. Clone the repo with `git clone https://github.com/Vendicated/Vencord` (let's call the directory of your clone `$ROOT`, which should be `./Vencord` relative to your current directory.)
    2. `cd $ROOT` (i.e. `cd ./Vencord`)
    3. `pnpm i && pnpm run buildWeb`
    4. `cd ./dist`
    5. Change the id to `vencord-firefox@sth` in `./dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to do it yourself, make sure your id is unique.
    6. Sign the addon with `web-ext sign -s ./dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension.
    4. `cd $ROOT/dist`
    5. Change the id to `vencord-firefox@sth` in `$ROOT/dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to do it yourself, make sure your id is unique.
    6. Sign the addon with `web-ext sign -s $ROOT/dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `$ROOT/dist/web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.7.4`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.7.6`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  19. XiaoPanPanKevinPan revised this gist Apr 6, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Obviously, [Vencord]( https://github.com/Vendicated/Vencord ) has stopped uploading their extension to addons.mozilla.org due to the long-waiting review, and they also decided not to go self-hosting. But I need to use that, therefore I decided to try build the addon.
    Obviously, [Vencord]( https://github.com/Vendicated/Vencord ) has stopped uploading their extension to addons.mozilla.org [due to the long-waiting review]( https://github.com/Vendicated/Vencord/issues/1807 ), and they also decided not to go self-hosting. But I need to use that, therefore I decided to try build the addon.

    Some packages are required to be installed in advance:
    - [NodeJS and npm]( https://nodejs.org/en/download/current )
  20. XiaoPanPanKevinPan revised this gist Apr 6, 2024. No changes.
  21. XiaoPanPanKevinPan revised this gist Apr 6, 2024. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,4 @@ Here's what I've done:
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.6.5`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.7.4`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  22. XiaoPanPanKevinPan revised this gist Dec 15, 2023. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,4 @@ Here's what I've done:
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.6.3`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.6.5`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  23. XiaoPanPanKevinPan revised this gist Nov 16, 2023. 2 changed files with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,4 @@ Here's what I've done:
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.6.1`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.6.3`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  24. XiaoPanPanKevinPan revised this gist Oct 29, 2023. 2 changed files with 8 additions and 3 deletions.
    11 changes: 8 additions & 3 deletions Readme.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,18 @@
    Obviously, [Vencord]( https://github.com/Vendicated/Vencord ) has stopped uploading their extension to addons.mozilla.org due to the long-waiting review, and they also decided not to go self-hosting. But I need to use that, therefore I decided to try build the addon.

    Here's what I've done.
    Some packages are required to be installed in advance:
    - [NodeJS and npm]( https://nodejs.org/en/download/current )
    - [pnpm]( https://pnpm.io/installation ): `npm install -g pnpm`
    - [web-ext]( https://www.npmjs.com/package/web-ext ): `npm i -g web-ext`

    Here's what I've done:
    1. Clone the repo with `git clone https://github.com/Vendicated/Vencord`
    2. `cd ./Vencord`
    3. `pnpm run buildWeb`
    3. `pnpm i && pnpm run buildWeb`
    4. `cd ./dist`
    5. Change the id to `vencord-firefox@sth` in `./dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to do it yourself, make sure your id is unique.
    6. Sign the addon with `web-ext sign -s ./dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.5.8`.
    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.6.1`.
    Binary file modified vencord-sth.xpi
    Binary file not shown.
  25. XiaoPanPanKevinPan revised this gist Oct 25, 2023. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion Readme.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,7 @@ Here's what I've done.
    4. `cd ./dist`
    5. Change the id to `vencord-firefox@sth` in `./dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to do it yourself, make sure your id is unique.
    6. Sign the addon with `web-ext sign -s ./dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension. In Firefox, open `about:addons` and drag-and-drop the file to install.
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension.
    8. In Firefox, open `about:addons` and drag-and-drop the file to install.

    You can download the `vencord-sth.xpi` file and simply do the 8th step above. The current version is `1.5.8`.
  26. XiaoPanPanKevinPan revised this gist Oct 25, 2023. 1 changed file with 0 additions and 0 deletions.
    Binary file added vencord-sth.xpi
    Binary file not shown.
  27. XiaoPanPanKevinPan created this gist Oct 25, 2023.
    10 changes: 10 additions & 0 deletions Readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    Obviously, [Vencord]( https://github.com/Vendicated/Vencord ) has stopped uploading their extension to addons.mozilla.org due to the long-waiting review, and they also decided not to go self-hosting. But I need to use that, therefore I decided to try build the addon.

    Here's what I've done.
    1. Clone the repo with `git clone https://github.com/Vendicated/Vencord`
    2. `cd ./Vencord`
    3. `pnpm run buildWeb`
    4. `cd ./dist`
    5. Change the id to `vencord-firefox@sth` in `./dist/firefox-unpacked/manifest.json`. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to do it yourself, make sure your id is unique.
    6. Sign the addon with `web-ext sign -s ./dist/firefox-unpacked --api-key=... --api-secret=...`. The fields left empty can be acquired from [here]( https://addons.mozilla.org/en-US/developers/addon/api/key/ ) (you need to have a Mozilla account).
    7. In `./web-ext-artifacts`, the `.xpi` file is the extension. In Firefox, open `about:addons` and drag-and-drop the file to install.