Skip to content

Commit

Permalink
Updated to v.2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gerwld committed Jan 7, 2025
1 parent 59bb8d5 commit 217d37f
Show file tree
Hide file tree
Showing 40 changed files with 2,487 additions and 1,522 deletions.
7 changes: 5 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This work, "IGPlus" (except some of the assets it includes, such as some assets
1. Attribution:
You are free to:
- Share: Copy and redistribute the material, including "IGPlus," in any medium or format.
- Edit: You are allowed to remix, transform, or build upon the material for contribution purposes, but you may not distribute the modified material on commercial platforms such as app stores or digital marketplaces.

Under the following terms:
- Attribution: You must give appropriate credit to Patryk Jaworski, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, as long as it does not suggest that the licensor endorses you or your use.
Expand All @@ -15,12 +16,12 @@ This work, "IGPlus" (except some of the assets it includes, such as some assets
You may not use the material, including "IGPlus," for commercial purposes. Commercial use includes, but is not limited to, using the material for any activity that is intended for or results in monetary gain or profit.

3. No Derivatives:
If you remix, transform, or build upon the material, including "IGPlus," you may not distribute the modified material.
If you remix, transform, or build upon the material, including 'IGPlus,' you may not distribute the modified material on platforms such as app stores or digital marketplaces. You are allowed to keep your edited copy on platforms like GitHub, GitLab, or Bitbucket.

Exceptions for the Owner:
Patryk Jaworski, as the owner, is exempt from the non-commercial and no-derivative restrictions. The owner may use these assets, including "IGPlus," for both commercial and non-commercial purposes without limitations.

IGPlus Extension is a software: you can redistribute it , but you are not allowed to modify it under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License.
IGPlus Extension is a software: you can redistribute it , and you are allowed to modify it (for contribution purposes), under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License.

IGPlus Extension is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand All @@ -31,3 +32,5 @@ This is a human-readable summary of (and not a substitute for) the license. You
For more information about the CC BY-NC-ND 4.0 license, visit the full license deed at https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode.en.

For any questions or permission requests, please contact me at [email protected].

Note: Instagram is a registered trademark of Facebook, Inc. This extension is not affiliated with or endorsed by Facebook, Inc.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ IGPlus is a powerful Extension that allows you to customize and personalize your

***

<p align="center"><a rel="noreferrer noopener" href="https://chromewebstore.google.com/detail/igplus-remove-instagram-r/dbbopjndlaginbghfoibbndhlbpdpapd"><img alt="Chrome Web Store" src="https://img.shields.io/badge/Chrome-141e24.svg?&style=for-the-badge&logo=google-chrome&logoColor=white"></a> <a rel="noreferrer noopener" href="https://addons.mozilla.org/en-US/firefox/addon/igplus-extension/"><img alt="Firefox Add-ons" src="https://img.shields.io/badge/Firefox-141e24.svg?&style=for-the-badge&logo=firefox-browser&logoColor=white"></a> <a rel="noreferrer noopener" href="https://microsoftedge.microsoft.com/addons/detail/igplus-remove-instagram/gcjgjfjabmgpainpahloaldflhfnppai"><img alt="Edge Addons" src="https://img.shields.io/badge/Edge-141e24.svg?&style=for-the-badge&logo=microsoft-edge&logoColor=white"></a> <a href="#soon" title="Soon" rel="noreferrer noopener"><img height="28" alt="Apple App Store" src="https://img.shields.io/badge/Safari-141e24.svg?&style=for-the-badge&logo=microsoft-edge&logoColor=white"></a>
<p align="center"><a rel="noreferrer noopener" href="https://chromewebstore.google.com/detail/igplus-remove-instagram-r/dbbopjndlaginbghfoibbndhlbpdpapd"><img alt="Chrome Web Store" src="https://img.shields.io/badge/Chrome-141e24.svg?&style=for-the-badge&logo=google-chrome&logoColor=white"></a> <a rel="noreferrer noopener" href="https://addons.mozilla.org/en-US/firefox/addon/igplus-extension/"><img alt="Firefox Add-ons" src="https://img.shields.io/badge/Firefox-141e24.svg?&style=for-the-badge&logo=firefox-browser&logoColor=white"></a> <a rel="noreferrer noopener" href="https://chromewebstore.google.com/detail/igplus-remove-instagram-r/dbbopjndlaginbghfoibbndhlbpdpapd"><img alt="Edge Addons" src="https://img.shields.io/badge/Edge-141e24.svg?&style=for-the-badge&logo=microsoft-edge&logoColor=white"></a> <a href="#soon" title="Soon" rel="noreferrer noopener"><img height="28" alt="Apple App Store" src="https://img.shields.io/badge/Safari-141e24.svg?&style=for-the-badge&logo=microsoft-edge&logoColor=white"></a>



Expand Down
21 changes: 16 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// <https://github.com/gerwld/IGPlus-extension/blob/main/README.md>,
// - Copyright (C) 2023-present IGPlus Extension
// -
// - IGPlus Extension is a software: you can redistribute it, but you are not allowed to modify it under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License.
// -
// - IGPlus Extension is a software: you can redistribute it, and you are allowed to modify it (for contribution purposes) under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License.
//
// - IGPlus Extension is distributed in the hope that it will be useful,
// - but WITHOUT ANY WARRANTY; without even the implied warranty of
// - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Expand Down Expand Up @@ -33,13 +33,13 @@ import chalk from 'chalk';
let { src, dest, task, series } = gulp;
const link = chalk.hex('#5e98d9');
const EXTENSION_NAME = 'igplus'
const EXTENSION_V = 'v.2.0.1'
const EXTENSION_V = 'v.2.1.0'
const COPYRIGHT = `// - This file is part of IGPlus Extension
// <https://github.com/gerwld/IGPlus-extension/blob/main/README.md>,
// - Copyright (C) 2023-present IGPlus Extension
// -
// - IGPlus Extension is a software: you can redistribute it, but you are not allowed to modify it under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License.
// -
// - IGPlus Extension is a software: you can redistribute it, and you are allowed to modify it (for contribution purposes) under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License.
//
// - IGPlus Extension is distributed in the hope that it will be useful,
// - but WITHOUT ANY WARRANTY; without even the implied warranty of
// - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Expand Down Expand Up @@ -174,7 +174,14 @@ task('zipper', async function (done) {

// Watcher task to monitor changes in the src directory and run the build task
task('watch', function () {
console.clear();
console.log("Dev mode initialized.\n" + chalk.green(`${EXTENSION_NAME} - ${EXTENSION_V}\n`));
console.log(chalk.green("✓") + " Starting...\n" + chalk.green("✓") + " Started sucessfuly.\n");

console.log("\nBuild files located in " + chalk.hex("#205ab3")("./public/$browsertype") + " directory.\n\n");

gulp.watch('./src/**/*', series('build')).on('change', function (path, stats) {
console.clear();
console.log(`File ${link("./" + path)} was changed, running build...`);
});
});
Expand All @@ -184,5 +191,9 @@ task('build_md', series('minifyImg', "minifyCSS", "minifyJS", "minifyHTML", "add

// Task to run the build and start the watcher
task('dev', series('build', 'watch'));
// TODO: Faster Dev builds
task('edge', series('build', 'watch'));
task('firefox', series('build', 'watch'));
task('chrome', series('build', 'watch'));

task('default', series('build'));
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "2.0.1",
"version": "2.1.0",
"default_locale": "en",
"icons": {
"128": "assets/icons/icon128.png"
Expand Down Expand Up @@ -47,6 +47,7 @@
"/assets/graphs/counters_gray.css",
"/assets/graphs/counters_disable.css",
"/assets/graphs/grayscale.css",
"/assets/graphs/disable_threads.css",
"/assets/graphs/fonts/roboto.css",
"/assets/graphs/fonts/poppins.css",
"/assets/graphs/fonts/caprasimo.css",
Expand Down
34 changes: 23 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{
"name": "igplus-extension",
"version": "1.0.0",
"description": "",
"version": "2.1.0",
"description": "Browser Extension that helps to disable Reels, Stories, recommendations, vanity metrics, change theme, font, and more.",
"main": "/assets/js/init.js",
"type": "module",
"scripts": {
"build": "rm -rf ./public && gulp build",
"gbuild": "clear && rm -rf ./public && gulp build_md",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "P Jaworski",
"license": "CC BY-NC-ND 4.0",
"scripts": {
"edge": "npm run clean && gulp edge",
"chrome": "npm run clean && gulp chrome",
"firefox": "npm run clean && gulp firefox",
"build": "npm run clean && gulp build",
"build:prod": "npm run clean && gulp build_md",
"fetch:all": "pnpm fetch:day && pnpm fetch:night && pnpm fetch:morning",
"test": "clear && echo 'Tests not implemented yet. Please check manually.'",
"clean": "rm -rf ./dist"
},
"author": "P Jaworski",
"license": "CC BY-NC-ND 4.0",
"devDependencies": {
"browser-sync": "^2.28.3",
"gulp": "^4.0.2",
Expand All @@ -21,7 +26,7 @@
"gulp-htmlmin": "^5.0.1",
"gulp-imagemin": "^8.0.0",
"gulp-insert": "^0.5.0",
"gulp-rename": "^2.0.1",
"gulp-rename": "^2.1.0",
"gulp-svgmin": "^4.1.0",
"gulp-uglify": "^3.0.2"
},
Expand All @@ -34,5 +39,12 @@
"gulp-zip": "^6.0.0",
"postcss": "^8.4.21",
"rsuite": "^5.32.0"
}
},
"prettier": {
"tabWidth": 4,
"useTabs": true,
"semi": false,
"singleQuote": true,
"printWidth": 128
}
}
13 changes: 10 additions & 3 deletions src/HOW_TO_FOR_MODERATORS.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
1. pnpm i && rm -rf ./public && gulp build
2. In public/chrome is build
To successfully build the project, please follow these instructions:

Thats it. Also you need gulp for build it, and it may work with npm if you don't use pnpm. Thanks!
1. Install dependencies and build:
pnpm install && pnpm build

2. Locate the build output:
The build files can be found in the `public/firefox` directory.

### Additional Information:
- Gulp Requirement: Ensure Gulp is installed globally, as it is necessary for the build process.
- If you are not using pnpm, you may use npm by substituting `pnpm` with `npm` in the command above.
Loading

0 comments on commit 217d37f

Please sign in to comment.