Merge branch 'chore/all-my-stuffs' of https://github.com/sharevb/it-tools into chore/all-my-stuffs

This commit is contained in:
ShareVB committed 2025-08-30 14:58:21 +02:00
commit 44a21380ab
15 files changed
+381 -88

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
pnpm --version pnpm --version
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 22
cache: 'pnpm' cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
@@ -40,7 +40,7 @@ jobs:
pnpm --version pnpm --version
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 22
cache: 'pnpm' cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
@@ -22,7 +22,7 @@ jobs:
pnpm --version pnpm --version
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 22
cache: 'pnpm' cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
@@ -22,7 +22,7 @@ jobs:
pnpm --version pnpm --version
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 22
cache: 'pnpm' cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 22
cache: 'pnpm' cache: 'pnpm'
- name: Get Playwright version - name: Get Playwright version
@@ -37,7 +37,7 @@ jobs:
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 22
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2
name: Install pnpm name: Install pnpm
+1 -1
View File
@@ -84,7 +84,7 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 22
cache: 'pnpm' cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
+1 -1
View File
@@ -1 +1 @@
18.18.2 22.19.0
+92 -39
View File
@@ -1448,7 +1448,7 @@ tools:
label-code-snippet-to-format: 'Code snippet to format:' label-code-snippet-to-format: 'Code snippet to format:'
placeholder-put-your-code-snippet-here: Put your code snippet here placeholder-put-your-code-snippet-here: Put your code snippet here
label-show-line-numbers: Show line numbers label-show-line-numbers: Show line numbers
tag-: ''', ''' tag-: "', '"
tag-copy-html-formatted: Copy HTML Formatted tag-copy-html-formatted: Copy HTML Formatted
tag-copy-code-text: Copy Code Text tag-copy-code-text: Copy Code Text
coin-flipper: coin-flipper:
@@ -2055,9 +2055,9 @@ tools:
label-advanded-json-mode: Advanded JSON Mode label-advanded-json-mode: Advanded JSON Mode
title-prompts: Prompts title-prompts: Prompts
placeholder-your-messages-json-array: Your 'messages' JSON array... placeholder-your-messages-json-array: Your 'messages' JSON array...
label-your-messages-json-array: 'Your ''messages'' JSON array:' label-your-messages-json-array: "Your 'messages' JSON array:"
placeholder-your-tools-json-array: Your 'tools' JSON array... placeholder-your-tools-json-array: Your 'tools' JSON array...
label-your-tools-json-array: 'Your ''tools'' JSON array:' label-your-tools-json-array: "Your 'tools' JSON array:"
title-input-json-s: Input JSON(s) title-input-json-s: Input JSON(s)
placeholder-your-system-prompt-content: Your System Prompt content... placeholder-your-system-prompt-content: Your System Prompt content...
label-your-system-prompt-content: 'Your System Prompt content:' label-your-system-prompt-content: 'Your System Prompt content:'
@@ -3685,7 +3685,8 @@ tools:
placeholder-enter-cookie-header: Enter cookie header placeholder-enter-cookie-header: Enter cookie header
tag-tip-navigate-to-a-website-to-test-open-f12-console-and-run: 'Tip: Navigate to a website to test, open F12 Console and run' tag-tip-navigate-to-a-website-to-test-open-f12-console-and-run: 'Tip: Navigate to a website to test, open F12 Console and run'
tag-window-copy-document-cookie: window.copy(document.cookie) tag-window-copy-document-cookie: window.copy(document.cookie)
tag-this-will-copy-the-cookie-string-to-your-clipboard-note-this-will-only-copy-cookies-available-to-javascript-http-only-and-secure-cookies-will-be-omitted: >- tag-this-will-copy-the-cookie-string-to-your-clipboard-note-this-will-only-copy-cookies-available-to-javascript-http-only-and-secure-cookies-will-be-omitted:
>-
. This will copy the cookie string to your clipboard. Note: This will . This will copy the cookie string to your clipboard. Note: This will
only copy cookies available to javascript (HTTP only and secure cookies only copy cookies available to javascript (HTTP only and secure cookies
will be omitted). will be omitted).
@@ -4396,25 +4397,29 @@ tools:
label-custom-expression: 'Custom Expression:' label-custom-expression: 'Custom Expression:'
placeholder-e-g-src-port-443-and-dst-10-0-0-1: e.g., src port 443 and dst 10.0.0.1 placeholder-e-g-src-port-443-and-dst-10-0-0-1: e.g., src port 443 and dst 10.0.0.1
title-generated-tcpdump-command: Generated tcpdump command title-generated-tcpdump-command: Generated tcpdump command
tag-tcpdump-is-a-utility-commonly-installed-available-to-many-linux-distributions-to-quickly-gather-a-network-trace-packet-capture-in-short-it-s-the-wireshark-of-linux-to-gathering-packet-captures-tcpdump-is-very-versatile-with-many-switches-to-granularly-capture-what-you-need-to-dubug-network-traffic-with-options-to-output-results-via-console-file-or-wireshark-pcap: >- tag-tcpdump-is-a-utility-commonly-installed-available-to-many-linux-distributions-to-quickly-gather-a-network-trace-packet-capture-in-short-it-s-the-wireshark-of-linux-to-gathering-packet-captures-tcpdump-is-very-versatile-with-many-switches-to-granularly-capture-what-you-need-to-dubug-network-traffic-with-options-to-output-results-via-console-file-or-wireshark-pcap:
>-
tcpdump is a utility commonly installed / available to many Linux tcpdump is a utility commonly installed / available to many Linux
distributions to quickly gather a network trace / packet capture. In distributions to quickly gather a network trace / packet capture. In
short, it's the wireshark of linux to gathering packet captures. tcpdump short, it's the wireshark of linux to gathering packet captures. tcpdump
is very versatile with many switches to granularly capture what you need is very versatile with many switches to granularly capture what you need
to dubug network traffic; with options to output results via console, to dubug network traffic; with options to output results via console,
file, or wireshark pcap. file, or wireshark pcap.
tag-this-utility-is-to-help-generate-a-tcpdump-command-using-some-of-the-more-common-switches-filters-offered-by-the-tcpdump-this-utility-is-not-encompassing-of-all-options-tcpdump-offers-a-complete-list-of-options-can-be-found-via-its-manual-nbsp: >- tag-this-utility-is-to-help-generate-a-tcpdump-command-using-some-of-the-more-common-switches-filters-offered-by-the-tcpdump-this-utility-is-not-encompassing-of-all-options-tcpdump-offers-a-complete-list-of-options-can-be-found-via-its-manual-nbsp:
>-
This utility is to help generate a tcpdump command using some of the This utility is to help generate a tcpdump command using some of the
more common switches / filters offered by the tcpdump. This utility is more common switches / filters offered by the tcpdump. This utility is
not encompassing of all options tcpdump offers; a complete list of not encompassing of all options tcpdump offers; a complete list of
options can be found via its manual:  options can be found via its manual: 
tag-https-www-tcpdump-org-manpages-tcpdump-1-html: https://www.tcpdump.org/manpages/tcpdump.1.html tag-https-www-tcpdump-org-manpages-tcpdump-1-html: https://www.tcpdump.org/manpages/tcpdump.1.html
tag-note: 'Note:' tag-note: 'Note:'
tag-nbsp-host-source-host-and-destination-host-can-take-multiple-entries-separate-your-entries-with-a-comma-space-or-semicolon: >- tag-nbsp-host-source-host-and-destination-host-can-take-multiple-entries-separate-your-entries-with-a-comma-space-or-semicolon:
>-
 Host, Source Host, and Destination Host can take multiple entries.  Host, Source Host, and Destination Host can take multiple entries.
Separate your entries with a comma, space, or semicolon. Separate your entries with a comma, space, or semicolon.
tag-note-2: 'Note 2:' tag-note-2: 'Note 2:'
tag-nbsp-when-you-specify-a-source-src-or-destination-dst-flags-tcpdump-will-only-filter-in-that-direction-if-you-are-looking-to-capture-full-tcp-handshake-make-sure-you-use-host-vs-src-host-or-dst-host-to-see-both-request-and-response-flow: >- tag-nbsp-when-you-specify-a-source-src-or-destination-dst-flags-tcpdump-will-only-filter-in-that-direction-if-you-are-looking-to-capture-full-tcp-handshake-make-sure-you-use-host-vs-src-host-or-dst-host-to-see-both-request-and-response-flow:
>-
 When you specify a source (src) or destination (dst) flags,  When you specify a source (src) or destination (dst) flags,
tcpdump will only filter in that direction. If you are looking to tcpdump will only filter in that direction. If you are looking to
capture full TCP handshake, make sure you use "host" vs "src host" or capture full TCP handshake, make sure you use "host" vs "src host" or
@@ -4717,7 +4722,8 @@ tools:
raid-70-requires-at-least-10-disks-with-5-minimum-per-stripe-stripes-must-contain-an-equal-number-of-disks: >- raid-70-requires-at-least-10-disks-with-5-minimum-per-stripe-stripes-must-contain-an-equal-number-of-disks: >-
RAID 70 requires at least 10 disks with 5 minimum per stripe. Stripes RAID 70 requires at least 10 disks with 5 minimum per stripe. Stripes
must contain an equal number of disks. must contain an equal number of disks.
raid-70-stripes-multiple-raid-7-arrays-together-raid-7-raid-0-each-raid-7-set-can-sustain-three-drive-failures: >- raid-70-stripes-multiple-raid-7-arrays-together-raid-7-raid-0-each-raid-7-set-can-sustain-three-drive-failures:
>-
RAID 70 stripes multiple RAID 7 arrays together (RAID 7 + RAID 0). RAID 70 stripes multiple RAID 7 arrays together (RAID 7 + RAID 0).
Each RAID 7 set can sustain three drive failures. Each RAID 7 set can sustain three drive failures.
2-drive-failures-per-raid-6-set: 2 drive failures per RAID 6 set 2-drive-failures-per-raid-6-set: 2 drive failures per RAID 6 set
@@ -4731,40 +4737,47 @@ tools:
raid-50-requires-at-least-6-disks-with-3-minimum-per-stripe-stripes-must-contain-an-equal-number-of-disks: >- raid-50-requires-at-least-6-disks-with-3-minimum-per-stripe-stripes-must-contain-an-equal-number-of-disks: >-
RAID 50 requires at least 6 disks with 3 minimum per stripe. Stripes RAID 50 requires at least 6 disks with 3 minimum per stripe. Stripes
must contain an equal number of disks. must contain an equal number of disks.
raid-50-stripes-multiple-raid-5-arrays-together-raid-5-raid-0-each-raid-5-set-can-sustain-a-single-drive-failure: >- raid-50-stripes-multiple-raid-5-arrays-together-raid-5-raid-0-each-raid-5-set-can-sustain-a-single-drive-failure:
>-
RAID 50 stripes multiple RAID 5 arrays together (RAID 5 + RAID 0). RAID 50 stripes multiple RAID 5 arrays together (RAID 5 + RAID 0).
Each RAID 5 set can sustain a single drive failure. Each RAID 5 set can sustain a single drive failure.
1-drive-failure-per-mirrored-set: 1 drive failure per mirrored set 1-drive-failure-per-mirrored-set: 1 drive failure per mirrored set
raid-10-requires-an-even-number-of-at-least-4-disks: RAID 10 requires an even number of at least 4 disks raid-10-requires-an-even-number-of-at-least-4-disks: RAID 10 requires an even number of at least 4 disks
raid-10-is-a-stripe-of-mirrors-raid-1-raid-0-each-set-of-drives-is-mirrored-and-striped-together-so-that-each-drive-in-the-set-is-fault-tolerant-within-the-group: >- raid-10-is-a-stripe-of-mirrors-raid-1-raid-0-each-set-of-drives-is-mirrored-and-striped-together-so-that-each-drive-in-the-set-is-fault-tolerant-within-the-group:
>-
RAID 10 is a stripe of mirrors (RAID 1 + RAID 0). Each set of drives RAID 10 is a stripe of mirrors (RAID 1 + RAID 0). Each set of drives
is mirrored and striped together so that each drive in the set is is mirrored and striped together so that each drive in the set is
fault tolerant within the group. fault tolerant within the group.
3-drive-failures: 3 drive failures 3-drive-failures: 3 drive failures
raid-7-requires-at-least-5-disks: RAID 7 requires at least 5 disks raid-7-requires-at-least-5-disks: RAID 7 requires at least 5 disks
raid-7-raid-tp-non-standard-is-similiar-to-raid-5-and-raid-6-but-with-a-third-parity-block-this-allows-for-a-third-disk-failure-at-the-cost-of-storage-reduction-equal-to-three-drives: >- raid-7-raid-tp-non-standard-is-similiar-to-raid-5-and-raid-6-but-with-a-third-parity-block-this-allows-for-a-third-disk-failure-at-the-cost-of-storage-reduction-equal-to-three-drives:
>-
RAID 7/RAID TP (non-standard) is similiar to RAID 5 and RAID 6 but RAID 7/RAID TP (non-standard) is similiar to RAID 5 and RAID 6 but
with a third parity block. This allows for a third disk failure at the with a third parity block. This allows for a third disk failure at the
cost of storage reduction equal to three drives. cost of storage reduction equal to three drives.
2-drive-failures: 2 drive failures 2-drive-failures: 2 drive failures
raid-6-requires-at-least-4-disks: RAID 6 requires at least 4 disks raid-6-requires-at-least-4-disks: RAID 6 requires at least 4 disks
raid-6-is-similiar-to-raid-5-but-with-an-additional-parity-block-this-allows-for-an-additional-disk-failure-at-the-cost-of-storage-reduction-equal-to-two-drives: >- raid-6-is-similiar-to-raid-5-but-with-an-additional-parity-block-this-allows-for-an-additional-disk-failure-at-the-cost-of-storage-reduction-equal-to-two-drives:
>-
RAID 6 is similiar to RAID 5 but with an additional parity block. This RAID 6 is similiar to RAID 5 but with an additional parity block. This
allows for an additional disk failure at the cost of storage reduction allows for an additional disk failure at the cost of storage reduction
equal to two drives. equal to two drives.
1-drive-failure: 1 drive failure 1-drive-failure: 1 drive failure
raid-5-requires-at-least-3-disks: RAID 5 requires at least 3 disks raid-5-requires-at-least-3-disks: RAID 5 requires at least 3 disks
raid-5-uses-block-level-striping-with-parity-this-allows-for-fault-tolerance-with-a-storage-reduction-equal-to-one-drive-for-the-parity-information: >- raid-5-uses-block-level-striping-with-parity-this-allows-for-fault-tolerance-with-a-storage-reduction-equal-to-one-drive-for-the-parity-information:
>-
RAID 5 uses block level striping with parity. This allows for fault RAID 5 uses block level striping with parity. This allows for fault
tolerance with a storage reduction equal to one drive for the parity tolerance with a storage reduction equal to one drive for the parity
information. information.
raid-1-requires-at-least-1-disk: RAID 1 requires at least 1 disk raid-1-requires-at-least-1-disk: RAID 1 requires at least 1 disk
raid-1-consists-of-an-exact-copy-of-the-data-mirror-across-two-or-more-disks-the-array-will-operate-as-long-as-at-least-one-drive-is-operational: >- raid-1-consists-of-an-exact-copy-of-the-data-mirror-across-two-or-more-disks-the-array-will-operate-as-long-as-at-least-one-drive-is-operational:
>-
RAID 1 consists of an exact copy of the data (mirror) across two or RAID 1 consists of an exact copy of the data (mirror) across two or
more disks. The array will operate as long as at least one drive is more disks. The array will operate as long as at least one drive is
operational. operational.
raid-0-requires-at-least-1-disk: RAID 0 requires at least 1 disk raid-0-requires-at-least-1-disk: RAID 0 requires at least 1 disk
raid-0-splits-data-evenly-across-2-or-more-disks-without-redunancy-or-fault-tolerance-creating-one-large-storage-space: >- raid-0-splits-data-evenly-across-2-or-more-disks-without-redunancy-or-fault-tolerance-creating-one-large-storage-space:
>-
RAID 0 splits data evenly across 2 or more disks without redunancy or RAID 0 splits data evenly across 2 or more disks without redunancy or
fault tolerance creating one large storage space. fault tolerance creating one large storage space.
categories: categories:
@@ -4873,14 +4886,16 @@ tools:
text: text:
source-wikipedia: 'Source: Wikipedia' source-wikipedia: 'Source: Wikipedia'
once-the-long-break-is-finished-return-to-step-1: Once the long break is finished, return to Step 1. once-the-long-break-is-finished-return-to-step-1: Once the long break is finished, return to Step 1.
keep-repeating-steps-1-3-but-after-your-4th-task-take-a-long-break-instead-of-a-short-break-20-30-minutes-is-common: >- keep-repeating-steps-1-3-but-after-your-4th-task-take-a-long-break-instead-of-a-short-break-20-30-minutes-is-common:
>-
Keep repeating Steps 1-3, but after your 4th task, take a long break Keep repeating Steps 1-3, but after your 4th task, take a long break
instead of a short break (20-30 minutes is common). instead of a short break (20-30 minutes is common).
when-the-timer-rings-take-a-short-break-5-10-minutes-is-common: When the timer rings, take a short break (5-10 minutes is common). when-the-timer-rings-take-a-short-break-5-10-minutes-is-common: When the timer rings, take a short break (5-10 minutes is common).
work-on-the-task-during-that-time: Work on the task during that time. work-on-the-task-during-that-time: Work on the task during that time.
decide-on-a-task-and-set-the-timer-25-minutes-is-common: Decide on a task and set the timer (25 minutes is common). decide-on-a-task-and-set-the-timer-25-minutes-is-common: Decide on a task and set the timer (25 minutes is common).
five-steps-of-the-pomodoro-technique: Five steps of the Pomodoro Technique five-steps-of-the-pomodoro-technique: Five steps of the Pomodoro Technique
the-pomodoro-technique-is-a-time-management-method-developed-by-francesco-cirillo-in-the-1980s-it-uses-a-timer-to-break-work-into-intervals-typically-25-minutes-in-length-separated-by-short-breaks-each-interval-is-known-as-a-pomodoro-from-the-italian-word-for-tomato-after-the-tomato-shaped-kitchen-timer-cirillo-used-as-a-university-student: >- the-pomodoro-technique-is-a-time-management-method-developed-by-francesco-cirillo-in-the-1980s-it-uses-a-timer-to-break-work-into-intervals-typically-25-minutes-in-length-separated-by-short-breaks-each-interval-is-known-as-a-pomodoro-from-the-italian-word-for-tomato-after-the-tomato-shaped-kitchen-timer-cirillo-used-as-a-university-student:
>-
The Pomodoro Technique is a time management method developed by The Pomodoro Technique is a time management method developed by
Francesco Cirillo in the 1980s. It uses a timer to break work into Francesco Cirillo in the 1980s. It uses a timer to break work into
intervals, typically 25 minutes in length, separated by short breaks. intervals, typically 25 minutes in length, separated by short breaks.
@@ -5092,7 +5107,7 @@ tools:
service: service:
text: text:
invalid-octal-permissions-must-be-3-or-4-octal-digits-octalpermissions: 'Invalid octal permissions (must be 3 or 4 octal digits): {0}' invalid-octal-permissions-must-be-3-or-4-octal-digits-octalpermissions: 'Invalid octal permissions (must be 3 or 4 octal digits): {0}'
invalid-string-permissions-must-be-in-form-rwxrwxrwx-symbolicpermissions: 'Invalid string permissions (must be in form ''rwxrwxrwx''): {0}' invalid-string-permissions-must-be-in-form-rwxrwxrwx-symbolicpermissions: "Invalid string permissions (must be in form 'rwxrwxrwx'): {0}"
color-converter: color-converter:
title: Color converter title: Color converter
description: Convert color between the different formats (hex, rgb, hsl and css name) description: Convert color between the different formats (hex, rgb, hsl and css name)
@@ -5128,7 +5143,8 @@ tools:
placeholder-enter-a-password: Enter a password... placeholder-enter-a-password: Enter a password...
tag-duration-to-crack-this-password-with-brute-force: Duration to crack this password with brute force tag-duration-to-crack-this-password-with-brute-force: Duration to crack this password with brute force
tag-note: 'Note:' tag-note: 'Note:'
tag-the-computed-strength-is-based-on-the-time-it-would-take-to-crack-the-password-using-a-brute-force-approach-it-does-not-take-into-account-the-possibility-of-a-dictionary-attack: >- tag-the-computed-strength-is-based-on-the-time-it-would-take-to-crack-the-password-using-a-brute-force-approach-it-does-not-take-into-account-the-possibility-of-a-dictionary-attack:
>-
The computed strength is based on the time it would take to crack the The computed strength is based on the time it would take to crack the
password using a brute force approach, it does not take into account the password using a brute force approach, it does not take into account the
possibility of a dictionary attack. possibility of a dictionary attack.
@@ -5304,7 +5320,7 @@ tools:
song-details: Song details song-details: Song details
twitter: twitter:
text: text:
the-name-of-the-twitter-account-of-the-creator-ex-sharevb: 'The name of the Twitter account of the creator (ex: {''@''}sharevb)...' the-name-of-the-twitter-account-of-the-creator-ex-sharevb: "The name of the Twitter account of the creator (ex: {'@'}sharevb)..."
creator-acc: Creator acc. creator-acc: Creator acc.
the-name-of-the-twitter-account-of-the-site-ex-ittoolsdottech: >- the-name-of-the-twitter-account-of-the-site-ex-ittoolsdottech: >-
The name of the Twitter account of the site (ex: The name of the Twitter account of the site (ex:
@@ -5992,17 +6008,20 @@ tools:
The server either does not recognize the request method, or it lacks The server either does not recognize the request method, or it lacks
the ability to fulfill the request. the ability to fulfill the request.
not-implemented: Not Implemented not-implemented: Not Implemented
a-generic-error-message-given-when-an-unexpected-condition-was-encountered-and-no-more-specific-message-is-suitable: >- a-generic-error-message-given-when-an-unexpected-condition-was-encountered-and-no-more-specific-message-is-suitable:
>-
A generic error message, given when an unexpected condition was A generic error message, given when an unexpected condition was
encountered and no more specific message is suitable. encountered and no more specific message is suitable.
internal-server-error: Internal Server Error internal-server-error: Internal Server Error
5xx-server-error: 5xx server error 5xx-server-error: 5xx server error
a-server-operator-has-received-a-legal-demand-to-deny-access-to-a-resource-or-to-a-set-of-resources-that-includes-the-requested-resource: >- a-server-operator-has-received-a-legal-demand-to-deny-access-to-a-resource-or-to-a-set-of-resources-that-includes-the-requested-resource:
>-
A server operator has received a legal demand to deny access to a A server operator has received a legal demand to deny access to a
resource or to a set of resources that includes the requested resource or to a set of resources that includes the requested
resource. resource.
unavailable-for-legal-reasons: Unavailable For Legal Reasons unavailable-for-legal-reasons: Unavailable For Legal Reasons
the-server-is-unwilling-to-process-the-request-because-either-an-individual-header-field-or-all-the-header-fields-collectively-are-too-large: >- the-server-is-unwilling-to-process-the-request-because-either-an-individual-header-field-or-all-the-header-fields-collectively-are-too-large:
>-
The server is unwilling to process the request because either an The server is unwilling to process the request because either an
individual header field, or all the header fields collectively, are individual header field, or all the header fields collectively, are
too large. too large.
@@ -6059,7 +6078,8 @@ tools:
Indicates that the resource requested is no longer available and will Indicates that the resource requested is no longer available and will
not be available again. not be available again.
gone: Gone gone: Gone
indicates-that-the-request-could-not-be-processed-because-of-conflict-in-the-request-such-as-an-edit-conflict: >- indicates-that-the-request-could-not-be-processed-because-of-conflict-in-the-request-such-as-an-edit-conflict:
>-
Indicates that the request could not be processed because of conflict Indicates that the request could not be processed because of conflict
in the request, such as an edit conflict. in the request, such as an edit conflict.
conflict: Conflict conflict: Conflict
@@ -6067,7 +6087,8 @@ tools:
request-timeout: Request Timeout request-timeout: Request Timeout
the-client-must-first-authenticate-itself-with-the-proxy: The client must first authenticate itself with the proxy. the-client-must-first-authenticate-itself-with-the-proxy: The client must first authenticate itself with the proxy.
proxy-authentication-required: Proxy Authentication Required proxy-authentication-required: Proxy Authentication Required
the-requested-resource-is-capable-of-generating-only-content-not-acceptable-according-to-the-accept-headers-sent-in-the-request: >- the-requested-resource-is-capable-of-generating-only-content-not-acceptable-according-to-the-accept-headers-sent-in-the-request:
>-
The requested resource is capable of generating only content not The requested resource is capable of generating only content not
acceptable according to the Accept headers sent in the request. acceptable according to the Accept headers sent in the request.
not-acceptable: Not Acceptable not-acceptable: Not Acceptable
@@ -6076,16 +6097,19 @@ tools:
the-requested-resource-could-not-be-found-but-may-be-available-in-the-future: >- the-requested-resource-could-not-be-found-but-may-be-available-in-the-future: >-
The requested resource could not be found but may be available in the The requested resource could not be found but may be available in the
future. future.
the-request-was-valid-but-the-server-is-refusing-action-the-user-might-not-have-the-necessary-permissions-for-a-resource: >- the-request-was-valid-but-the-server-is-refusing-action-the-user-might-not-have-the-necessary-permissions-for-a-resource:
>-
The request was valid, but the server is refusing action. The user The request was valid, but the server is refusing action. The user
might not have the necessary permissions for a resource. might not have the necessary permissions for a resource.
forbidden: Forbidden forbidden: Forbidden
reserved-for-future-use-the-original-intention-was-that-this-code-might-be-used-as-part-of-some-form-of-digital-cash-or-micropayment-scheme: >- reserved-for-future-use-the-original-intention-was-that-this-code-might-be-used-as-part-of-some-form-of-digital-cash-or-micropayment-scheme:
>-
Reserved for future use. The original intention was that this code Reserved for future use. The original intention was that this code
might be used as part of some form of digital cash or micropayment might be used as part of some form of digital cash or micropayment
scheme. scheme.
payment-required: Payment Required payment-required: Payment Required
similar-to-403-forbidden-but-specifically-for-use-when-authentication-is-required-and-has-failed-or-has-not-yet-been-provided: >- similar-to-403-forbidden-but-specifically-for-use-when-authentication-is-required-and-has-failed-or-has-not-yet-been-provided:
>-
Similar to 403 Forbidden, but specifically for use when authentication Similar to 403 Forbidden, but specifically for use when authentication
is required and has failed or has not yet been provided. is required and has failed or has not yet been provided.
unauthorized: Unauthorized unauthorized: Unauthorized
@@ -6098,7 +6122,8 @@ tools:
The request and all future requests should be repeated using another The request and all future requests should be repeated using another
URI. URI.
permanent-redirect: Permanent Redirect permanent-redirect: Permanent Redirect
in-this-case-the-request-should-be-repeated-with-another-uri-however-future-requests-should-still-use-the-original-uri: >- in-this-case-the-request-should-be-repeated-with-another-uri-however-future-requests-should-still-use-the-original-uri:
>-
In this case, the request should be repeated with another URI; In this case, the request should be repeated with another URI;
however, future requests should still use the original URI. however, future requests should still use the original URI.
temporary-redirect: Temporary Redirect temporary-redirect: Temporary Redirect
@@ -6474,6 +6499,25 @@ tools:
placeholder-put-your-encoded-tokens-here: Put your encoded tokens here... placeholder-put-your-encoded-tokens-here: Put your encoded tokens here...
label-tokens-to-decode: Tokens to decode label-tokens-to-decode: Tokens to decode
label-decoded-text: Decoded text label-decoded-text: Decoded text
image-color-inverter:
title: Image Color Inverter
description: >-
Invert the colors of an image to create a negative effect. Upload any
image and instantly get the color-inverted version.
texts:
title-drag-and-drop-an-image-here-or-click-to-select: Drag and drop an image here, or click to select
label-original-image: Original Image
label-inverted-image: Inverted Image
tag-download-png: Download PNG
tag-copy-base64: Copy Base64
tag-clear-and-upload-new: Clear & Upload New
error-file-must-be-an-image: File must be an image
error-image-file-size-must-be-less-than-10mb: Image file size must be less than 10MB
error-failed-to-get-canvas-context: Failed to get canvas context
error-failed-to-process-image: Failed to process image
error-failed-to-load-image: Failed to load image
error-failed-to-read-file: Failed to read file
success-inverted-image-base64-copied-to-clipboard: Inverted image base64 copied to clipboard
image-comparer: image-comparer:
title: Image Comparer title: Image Comparer
description: A tool to visualy compare images description: A tool to visualy compare images
@@ -6644,7 +6688,8 @@ tools:
label-failure-probability: 'Failure Probability:' label-failure-probability: 'Failure Probability:'
tag-key-terms-explained: 🧠 Key Terms Explained tag-key-terms-explained: 🧠 Key Terms Explained
tag-raid-level: RAID Level tag-raid-level: RAID Level
tag-raid-redundant-array-of-independent-disks-is-a-method-of-combining-multiple-physical-drives-into-one-logical-unit-to-improve-performance-redundancy-or-both: >- tag-raid-redundant-array-of-independent-disks-is-a-method-of-combining-multiple-physical-drives-into-one-logical-unit-to-improve-performance-redundancy-or-both:
>-
RAID (Redundant Array of Independent Disks) is a method of combining RAID (Redundant Array of Independent Disks) is a method of combining
multiple physical drives into one logical unit to improve performance, multiple physical drives into one logical unit to improve performance,
redundancy, or both. redundancy, or both.
@@ -6674,34 +6719,41 @@ tools:
Stripe of RAID 5 arrays. Combines performance of RAID 0 with redundancy Stripe of RAID 5 arrays. Combines performance of RAID 0 with redundancy
of RAID 5. of RAID 5.
tag-️-mtbf-mean-time-between-failures: ⏱️ MTBF (Mean Time Between Failures) tag-️-mtbf-mean-time-between-failures: ⏱️ MTBF (Mean Time Between Failures)
tag-the-average-time-in-hours-a-drive-is-expected-to-operate-before-failing-higher-mtbf-means-more-reliable-hardware: >- tag-the-average-time-in-hours-a-drive-is-expected-to-operate-before-failing-higher-mtbf-means-more-reliable-hardware:
>-
The average time (in hours) a drive is expected to operate before The average time (in hours) a drive is expected to operate before
failing. Higher MTBF means more reliable hardware. failing. Higher MTBF means more reliable hardware.
tag-rebuild-time: 🔁 Rebuild Time tag-rebuild-time: 🔁 Rebuild Time
tag-the-time-required-to-reconstruct-data-on-a-replacement-drive-after-a-failure-longer-rebuild-times-increase-the-risk-of-a-second-failure-during-recovery: >- tag-the-time-required-to-reconstruct-data-on-a-replacement-drive-after-a-failure-longer-rebuild-times-increase-the-risk-of-a-second-failure-during-recovery:
>-
The time required to reconstruct data on a replacement drive after a The time required to reconstruct data on a replacement drive after a
failure. Longer rebuild times increase the risk of a second failure failure. Longer rebuild times increase the risk of a second failure
during recovery. during recovery.
tag-mttdl-mean-time-to-data-loss: 📉 MTTDL (Mean Time To Data Loss) tag-mttdl-mean-time-to-data-loss: 📉 MTTDL (Mean Time To Data Loss)
tag-a-statistical-estimate-of-how-long-a-raid-system-can-operate-before-data-loss-occurs-it-considers-drive-failures-rebuild-time-and-raid-redundancy-higher-mttdl-means-a-safer-system: >- tag-a-statistical-estimate-of-how-long-a-raid-system-can-operate-before-data-loss-occurs-it-considers-drive-failures-rebuild-time-and-raid-redundancy-higher-mttdl-means-a-safer-system:
>-
A statistical estimate of how long a RAID system can operate before data A statistical estimate of how long a RAID system can operate before data
loss occurs. It considers drive failures, rebuild time, and RAID loss occurs. It considers drive failures, rebuild time, and RAID
redundancy. Higher MTTDL means a safer system. redundancy. Higher MTTDL means a safer system.
tag-bit-error-rate-ber: 🧮 Bit Error Rate (BER) tag-bit-error-rate-ber: 🧮 Bit Error Rate (BER)
tag-the-probability-that-a-bit-read-from-a-disk-will-be-incorrect-due-to-hardware-limitations-even-tiny-bers-like-1-in-a-trillion-can-cause-issues-during-rebuilds-especially-with-large-drives: >- tag-the-probability-that-a-bit-read-from-a-disk-will-be-incorrect-due-to-hardware-limitations-even-tiny-bers-like-1-in-a-trillion-can-cause-issues-during-rebuilds-especially-with-large-drives:
>-
The probability that a bit read from a disk will be incorrect due to The probability that a bit read from a disk will be incorrect due to
hardware limitations. Even tiny BERs (like 1 in a trillion) can cause hardware limitations. Even tiny BERs (like 1 in a trillion) can cause
issues during rebuilds, especially with large drives. issues during rebuilds, especially with large drives.
tag-unrecoverable-read-error-ure: 🧠 Unrecoverable Read Error (URE) tag-unrecoverable-read-error-ure: 🧠 Unrecoverable Read Error (URE)
tag-occurs-when-a-drive-fails-to-read-a-sector-during-rebuild-ber-contributes-to-ure-risk-which-can-compromise-raid-recovery: >- tag-occurs-when-a-drive-fails-to-read-a-sector-during-rebuild-ber-contributes-to-ure-risk-which-can-compromise-raid-recovery:
>-
Occurs when a drive fails to read a sector during rebuild. BER Occurs when a drive fails to read a sector during rebuild. BER
contributes to URE risk, which can compromise RAID recovery. contributes to URE risk, which can compromise RAID recovery.
tag-drive-capacity-tb: 📦 Drive Capacity (TB) tag-drive-capacity-tb: 📦 Drive Capacity (TB)
tag-total-storage-per-drive-larger-drives-take-longer-to-rebuild-and-are-more-susceptible-to-ber-related-errors: >- tag-total-storage-per-drive-larger-drives-take-longer-to-rebuild-and-are-more-susceptible-to-ber-related-errors:
>-
Total storage per drive. Larger drives take longer to rebuild and are Total storage per drive. Larger drives take longer to rebuild and are
more susceptible to BER-related errors. more susceptible to BER-related errors.
tag-failure-probability: 📈 Failure Probability tag-failure-probability: 📈 Failure Probability
tag-the-chance-that-the-raid-system-will-experience-data-loss-over-a-given-time-period-e-g-5-years-calculated-using-mttdl-and-exponential-failure-models: >- tag-the-chance-that-the-raid-system-will-experience-data-loss-over-a-given-time-period-e-g-5-years-calculated-using-mttdl-and-exponential-failure-models:
>-
The chance that the RAID system will experience data loss over a given The chance that the RAID system will experience data loss over a given
time period (e.g., 5 years). Calculated using MTTDL and exponential time period (e.g., 5 years). Calculated using MTTDL and exponential
failure models. failure models.
@@ -7050,7 +7102,8 @@ tools:
tag-mirrors-stripes: Mirrors/Stripes tag-mirrors-stripes: Mirrors/Stripes
tag-reset: Reset tag-reset: Reset
tag-see-zpool-openzfs-cheatsheet: See Zpool/OpenZFS Cheatsheet tag-see-zpool-openzfs-cheatsheet: See Zpool/OpenZFS Cheatsheet
tag-click-on-the-section-titles-to-expand-collapse-and-view-calculated-data-hovering-over-a-table-cell-loads-the-relevant-data-into-the-calculation-values-section-below-you-can-click-table-cells-to-freeze-or-unfreeze-those-values: >- tag-click-on-the-section-titles-to-expand-collapse-and-view-calculated-data-hovering-over-a-table-cell-loads-the-relevant-data-into-the-calculation-values-section-below-you-can-click-table-cells-to-freeze-or-unfreeze-those-values:
>-
Click on the section titles to expand/collapse and view calculated data. Click on the section titles to expand/collapse and view calculated data.
Hovering over a table cell loads the relevant data into the Calculation Hovering over a table cell loads the relevant data into the Calculation
Values section below. You can click table cells to freeze or unfreeze Values section below. You can click table cells to freeze or unfreeze
+1 -1
View File
@@ -365,7 +365,7 @@
"@types/morsee": "^1.0.2", "@types/morsee": "^1.0.2",
"@types/nanoid-dictionary": "^4.2.3", "@types/nanoid-dictionary": "^4.2.3",
"@types/netmask": "^2.0.5", "@types/netmask": "^2.0.5",
"@types/node": "^18.19.120", "@types/node": "^22.0.0",
"@types/node-forge": "^1.3.13", "@types/node-forge": "^1.3.13",
"@types/potrace": "^2.1.5", "@types/potrace": "^2.1.5",
"@types/punycode": "^2.1.4", "@types/punycode": "^2.1.4",
+46 -36
View File
@@ -391,7 +391,7 @@ dependencies:
version: 4.5.1 version: 4.5.1
ical-generator: ical-generator:
specifier: ^8.1.1 specifier: ^8.1.1
version: 8.1.1(@types/luxon@3.4.2)(@types/node@18.19.120)(luxon@3.5.0)(moment@2.30.1) version: 8.1.1(@types/luxon@3.4.2)(@types/node@22.18.0)(luxon@3.5.0)(moment@2.30.1)
ical.js: ical.js:
specifier: ^2.2.0 specifier: ^2.2.0
version: 2.2.0 version: 2.2.0
@@ -980,8 +980,8 @@ devDependencies:
specifier: ^2.0.5 specifier: ^2.0.5
version: 2.0.5 version: 2.0.5
'@types/node': '@types/node':
specifier: ^18.19.120 specifier: ^22.0.0
version: 18.19.120 version: 22.18.0
'@types/node-forge': '@types/node-forge':
specifier: ^1.3.13 specifier: ^1.3.13
version: 1.3.13 version: 1.3.13
@@ -1083,7 +1083,7 @@ devDependencies:
version: 29.1.0(vite@4.4.9) version: 29.1.0(vite@4.4.9)
vite: vite:
specifier: ^4.4.9 specifier: ^4.4.9
version: 4.4.9(@types/node@18.19.120)(less@4.2.2) version: 4.4.9(@types/node@22.18.0)(less@4.2.2)
vite-plugin-node-polyfills: vite-plugin-node-polyfills:
specifier: ^0.23.0 specifier: ^0.23.0
version: 0.23.0(rollup@2.79.2)(vite@4.4.9) version: 0.23.0(rollup@2.79.2)(vite@4.4.9)
@@ -6185,7 +6185,7 @@ packages:
'@tailwindcss/node': 4.1.12 '@tailwindcss/node': 4.1.12
'@tailwindcss/oxide': 4.1.12 '@tailwindcss/oxide': 4.1.12
tailwindcss: 4.1.12 tailwindcss: 4.1.12
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
dev: false dev: false
/@thaunknown/thirty-two@1.0.5: /@thaunknown/thirty-two@1.0.5:
@@ -6554,7 +6554,7 @@ packages:
/@types/asn1@0.2.4: /@types/asn1@0.2.4:
resolution: {integrity: sha512-V91DSJ2l0h0gRhVP4oBfBzRBN9lAbPUkGDMCnwedqPKX2d84aAMc9CulOvxdw1f7DfEYx99afab+Rsm3e52jhA==} resolution: {integrity: sha512-V91DSJ2l0h0gRhVP4oBfBzRBN9lAbPUkGDMCnwedqPKX2d84aAMc9CulOvxdw1f7DfEYx99afab+Rsm3e52jhA==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/bcryptjs@2.4.6: /@types/bcryptjs@2.4.6:
@@ -6801,7 +6801,7 @@ packages:
resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==}
dependencies: dependencies:
'@types/jsonfile': 6.1.1 '@types/jsonfile': 6.1.1
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/gensync@1.0.4: /@types/gensync@1.0.4:
@@ -6841,7 +6841,7 @@ packages:
/@types/jsdom@21.1.7: /@types/jsdom@21.1.7:
resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==} resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
'@types/tough-cookie': 4.0.2 '@types/tough-cookie': 4.0.2
parse5: 7.1.2 parse5: 7.1.2
dev: true dev: true
@@ -6857,7 +6857,7 @@ packages:
/@types/jsonfile@6.1.1: /@types/jsonfile@6.1.1:
resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==} resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/jsonpath@0.2.4: /@types/jsonpath@0.2.4:
@@ -6871,7 +6871,7 @@ packages:
/@types/libmime@5.0.3: /@types/libmime@5.0.3:
resolution: {integrity: sha512-fJ4ISAOqnWpnojw5+Ya1Fu1lPWf3PTK9E8KwJoUnJvtTXYepuFwzE4EI4lMhbAshCVu8jLdQrWLjBZyEcFgADQ==} resolution: {integrity: sha512-fJ4ISAOqnWpnojw5+Ya1Fu1lPWf3PTK9E8KwJoUnJvtTXYepuFwzE4EI4lMhbAshCVu8jLdQrWLjBZyEcFgADQ==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/linkify-it@3.0.2: /@types/linkify-it@3.0.2:
@@ -6952,7 +6952,7 @@ packages:
/@types/memorystream@0.3.4: /@types/memorystream@0.3.4:
resolution: {integrity: sha512-AVVe8unTnhTecg9GmRVddQFvi5K7+QcvLTfUstT+5dhQ633+JX4bK/sKaHTj8Z5RUOoVNS6u1gfby29ArDj4Gw==} resolution: {integrity: sha512-AVVe8unTnhTecg9GmRVddQFvi5K7+QcvLTfUstT+5dhQ633+JX4bK/sKaHTj8Z5RUOoVNS6u1gfby29ArDj4Gw==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/mime-types@2.1.4: /@types/mime-types@2.1.4:
@@ -6978,14 +6978,14 @@ packages:
/@types/node-fetch@2.6.12: /@types/node-fetch@2.6.12:
resolution: {integrity: sha512-8nneRWKCg3rMtF69nLQJnOYUcbafYeFSjqkw3jCRLsqkWFlHaoQrr5mXmofFGOx3DKn7UfmBMyov8ySvLRVldA==} resolution: {integrity: sha512-8nneRWKCg3rMtF69nLQJnOYUcbafYeFSjqkw3jCRLsqkWFlHaoQrr5mXmofFGOx3DKn7UfmBMyov8ySvLRVldA==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
form-data: 4.0.0 form-data: 4.0.0
dev: false dev: false
/@types/node-forge@1.3.13: /@types/node-forge@1.3.13:
resolution: {integrity: sha512-zePQJSW5QkwSHKRApqWCVKeKoSOt4xvEnLENZPjyvm9Ezdf/EyDeJM7jqLzOwjVICQQzvLZ63T55MKdJB5H6ww==} resolution: {integrity: sha512-zePQJSW5QkwSHKRApqWCVKeKoSOt4xvEnLENZPjyvm9Ezdf/EyDeJM7jqLzOwjVICQQzvLZ63T55MKdJB5H6ww==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/node@16.9.1: /@types/node@16.9.1:
@@ -6999,6 +6999,12 @@ packages:
resolution: {integrity: sha512-WtCGHFXnVI8WHLxDAt5TbnCM4eSE+nI0QN2NJtwzcgMhht2eNz6V9evJrk+lwC8bCY8OWV5Ym8Jz7ZEyGnKnMA==} resolution: {integrity: sha512-WtCGHFXnVI8WHLxDAt5TbnCM4eSE+nI0QN2NJtwzcgMhht2eNz6V9evJrk+lwC8bCY8OWV5Ym8Jz7ZEyGnKnMA==}
dependencies: dependencies:
undici-types: 5.26.5 undici-types: 5.26.5
dev: true
/@types/node@22.18.0:
resolution: {integrity: sha512-m5ObIqwsUp6BZzyiy4RdZpzWGub9bqLJMvZDD0QMXhxjqMHMENlj+SqF5QxoUwaQNFe+8kz8XM8ZQhqkQPTgMQ==}
dependencies:
undici-types: 6.21.0
/@types/node@24.3.0: /@types/node@24.3.0:
resolution: {integrity: sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==} resolution: {integrity: sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==}
@@ -7013,7 +7019,7 @@ packages:
/@types/potrace@2.1.5: /@types/potrace@2.1.5:
resolution: {integrity: sha512-Sgk3f5pv0LFlBHg5xlEJQZcqZLyzvdOHOuHb1lux1a1r4cEFgtqBDQx4igQEEb+Xddu0T9KXanPNjlJhpRKsXQ==} resolution: {integrity: sha512-Sgk3f5pv0LFlBHg5xlEJQZcqZLyzvdOHOuHb1lux1a1r4cEFgtqBDQx4igQEEb+Xddu0T9KXanPNjlJhpRKsXQ==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
jimp: 0.16.1 jimp: 0.16.1
transitivePeerDependencies: transitivePeerDependencies:
- debug - debug
@@ -7030,7 +7036,7 @@ packages:
/@types/qrcode@1.5.5: /@types/qrcode@1.5.5:
resolution: {integrity: sha512-CdfBi/e3Qk+3Z/fXYShipBT13OJ2fDO2Q2w5CIP5anLTLIndQG9z6P1cnm+8zCWSpm5dnxMFd/uREtb0EXuQzg==} resolution: {integrity: sha512-CdfBi/e3Qk+3Z/fXYShipBT13OJ2fDO2Q2w5CIP5anLTLIndQG9z6P1cnm+8zCWSpm5dnxMFd/uREtb0EXuQzg==}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/resolve@1.20.2: /@types/resolve@1.20.2:
@@ -7055,7 +7061,7 @@ packages:
resolution: {integrity: sha512-5gI/7eJn6wmkuIuFY8JZJ1g5b30H9K5U5vKrvOuYu+hoZLb2xcVEgxhYZ2Vhbs0w/ACyzyfkJq0hQtBfSCugjw==} resolution: {integrity: sha512-5gI/7eJn6wmkuIuFY8JZJ1g5b30H9K5U5vKrvOuYu+hoZLb2xcVEgxhYZ2Vhbs0w/ACyzyfkJq0hQtBfSCugjw==}
dependencies: dependencies:
'@types/asn1': 0.2.4 '@types/asn1': 0.2.4
'@types/node': 18.19.120 '@types/node': 22.18.0
dev: true dev: true
/@types/stringify-object@4.0.5: /@types/stringify-object@4.0.5:
@@ -7477,7 +7483,7 @@ packages:
'@unocss/core': 0.57.7 '@unocss/core': 0.57.7
'@unocss/reset': 0.57.7 '@unocss/reset': 0.57.7
'@unocss/vite': 0.57.7(rollup@2.79.2)(vite@4.4.9) '@unocss/vite': 0.57.7(rollup@2.79.2)(vite@4.4.9)
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
transitivePeerDependencies: transitivePeerDependencies:
- rollup - rollup
dev: true dev: true
@@ -7723,7 +7729,7 @@ packages:
chokidar: 3.6.0 chokidar: 3.6.0
fast-glob: 3.3.3 fast-glob: 3.3.3
magic-string: 0.30.17 magic-string: 0.30.17
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
transitivePeerDependencies: transitivePeerDependencies:
- rollup - rollup
dev: true dev: true
@@ -7750,7 +7756,7 @@ packages:
'@babel/core': 7.22.10 '@babel/core': 7.22.10
'@babel/plugin-transform-typescript': 7.22.10(@babel/core@7.22.10) '@babel/plugin-transform-typescript': 7.22.10(@babel/core@7.22.10)
'@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.22.10) '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.22.10)
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
vue: 3.3.4 vue: 3.3.4
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@@ -7763,7 +7769,7 @@ packages:
vite: ^4.0.0 || ^5.0.0 vite: ^4.0.0 || ^5.0.0
vue: ^3.2.25 vue: ^3.2.25
dependencies: dependencies:
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
vue: 3.3.4 vue: 3.3.4
dev: true dev: true
@@ -12809,7 +12815,7 @@ packages:
resolution: {integrity: sha512-DfKQpLlFq9yEUIEnFuCJzss3XavD7iHZTU5PyqXiAJ+rmaMp+NFP3hboumHKuK8nZjuOJg93WemTzcQ5b9jOZA==} resolution: {integrity: sha512-DfKQpLlFq9yEUIEnFuCJzss3XavD7iHZTU5PyqXiAJ+rmaMp+NFP3hboumHKuK8nZjuOJg93WemTzcQ5b9jOZA==}
dev: false dev: false
/ical-generator@8.1.1(@types/luxon@3.4.2)(@types/node@18.19.120)(luxon@3.5.0)(moment@2.30.1): /ical-generator@8.1.1(@types/luxon@3.4.2)(@types/node@22.18.0)(luxon@3.5.0)(moment@2.30.1):
resolution: {integrity: sha512-vorfUDZk4NaVLB7f1pm9AeRGy0jTYn7QUHZCFCMx3EGOz9+yykdAjA1i4ez+ZLAEK55lmutCXvVovEdTj9s1XA==} resolution: {integrity: sha512-vorfUDZk4NaVLB7f1pm9AeRGy0jTYn7QUHZCFCMx3EGOz9+yykdAjA1i4ez+ZLAEK55lmutCXvVovEdTj9s1XA==}
engines: {node: 18 || 20 || >=22.0.0} engines: {node: 18 || 20 || >=22.0.0}
peerDependencies: peerDependencies:
@@ -12843,7 +12849,7 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@types/luxon': 3.4.2 '@types/luxon': 3.4.2
'@types/node': 18.19.120 '@types/node': 22.18.0
luxon: 3.5.0 luxon: 3.5.0
moment: 2.30.1 moment: 2.30.1
uuid-random: 1.3.2 uuid-random: 1.3.2
@@ -13592,7 +13598,7 @@ packages:
resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}
engines: {node: '>= 10.13.0'} engines: {node: '>= 10.13.0'}
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
merge-stream: 2.0.0 merge-stream: 2.0.0
supports-color: 8.1.1 supports-color: 8.1.1
dev: false dev: false
@@ -16380,7 +16386,7 @@ packages:
'@protobufjs/path': 1.1.2 '@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0 '@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0 '@protobufjs/utf8': 1.1.0
'@types/node': 18.19.120 '@types/node': 22.18.0
long: 5.3.1 long: 5.3.1
dev: false dev: false
@@ -18711,6 +18717,10 @@ packages:
/undici-types@5.26.5: /undici-types@5.26.5:
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
dev: true
/undici-types@6.21.0:
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
/undici-types@7.10.0: /undici-types@7.10.0:
resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==} resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==}
@@ -18899,7 +18909,7 @@ packages:
'@unocss/transformer-directives': 0.57.7 '@unocss/transformer-directives': 0.57.7
'@unocss/transformer-variant-group': 0.57.7 '@unocss/transformer-variant-group': 0.57.7
'@unocss/vite': 0.57.7(rollup@2.79.2)(vite@4.4.9) '@unocss/vite': 0.57.7(rollup@2.79.2)(vite@4.4.9)
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
transitivePeerDependencies: transitivePeerDependencies:
- postcss - postcss
- rollup - rollup
@@ -19022,7 +19032,7 @@ packages:
markdown-it-async: 2.2.0 markdown-it-async: 2.2.0
unplugin: 2.3.5 unplugin: 2.3.5
unplugin-utils: 0.2.4 unplugin-utils: 0.2.4
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
dev: true dev: true
/unplugin@1.16.1: /unplugin@1.16.1:
@@ -19334,7 +19344,7 @@ packages:
teex: 1.0.1 teex: 1.0.1
dev: false dev: false
/vite-node@0.34.6(@types/node@18.19.120)(less@4.2.2): /vite-node@0.34.6(@types/node@22.18.0)(less@4.2.2):
resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==}
engines: {node: '>=v14.18.0'} engines: {node: '>=v14.18.0'}
hasBin: true hasBin: true
@@ -19344,7 +19354,7 @@ packages:
mlly: 1.7.3 mlly: 1.7.3
pathe: 1.1.2 pathe: 1.1.2
picocolors: 1.1.1 picocolors: 1.1.1
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- less - less
@@ -19363,7 +19373,7 @@ packages:
dependencies: dependencies:
'@rollup/plugin-inject': 5.0.5(rollup@2.79.2) '@rollup/plugin-inject': 5.0.5(rollup@2.79.2)
node-stdlib-browser: 1.3.0 node-stdlib-browser: 1.3.0
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
transitivePeerDependencies: transitivePeerDependencies:
- rollup - rollup
dev: true dev: true
@@ -19383,7 +19393,7 @@ packages:
debug: 4.4.0 debug: 4.4.0
pretty-bytes: 6.1.1 pretty-bytes: 6.1.1
tinyglobby: 0.2.12 tinyglobby: 0.2.12
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
workbox-build: 7.3.0 workbox-build: 7.3.0
workbox-window: 7.3.0 workbox-window: 7.3.0
transitivePeerDependencies: transitivePeerDependencies:
@@ -19399,7 +19409,7 @@ packages:
peerDependencies: peerDependencies:
vite: ^2 || ^3 || ^4 || ^5 || ^6 vite: ^2 || ^3 || ^4 || ^5 || ^6
dependencies: dependencies:
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
dev: true dev: true
/vite-svg-loader@4.0.0: /vite-svg-loader@4.0.0:
@@ -19409,7 +19419,7 @@ packages:
svgo: 3.3.2 svgo: 3.3.2
dev: true dev: true
/vite@4.4.9(@types/node@18.19.120)(less@4.2.2): /vite@4.4.9(@types/node@22.18.0)(less@4.2.2):
resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true hasBin: true
@@ -19437,7 +19447,7 @@ packages:
terser: terser:
optional: true optional: true
dependencies: dependencies:
'@types/node': 18.19.120 '@types/node': 22.18.0
esbuild: 0.18.20 esbuild: 0.18.20
less: 4.2.2 less: 4.2.2
postcss: 8.4.28 postcss: 8.4.28
@@ -19478,7 +19488,7 @@ packages:
dependencies: dependencies:
'@types/chai': 4.3.5 '@types/chai': 4.3.5
'@types/chai-subset': 1.3.3 '@types/chai-subset': 1.3.3
'@types/node': 18.19.120 '@types/node': 22.18.0
'@vitest/expect': 0.34.6 '@vitest/expect': 0.34.6
'@vitest/runner': 0.34.6 '@vitest/runner': 0.34.6
'@vitest/snapshot': 0.34.6 '@vitest/snapshot': 0.34.6
@@ -19498,8 +19508,8 @@ packages:
strip-literal: 1.0.1 strip-literal: 1.0.1
tinybench: 2.5.0 tinybench: 2.5.0
tinypool: 0.7.0 tinypool: 0.7.0
vite: 4.4.9(@types/node@18.19.120)(less@4.2.2) vite: 4.4.9(@types/node@22.18.0)(less@4.2.2)
vite-node: 0.34.6(@types/node@18.19.120)(less@4.2.2) vite-node: 0.34.6(@types/node@22.18.0)(less@4.2.2)
why-is-node-running: 2.2.2 why-is-node-running: 2.2.2
transitivePeerDependencies: transitivePeerDependencies:
- less - less
+4 -4
View File
@@ -14,7 +14,7 @@ Specifies the base image.
```Dockerfile ```Dockerfile
FROM ubuntu:20.04 FROM ubuntu:20.04
FROM node:18-alpine FROM node:22-alpine
``` ```
### `LABEL` ### `LABEL`
@@ -138,7 +138,7 @@ ONBUILD COPY . /app
## 🧪 Example Dockerfile ## 🧪 Example Dockerfile
```Dockerfile ```Dockerfile
FROM node:18-alpine FROM node:22-alpine
LABEL maintainer="guillaume@example.com" LABEL maintainer="guillaume@example.com"
@@ -189,7 +189,7 @@ Dockerfile
```Dockerfile ```Dockerfile
# Stage 1: Build # Stage 1: Build
FROM node:18-alpine AS builder FROM node:22-alpine AS builder
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm install
@@ -243,7 +243,7 @@ Multistage builds help you avoid bloated images:
```Dockerfile ```Dockerfile
# Build stage # Build stage
FROM node:18 AS build FROM node:22 AS build
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm install
@@ -0,0 +1,87 @@
export function invertImageFile(file: File): Promise<string> {
return new Promise((resolve, reject) => {
// Validate file type
if (!file.type.startsWith('image/')) {
reject(new Error('File must be an image'));
return;
}
// Check file size (limit to 10MB)
const maxSize = 10 * 1024 * 1024; // 10MB
if (file.size > maxSize) {
reject(new Error('Image file size must be less than 10MB'));
return;
}
const reader = new FileReader();
reader.onload = () => {
const img = new Image();
img.src = reader.result as string;
img.onload = () => {
try {
const canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d');
if (!ctx) {
reject(new Error('Failed to get canvas context'));
return;
}
canvas.width = img.width;
canvas.height = img.height;
// Draw the original image
ctx.drawImage(img, 0, 0);
// Get image data
const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
const data = imageData.data;
// Invert colors (RGB channels only, preserve alpha)
for (let i = 0; i < data.length; i += 4) {
data[i] = 255 - data[i]; // Red
data[i + 1] = 255 - data[i + 1]; // Green
data[i + 2] = 255 - data[i + 2]; // Blue
// data[i + 3] is alpha - keep unchanged
}
// Put the modified image data back
ctx.putImageData(imageData, 0, 0);
// Convert to base64 PNG
const invertedDataUrl = canvas.toDataURL('image/png');
resolve(invertedDataUrl);
}
catch (err) {
reject(new Error(`Failed to process image: ${err}`));
}
};
img.onerror = () => {
reject(new Error('Failed to load image'));
};
};
reader.onerror = () => {
reject(new Error('Failed to read file'));
};
reader.readAsDataURL(file);
});
}
export function invertImageColors(imageData: ImageData): ImageData {
const data = new Uint8ClampedArray(imageData.data);
// Invert RGB values while preserving alpha
for (let i = 0; i < data.length; i += 4) {
data[i] = 255 - data[i]; // Red
data[i + 1] = 255 - data[i + 1]; // Green
data[i + 2] = 255 - data[i + 2]; // Blue
// data[i + 3] is alpha - keep unchanged
}
return new ImageData(data, imageData.width, imageData.height);
}
@@ -0,0 +1,129 @@
<script setup lang="ts">
import { invertImageFile } from './image-color-inverter.service';
import { useCopy } from '@/composable/copy';
import { useDownloadFileFromBase64 } from '@/composable/downloadBase64';
import { withDefaultOnError } from '@/utils/defaults';
const originalImageSrc = ref<string>('');
const invertedImageSrc = ref<string>('');
const isProcessing = ref(false);
const error = ref<string | null>(null);
const { copy: copyInvertedImage } = useCopy({
source: invertedImageSrc,
text: 'Inverted image base64 copied to clipboard',
});
const { download: downloadInvertedImage } = useDownloadFileFromBase64({
source: invertedImageSrc,
filename: 'inverted-image',
extension: 'png',
});
function handleFileUpload(file: File) {
if (!file) {
return;
}
error.value = null;
isProcessing.value = true;
// Show original image
const reader = new FileReader();
reader.onload = (e) => {
originalImageSrc.value = e.target?.result as string;
};
reader.readAsDataURL(file);
// Process the image
invertImageFile(file)
.then((result) => {
invertedImageSrc.value = result;
})
.catch((err) => {
error.value = withDefaultOnError(err, 'Failed to process image');
})
.finally(() => {
isProcessing.value = false;
});
}
function clearImages() {
originalImageSrc.value = '';
invertedImageSrc.value = '';
error.value = null;
}
</script>
<template>
<c-card>
<c-file-upload
title="Drag and drop an image here, or click to select"
accept="image/*"
@file-upload="handleFileUpload"
/>
<n-spin :show="isProcessing" style="width: 100%">
<n-alert v-if="error" style="margin-top: 16px" type="error" :show-icon="false">
{{ error }}
</n-alert>
<n-divider v-if="originalImageSrc || invertedImageSrc" />
<n-grid v-if="originalImageSrc || invertedImageSrc" :cols="2" :x-gap="16">
<n-gi v-if="originalImageSrc">
<div>
<n-h3>Original Image</n-h3>
<div class="image-container">
<img :src="originalImageSrc" alt="Original">
</div>
</div>
</n-gi>
<n-gi v-if="invertedImageSrc">
<div>
<n-h3>Inverted Image</n-h3>
<div class="image-container">
<img :src="invertedImageSrc" alt="Inverted">
</div>
<n-space style="margin-top: 12px" justify="start">
<c-button @click="downloadInvertedImage()">
Download PNG
</c-button>
<c-button @click="copyInvertedImage()">
Copy Base64
</c-button>
</n-space>
</div>
</n-gi>
</n-grid>
<div v-if="originalImageSrc || invertedImageSrc" style="margin-top: 16px; text-align: center">
<c-button secondary @click="clearImages()">
Clear & Upload New
</c-button>
</div>
</n-spin>
</c-card>
</template>
<style lang="less" scoped>
.image-container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
min-height: 200px;
border: 1px solid var(--border-color);
border-radius: 6px;
background-color: var(--n-color-embedded);
overflow: hidden;
img {
max-width: 100%;
max-height: 400px;
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
}
</style>
+14
View File
@@ -0,0 +1,14 @@
import { Palette } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
export const tool = defineTool({
name: t('tools.image-color-inverter.title'),
path: '/image-color-inverter',
description: t('tools.image-color-inverter.description'),
keywords: ['image', 'color', 'invert', 'negative', 'photo', 'filter', 'effect', 'png', 'jpg', 'jpeg'],
component: () => import('./image-color-inverter.vue'),
icon: Palette,
createdAt: new Date('2025-08-25'),
category: 'Images',
});