Compare commits

..
393 changed files with 3845 additions and 8568 deletions

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
name: "Pull Requests Merge Conflicts Tagger"
on:
# So that PRs touching the same files as the push are updated
push:
# So that the `dirtyLabel` is removed if conflicts are resolve
# We recommend `pull_request_target` so that github secrets are available.
# In `pull_request` we wouldn't be able to change labels of fork PRs
pull_request_target:
types: [synchronize]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: check if prs are dirty
uses: eps1lon/actions-label-merge-conflict@v3
with:
dirtyLabel: "PR: needs rebase"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
# commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."
@@ -83,7 +83,6 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:nightly
ghcr.io/${{ github.repository_owner }}/it-tools:nightly
# Optionally log out
+1 -20
View File
@@ -43,12 +43,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
@@ -62,19 +56,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push (BASE_URL)
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
build-args: |
"BASE_URL=/it-tools/"
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:baseurl-it-tools
ghcr.io/sharevb/it-tools:baseurl-it-tools
- name: Build and push
uses: docker/build-push-action@v5
with:
@@ -83,9 +64,9 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:latest
ghcr.io/${{ github.repository_owner }}/it-tools:latest
# Optionally log out
- name: Log out from GitHub Container Registry
run: docker logout ghcr.io
+2 -27
View File
@@ -2,6 +2,8 @@ name: Release new versions
on:
push:
branches:
- chore/all-my-stuffs
tags:
- 'v*.*.*'
@@ -15,12 +17,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
@@ -34,21 +30,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push (BASE_URL)
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
build-args: |
"BASE_URL=/it-tools/"
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:baseurl-it-tools
sharevb/it-tools:${{ env.RELEASE_VERSION}}-baseurl-it-tools
ghcr.io/sharevb/it-tools:baseurl-it-tools
ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}-baseurl-it-tools
- name: Build and push
uses: docker/build-push-action@v5
with:
@@ -57,8 +38,6 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:latest
sharevb/it-tools:${{ env.RELEASE_VERSION}}
ghcr.io/sharevb/it-tools:latest
ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}
@@ -112,10 +91,6 @@ jobs:
body: |
## Docker images
- Docker Hub Registry
- `sharevb/it-tools:latest`
- `sharevb/it-tools:${{ env.RELEASE_VERSION}}`
- GitHub Container Registry
- `ghcr.io/sharevb/it-tools:latest`
- `ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}`
+1 -3
View File
@@ -32,6 +32,4 @@ coverage
/playwright-report/
/playwright/.cache/
# Webkit with playwright creates a salt file
salt
# WSL can create Zone.Identifier
Zone.Identifier
salt
+540 -2
View File
@@ -2,7 +2,17 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## Version 2025.02.09-b99a19c
## Version 2025.02.09-1a286ef
### Other
- ()
## Version 2025.02.09-c4f2f6f
### Chores
- update release workflow (c4f2f6f)
## Version 2025.02.09-8057334
### Features
- **Days Calculator**: add more diff (days, weeks...minutes) (fd1647a)
@@ -22,6 +32,7 @@ All notable changes to this project will be documented in this file. See [standa
- **new tool**: curl converter (02593d8)
- **new tool**: JSON string converter (f536ae7)
- JSONPath and JQ memo (4015507)
- add CSS Selectors and Xpath memo (43ad95d)
- **new tools**: Date+Duration and Days Calculator (dec2e31)
- handle option to handle digits and punctuations pronunciation (6cfaf63)
- **new tool**: DNS query (over HTTPS) (2df9373)
@@ -252,6 +263,8 @@ All notable changes to this project will be documented in this file. See [standa
- **Certificate Parser**: add validity dates and enhance extension display (1e17818)
- **My IP**: use https://www.ipify.org/ (68f8e39)
- serve it-tools in docker for any incoming name (81258f6)
- typecheck (ce661be)
- codeql (14e3d8e)
- **Image Formats Converter**: better UI and clean image extension and multiple files (7cd3cb4)
- allow all units for bitrate (746fe85)
- fix handling of milliseconds (ea71d16)
@@ -270,6 +283,7 @@ All notable changes to this project will be documented in this file. See [standa
- **markdown toc**: codeql (225ad41)
- **integer converter**: codeql (c413970)
- **ascii utils**: codeql (7cd1aa2)
- remove math format converter as not possible right now (0e66063)
- new version of hash-wasm (a77ebf8)
- iso duration test case (b1dce63)
- sonar (2956b08)
@@ -283,6 +297,7 @@ All notable changes to this project will be documented in this file. See [standa
- spelling (243146a)
- **Multilink Downloader**: spelling (f8aa7db)
- **locales**: update license from MIT to GPL-3.0 in language files (#1419) (63fbd3b)
- e2e (f47dcf2)
- missing tool en message (109a869)
- deps and en.yml (e88fafe)
- json to java typecheck (7720721)
@@ -296,6 +311,7 @@ All notable changes to this project will be documented in this file. See [standa
- make vite copy tree sitter (8c99d26)
- fs external (cd492c2)
- disable top level await and some manual chunking (613bc8c)
- deps (ca9c450)
- escape i18n (a72f8f2)
- **url-parser**: handle repeated params Fix #800 and #862 (cc33329)
- replace svg-to-url, ui improve and build (28699f7)
@@ -306,31 +322,79 @@ All notable changes to this project will be documented in this file. See [standa
- **readme**: refresh stale contributors graph (#1364) (c7b80fb)
- **yaml-to-json**: allow merge key to be parsed (#1359) (f836666)
- intersection (393ac40)
- better UI (7170450)
- add GFM Tables, Strikeout, task list (d1fc7ec)
- sonar (4c381f3)
- translate (c6adf16)
- changed UI (25dd3fe)
- deps (d0582b3)
- better ui to select file or paste content (6c71882)
- deps (157b861)
- ensure length and count are > 0 (aba466a)
- let user choice 'standard' vs 'aws' (fa01008)
- helpers dup % (605229f)
- **Cron Parser**: handle aws, next executions and TZ (48b4904)
- deps (6db5c32)
- better ui on small phone screens (2f8fad5)
- pre-wrap result to proper display (f0ef42a)
- pnpm lock (10a3bab)
- ui refactor (616e5c9)
- make current tz offset not copyable (4784925)
- 12hours format for input and ui overflow (66bfb2d)
- title, desc, spaces and placeholders (a50bfd5)
- add 24h switch and bugs fixes (04f2ec1)
- v-html no sonar (f0af67e)
- display numbers always with dot (66dd351)
- no sonar for v-html (186a006)
- add No Sort option (8ccbc34)
- svg style bug in @regexper/render (f0a092f)
- make pasting work (5b91610)
- pnpm lock (880d937)
- sonar (d30344b)
- **json-to-csv**: handle single object and flatten (d02443a)
- milliseconds test and e2e (3ef7e50)
- **date-time-converter**: add UTC ISO Display and JS Date Constructor (6fd79d6)
- wrong key length (96f6262)
- better select between file and content (099ecc8)
- th scope col (78c4436)
- typing (2ca3a1f)
- missing typedef (adb0249)
- better error message handling (5724ca3)
- eslint (e9ac8f5)
- pnpm lock (d812c07)
- deps (210b356)
- **OTP Generator**: add query and storage for secret (so can be remembered) (fdb2bff)
- error in denied chars logic (bda56ac)
- denied chars expected values (f7e535f)
- link to openstreetmap (a0b8cf0)
- use ipinfo.io to allow https (a3e4ed9)
- deps (aebc313)
- deps (15f6c91)
- update queryParams and downloadbase64 (bad0262)
- update queryParams (c6b75ca)
- update queryParams (2847215)
- update queryParams (9b22ee0)
- update queryParams (90556e8)
- update queryParams (acc0029)
- deps (fa3a858)
- update queryParams (87d4e76)
- update queryParams (81d1ccc)
- deps (2dac7fd)
- update queryParams (8a3b106)
- update downloadbase64 (fbb362d)
- update queryParams (0f28ddd)
- update downloadbase64 (d43ba71)
- deps (4c6c102)
- deps (6571963)
- deps (6d0b6c5)
- update downloadbase64 (54dba5e)
- update queryParams (f747161)
- update downloadbase64 (45b107a)
- update downloadbase64 (58f280c)
- lock file (d92a285)
- lint (ec6c5b4)
- deps (c3c956b)
- lint (48b8a7f)
- better link style (aee1353)
- store favorites regardless of languages (44d7fa5)
- deps (aa90b72)
@@ -340,13 +404,22 @@ All notable changes to this project will be documented in this file. See [standa
- formatting, overflow, link colors (78084e6)
- ignore Device related JS errors (ie, camera recorder) (48df524)
- **Emoji picker**: fix lags (ab762c3)
- iterate all tools from home (601673d)
- add tsconfig for playright (2bd17e9)
- build (e55d4fa)
- eslint (5bc8da9)
- last modif (45998fd)
- final modifs (130183c)
- nosonar in unit tests (c45a055)
- **Mac Address Converter**: update description (11206a5)
- **TextAreaCopyable**: copy button placement (135b311)
- inverted done state (a0c51c9)
- **QR Code Generator**: more styling, SVG, image upload (f2e0022)
- **Phone Parser**: store country prefix (374caa1)
- **JWT Parser**: UI overflow on small screen (50d7803)
- refactor and unit test (ddd3f6e)
- refactor with unit test + better handle korean (7a4310a)
- refactor with unit test (d14371c)
- refactor to service + add regex diagram + ui enhancements (c9f9bb1)
- **Token Generator**: handle UI for small smartphone screen (0d67535)
- **Token Generator**: handle UI for small smartphone screen (cbd32fd)
@@ -354,15 +427,23 @@ All notable changes to this project will be documented in this file. See [standa
- **text-to-binary**: return valid UTF-8 results for non-ASCII text (35d8264)
- **Token Generator**: multi token, last settings, length input, denied chars (ff57fda)
- **Cron Parser**: handle more patterns (f1044b3)
- better display (83a78e9)
- use qpdf-wasm-esm-embedded + add logs (c35e710)
- tiptap/core 2.3 causing typecheck errors in html wysiwyg (6971cb6)
- date error (df1169d)
- language type (d2c270a)
- refactor using IPv4/6 Utils (6a9fb02)
- refactor using IPv4/6 Utils (e0c642f)
- refactor using IPv4/6 Utils (8967d8c)
- refactor using IPv4/6 Utils Parse IPMask (ie, 192.168.0.5/255.255.255.0) to CIDR (ie 192.168.0.5/24), Fix #603 (328afe5)
- missing module declaration, dependencies and some typing (1440c23)
- removed direct link with cleaned for security reason (3f7151b)
- **bcrypt tool**: allow salt rounds up to 100 (d832e86)
- ignoring sonar alert (5c9333b)
- remove empty unit test (for now) (5442a88)
- **PDF Signature Checker**: fix reading problem (172c617)
- better ui, word wrap (ffc635e)
- typo and empty fields (0f01b86)
- **integer-base-converter**: fix conversion for number of more than 32bits (34357dd)
- make fonts list searchable (53e306b)
- update docker2kube to handle correctly command/entrypoint/args (ed6bd1a)
@@ -392,7 +473,6 @@ All notable changes to this project will be documented in this file. See [standa
- Remove unused uuid parser (6f64dc4)
### Chores
- update release workflow (b99a19c)
- update corepack in github actions (8057334)
- docker add arm64 (08ee879)
- update playwright (1b78bad)
@@ -404,11 +484,469 @@ All notable changes to this project will be documented in this file. See [standa
- update workflows and readme (bc50a87)
- build with dynamic node --max-old-space-size (78b7614)
- fix docker workflows (for me) (675e5bf)
- update composerize (495b7eb)
- fix strange corepack message (dbfe511)
- fix strange corepack message (e6e51cf)
- fix strange corepack message (df8d369)
- fix strange corepack message (0b84e26)
- fix strange corepack message (2a4462c)
- fix strange corepack message (cbb05d8)
- fix strange corepack message (f19aeaf)
- fix strange corepack message (f76aaa2)
- fix strange corepack message (239b7e0)
- fix strange corepack message (42f39bf)
- fix strange corepack message (068d79a)
- fix strange corepack message (fd6db9e)
- fix pnpm lock (b4f4199)
- fix strange corepack message (7e9613d)
- update decomposerize (dbe2c38)
- update composerize (e0de865)
- ignore src/libs in codeql (48dd7bb)
- **github workflows**: ci and e2e tests: try updating to node 20 (0de51a2)
- **github workflows**: ci and e2e tests: try updating to node 20 (7c566fd)
- **github workflows**: ci and e2e tests: try updating to node 20 (e60cee9)
- **github workflows**: ci and e2e tests: try updating to node 20 (60a617c)
- **github workflows**: ci and e2e tests: try updating to node 20 (24a806f)
- **github workflows**: ci and e2e tests: try updating to node 20 (894f259)
- **github workflows**: ci and e2e tests: try updating to node 20 (7631847)
- **github workflows**: ci and e2e tests: try updating to node 20 (c434a5f)
- **github workflows**: ci and e2e tests: try updating to node 20 (e68f743)
- **github workflows**: ci and e2e tests: try updating to node 20 (a8da319)
- **github workflows**: ci and e2e tests: try updating to node 20 (ee04bfe)
- **github workflows**: ci and e2e tests: try updating to node 20 (9c9b0d5)
- **github workflows**: ci and e2e tests: try updating to node 20 (444ccdd)
- **github workflows**: ci and e2e tests: try updating to node 20 (bf9e07a)
- **github workflows**: ci and e2e tests: try updating to node 20 (ba84e82)
- **github workflows**: ci and e2e tests: try updating to node 20 (951768c)
- **github workflows**: ci and e2e tests: try updating to node 20 (fbde975)
- prepare sshpk for cert/key/sshkeys related tools (60841f6)
- prepare sshpk for cert/key/sshkeys related tools (90fba75)
- vue-i18n ignore html (ed019b0)
- prepare sshpk for cert/key/sshkeys related tools (275a148)
- fix deps (e073b2b)
- prepare sshpk for cert/key/sshkeys related tools (caa67fd)
- prepare sshpk for cert/key/sshkeys related tools (ee40ba1)
- prepare sshpk for cert/key/sshkeys related tools (3f32990)
### Other
- Merge branch 'fix/wifi-qr-copytext' into chore/all-my-stuffs (e4cca1e)
- Fix typecheck (38ec3f7)
- Fix lint errors (0fc30fe)
- Merge branch 'up/feat/seip-auth-tester' into chore/all-my-stuffs (1331b34)
- Merge branch 'up/feat/microphone-tester' into chore/all-my-stuffs (def1f32)
- Merge branch 'up/fix/git-memo-more2' into chore/all-my-stuffs (0d18e6c)
- Merge branch 'up/fix/git-memo-more1' into chore/all-my-stuffs (f6bd077)
- Merge branch 'up/fix/text-to-uni-enh' into chore/all-my-stuffs (f8bb810)
- Merge branch 'up/fix/text-to-bin-enh' into chore/all-my-stuffs (9854f85)
- Merge branch 'up/fix/kelvin-limit' into chore/all-my-stuffs (52909fc)
- Merge branch 'up/feat/snowflake' into chore/all-my-stuffs (57281b6)
- Merge branch 'up/feat/lang-env' into chore/all-my-stuffs (b6a770a)
- Merge branch 'up/feat/key-encoding2' into chore/all-my-stuffs (16460f9)
- Merge branch 'up/feat/key-encoding1' into chore/all-my-stuffs (0df03b0)
- Merge branch 'up/feat/float-converter' into chore/all-my-stuffs (df4ea95)
- Merge branch 'up/feat/image-resizer' into chore/all-my-stuffs (0c2a2e9)
- Merge branch 'up/feat/unicode-to-java' into chore/all-my-stuffs (b7f17e8)
- Merge branch 'up/feat/multi-link-downloader' into chore/all-my-stuffs (c5791b1)
- Merge branch 'up/fix/aspect-ratio' into chore/all-my-stuffs (0083b18)
- Merge branch 'up/fix/html-to-text' into chore/all-my-stuffs (db4e5fc)
- Merge branch 'up/feat/spring-to-yaml' into chore/all-my-stuffs (54e6d8d)
- Merge branch 'up/feat/json-to-java' into chore/all-my-stuffs (536e89b)
- Merge branch 'up/fix/json-sort' into chore/all-my-stuffs (1b69560)
- Merge branch 'up/feat/json-string-converter' into chore/all-my-stuffs (0c1b984)
- Merge branch 'up/feat/json-to-typescript' into chore/all-my-stuffs (e7b70a5)
- Merge branch 'up/feat/js-to-json' into chore/all-my-stuffs (de8bb9b)
- Merge branch 'up/fix/json-to-object' into chore/all-my-stuffs (f7c2d89)
- Merge branch 'up/fix/json-to-csv-sample' into chore/all-my-stuffs (e934a9b)
- Merge branch 'up/fix/wifi-qr-wpa3' into chore/all-my-stuffs (95c7cb8)
- Merge branch 'up/feat/uuid-converter' into chore/all-my-stuffs (bdc5966)
- Merge branch 'up/feat/nanoid-generator' into chore/all-my-stuffs (95708f1)
- Merge branch 'up/feat/uuidv7' into chore/all-my-stuffs (1ed8f60)
- Merge branch 'up/feat/raid-calculator' into chore/all-my-stuffs (3ed3a61)
- Merge branch 'up/feat/device-timezone' into chore/all-my-stuffs (bf33214)
- Merge branch 'up/feat/csv-to-json' into chore/all-my-stuffs (fbb14cc)
- Merge branch 'fix/regex-capture-error' into chore/all-my-stuffs (57b0978)
- Merge branch 'feat/curlconverter' into chore/all-my-stuffs (10dc2e2)
- Merge branch 'feat/image-to-css' into chore/all-my-stuffs (55fda63)
- Merge branch 'feat/curlconverter' into chore/all-my-stuffs (640a873)
- cleaning (7e25ba3)
- Merge remote-tracking branch 'origin/main' into feat/image-to-css (0f8463f)
- Update device-information.vue (d715376)
- Merge branch 'fix/textarea-copyable-copy' into chore/all-my-stuffs (efe62da)
- Merge branch 'fix/pdf-signature-checker' into chore/all-my-stuffs (068c986)
- Merge branch 'fix/integer-base-converter-bigint' into chore/all-my-stuffs (c89762f)
- Merge branch 'fix/integer-base-converter' into chore/all-my-stuffs (2ce4d1b)
- Merge branch 'fix/favorites' into chore/all-my-stuffs (52cd2fb)
- Merge branch 'fix/bcrypt-salt' into chore/all-my-stuffs (802f2c4)
- Merge branch 'fix/base64' into chore/all-my-stuffs (13a00f1)
- Merge branch 'feat/yaml-viewer-enh' into chore/all-my-stuffs (2d1f434)
- Merge branch 'feat/x509-certificate-generator' into chore/all-my-stuffs (e15b421)
- Merge branch 'feat/x509-cert-generator' into chore/all-my-stuffs (b2db2bd)
- Merge branch 'feat/web-prettiers' into chore/all-my-stuffs (04d2c8a)
- Merge branch 'feat/utm-generator' into chore/all-my-stuffs (cc3365e)
- Merge branch 'feat/url-fragment-generator' into chore/all-my-stuffs (cb0349a)
- Merge branch 'feat/url-defanger' into chore/all-my-stuffs (30f1c4e)
- Merge branch 'feat/url-cleaner' into chore/all-my-stuffs (8519694)
- Merge branch 'feat/soft-licenses' into chore/all-my-stuffs (7b487a6)
- Merge branch 'feat/rsa-keygen-enhancements2' into chore/all-my-stuffs (89c35b4)
- Merge branch 'feat/rsa-keygen-enhancements' into chore/all-my-stuffs (dc47863)
- Merge branch 'feat/rsa-encryption' into chore/all-my-stuffs (cfeef64)
- Merge branch 'feat/port-numbers' into chore/all-my-stuffs (fb56bbf)
- Merge branch 'feat/pgp-keygen' into chore/all-my-stuffs (b942b46)
- Merge branch 'feat/pgp-encryption' into chore/all-my-stuffs (95a83fe)
- Merge branch 'feat/pdfutils' into chore/all-my-stuffs (8ebda99)
- Merge branch 'feat/option43' into chore/all-my-stuffs (92eaa32)
- Merge branch 'feat/nano-memo' into chore/all-my-stuffs (1db1d38)
- Merge branch 'feat/morse-converter' into chore/all-my-stuffs (6cb0019)
- Merge branch 'feat/mime-converter' into chore/all-my-stuffs (1147281)
- Merge branch 'feat/markdown-editor' into chore/all-my-stuffs (188fc76)
- Merge branch 'feat/markdown-cheatsheet' into chore/all-my-stuffs (7ef9d65)
- Merge branch 'feat/json-linter' into chore/all-my-stuffs (9cd3841)
- Merge branch 'feat/json-escape' into chore/all-my-stuffs (0622e17)
- Merge branch 'feat/isbn-formatter' into chore/all-my-stuffs (d22e0d6)
- Merge branch 'feat/ipv6-subnet-calculator' into chore/all-my-stuffs (709fed7)
- Merge branch 'feat/ipv6-address-converter' into chore/all-my-stuffs (b3969d3)
- Merge branch 'feat/ipv4-subnet-enh' into chore/all-my-stuffs (86feffa)
- Merge branch 'feat/ip-utils' into chore/all-my-stuffs (57e8f5f)
- Merge branch 'feat/ip-range-to-cidr' into chore/all-my-stuffs (3294c36)
- Merge branch 'feat/ip-in-range' into chore/all-my-stuffs (7fab4e4)
- Merge branch 'feat/ip-cidr-to-range' into chore/all-my-stuffs (e3fdf35)
- Merge branch 'feat/image-exif-reader' into chore/all-my-stuffs (133d8b3)
- Merge branch 'feat/image-ascii-art' into chore/all-my-stuffs (f22ea6c)
- Merge branch 'feat/htpasswd' into chore/all-my-stuffs (d03b31e)
- Merge branch 'feat/html-cleaner' into chore/all-my-stuffs (8fed1bb)
- Merge branch 'feat/gzip' into chore/all-my-stuffs (310073a)
- Merge branch 'feat/file-upload-paste-image' into chore/all-my-stuffs (72364fa)
- Merge branch 'feat/file-type' into chore/all-my-stuffs (16a5e6b)
- Merge branch 'feat/energy-computer' into chore/all-my-stuffs (32e30c5)
- Merge branch 'feat/ed25519-keygen' into chore/all-my-stuffs (365fb4b)
- Merge branch 'feat/ecdsa-keygen' into chore/all-my-stuffs (8617af9)
- Merge branch 'feat/dockver-compose-converter' into chore/all-my-stuffs (8e373d2)
- Merge branch 'feat/docker-validator' into chore/all-my-stuffs (dd49e2f)
- Merge branch 'feat/docker-run-to-kube' into chore/all-my-stuffs (8d5fc99)
- Merge branch 'feat/docker-compose-to-kubernetes' into chore/all-my-stuffs (e473473)
- Merge branch 'feat/csr-generator' into chore/all-my-stuffs (8e37a86)
- Merge branch 'feat/color-converter-enh' into chore/all-my-stuffs (3db071f)
- Merge branch 'feat/asciiart' into chore/all-my-stuffs (0b137b5)
- Merge branch 'feat/ascii-drawer-enh' into chore/all-my-stuffs (1836d22)
- Merge branch 'feat/ansible-vault' into chore/all-my-stuffs (76f03ff)
- Merge branch 'feat/air-codes' into chore/all-my-stuffs (2a985b6)
- Merge branch 'fix/token-generator' into chore/all-my-stuffs (fe4dc60)
- Merge branch 'fix/phone-parser-storage' into chore/all-my-stuffs (084a97d)
- Merge branch 'fix/otp-storage' into chore/all-my-stuffs (c623458)
- Merge branch 'fix/list-converter-no-sort' into chore/all-my-stuffs (44b8c16)
- Merge branch 'fix/jwt-parser-overflow' into chore/all-my-stuffs (31c7475)
- Merge branch 'fix/emoji-debounce' into chore/all-my-stuffs (3378767)
- Merge branch 'fix/date-time-converter' into chore/all-my-stuffs (187625e)
- Merge branch 'fix/crontab-enh' into chore/all-my-stuffs (5016782)
- Merge branch 'feat/xslt-tester' into chore/all-my-stuffs (4222451)
- Merge branch 'feat/xpath-tester' into chore/all-my-stuffs (1dfe831)
- Merge branch 'feat/xml-json' into chore/all-my-stuffs (17a49c1)
- Merge branch 'feat/wpa-psk-generator' into chore/all-my-stuffs (11f1fd6)
- Merge branch 'feat/weeks-converter' into chore/all-my-stuffs (e83678b)
- Merge branch 'feat/websocket-tester' into chore/all-my-stuffs (a83988a)
- Merge branch 'feat/vat-validator' into chore/all-my-stuffs (4c424fc)
- Merge branch 'feat/units-converters' into chore/all-my-stuffs (975a863)
- Merge branch 'feat/unicode-search' into chore/all-my-stuffs (d7ad5bd)
- Merge branch 'feat/unicode-formatter' into chore/all-my-stuffs (2250824)
- Merge branch 'feat/ttl-calc' into chore/all-my-stuffs (107864b)
- Merge branch 'feat/torrent-to-magnet' into chore/all-my-stuffs (ee341e0)
- Merge branch 'feat/timezone-converter' into chore/all-my-stuffs (dc273dd)
- Merge branch 'feat/text-to-unicode-names' into chore/all-my-stuffs (fd44be4)
- Merge branch 'feat/text-stats-enh' into chore/all-my-stuffs (de6604f)
- Merge branch 'feat/test-all-tools-loading' into chore/all-my-stuffs (3d49649)
- Merge branch 'feat/storage-transfer-units' into chore/all-my-stuffs (8907ff0)
- Merge branch 'feat/stacktrace-formatter' into chore/all-my-stuffs (c4e8b15)
- Merge branch 'feat/ssl-converter' into chore/all-my-stuffs (80895b0)
- Merge branch 'feat/smart-text-replacer-and-linebreaks' into chore/all-my-stuffs (0c8bb63)
- Merge branch 'feat/smart-raw-errors-conv' into chore/all-my-stuffs (8fc2d72)
- Merge branch 'feat/slug-sep' into chore/all-my-stuffs (d0385ea)
- Merge branch 'feat/sla-computer' into chore/all-my-stuffs (aa61e3a)
- Merge branch 'feat/sensitive-data-masker' into chore/all-my-stuffs (261ae3a)
- Merge branch 'feat/rsa-dsa-sign-verif' into chore/all-my-stuffs (bf46a8e)
- Merge branch 'feat/rmb-numbers' into chore/all-my-stuffs (224868e)
- Merge branch 'feat/removeexif' into chore/all-my-stuffs (a016bb5)
- Merge branch 'feat/regex-tester' into chore/all-my-stuffs (8bffa36)
- Merge branch 'feat/qr-decoder' into chore/all-my-stuffs (fea5e51)
- Merge branch 'feat/qr-code-enh' into chore/all-my-stuffs (5c5e865)
- Merge branch 'feat/punycode' into chore/all-my-stuffs (87de5f9)
- Merge branch 'feat/potrace' into chore/all-my-stuffs (a63775f)
- Merge branch 'feat/pin-code-generator' into chore/all-my-stuffs (48a9245)
- Merge branch 'feat/pdfunlock2' into chore/all-my-stuffs (320a897)
- Merge branch 'feat/pdfunlock' into chore/all-my-stuffs (27ef1c6)
- Merge branch 'feat/pdf-fastweb' into chore/all-my-stuffs (79b3961)
- Merge branch 'feat/pdf-encrypt' into chore/all-my-stuffs (b1fc3fe)
- Merge branch 'feat/passphrase-generator' into chore/all-my-stuffs (3bc667f)
- Merge branch 'feat/ocr-image' into chore/all-my-stuffs (b187d58)
- Merge branch 'feat/npm-display' into chore/all-my-stuffs (952f69a)
- Merge branch 'feat/nginx-formatter' into chore/all-my-stuffs (0e1cc03)
- Merge branch 'feat/nato-enh' into chore/all-my-stuffs (3a3e8a0)
- Merge branch 'feat/mongo-objectid' into chore/all-my-stuffs (a8f8fff)
- Merge branch 'feat/md-toc-generator' into chore/all-my-stuffs (f9c4d34)
- Merge branch 'feat/md-to-html' into chore/all-my-stuffs (d2749f1)
- Merge branch 'feat/math-ocr' into chore/all-my-stuffs (b89bac5)
- Merge branch 'feat/math-converter' into chore/all-my-stuffs (c03fe5a)
- Merge branch 'feat/malicious-link-checker' into chore/all-my-stuffs (0da0839)
- Merge branch 'feat/mac-address-converter' into chore/all-my-stuffs (e897525)
- Merge branch 'feat/luhn-checker' into chore/all-my-stuffs (48a51cb)
- Merge branch 'feat/lorem-enh' into chore/all-my-stuffs (165ea5a)
- Merge branch 'feat/list-converter-enh' into chore/all-my-stuffs (74504a0)
- Merge branch 'feat/list-comparer' into chore/all-my-stuffs (950580d)
- Merge branch 'feat/json-to-schema' into chore/all-my-stuffs (87512fc)
- Merge branch 'feat/json-to-go' into chore/all-my-stuffs (4f7356d)
- Merge branch 'feat/json-to-csharp' into chore/all-my-stuffs (4cdcbaf)
- Merge branch 'feat/json-size' into chore/all-my-stuffs (efd30f9)
- Merge branch 'feat/json-php-array' into chore/all-my-stuffs (060c9b2)
- Merge branch 'feat/json-editor' into chore/all-my-stuffs (488cee0)
- Merge branch 'feat/json-csv-enh' into chore/all-my-stuffs (7bd88e3)
- Merge branch 'feat/js-unobfuscator' into chore/all-my-stuffs (bbd8747)
- Merge branch 'feat/jq-tester' into chore/all-my-stuffs (c922a84)
- Merge branch 'feat/ip-geolocation' into chore/all-my-stuffs (b404cdb)
- Merge branch 'feat/integer-to-ip' into chore/all-my-stuffs (ab3f00e)
- Merge branch 'feat/image-to-css' into chore/all-my-stuffs (8a4ebe2)
- Merge branch 'feat/image-converter' into chore/all-my-stuffs (d3eca6f)
- Merge branch 'feat/ico-png-converter' into chore/all-my-stuffs (8361798)
- Merge branch 'feat/ical-utils' into chore/all-my-stuffs (fccc9db)
- Merge branch 'feat/html-wysywig-enh' into chore/all-my-stuffs (73b6c3c)
- Merge branch 'feat/html-to-md-converter' into chore/all-my-stuffs (5462608)
- Merge branch 'feat/hex-file-converter' into chore/all-my-stuffs (bcfe44e)
- Merge branch 'feat/heic-converter' into chore/all-my-stuffs (9deccfa)
- Merge branch 'feat/hdd-calculator' into chore/all-my-stuffs (9a38169)
- Merge branch 'feat/hash-text-enh' into chore/all-my-stuffs (fe41995)
- Merge branch 'feat/format-transformer-download' into chore/all-my-stuffs (2e30edf)
- Merge branch 'feat/folder-tree' into chore/all-my-stuffs (6617d45)
- Merge branch 'feat/file-hasher' into chore/all-my-stuffs (615cdd0)
- Merge branch 'feat/email-parser' into chore/all-my-stuffs (2691579)
- Merge branch 'feat/duration-calculator' into chore/all-my-stuffs (1b59a9a)
- Merge branch 'feat/docker-run-to-docker-compose-enh' into chore/all-my-stuffs (cf56644)
- Merge branch 'feat/docker-compose-to-docker-run' into chore/all-my-stuffs (0e87628)
- Merge branch 'feat/dns-query' into chore/all-my-stuffs (2f0df43)
- Merge branch 'feat/currency-converter' into chore/all-my-stuffs (fbcfdbc)
- Merge branch 'feat/curlconverter' into chore/all-my-stuffs (1da0846)
- Merge branch 'feat/css-xpath-converter' into chore/all-my-stuffs (650e62b)
- Merge branch 'feat/crc-calculator' into chore/all-my-stuffs (8a18301)
- Merge branch 'feat/countries-searcher' into chore/all-my-stuffs (8ad1ed4)
- Merge branch 'feat/common-regex-memo' into chore/all-my-stuffs (b9e8a7e)
- Merge branch 'feat/color-wheel' into chore/all-my-stuffs (d376a3f)
- Merge branch 'feat/code-highlighter' into chore/all-my-stuffs (528e88c)
- Merge branch 'feat/chmod-enh' into chore/all-my-stuffs (765dcb9)
- Merge branch 'feat/cert-key-parser' into chore/all-my-stuffs (b3aff65)
- Merge branch 'feat/bounce-parser' into chore/all-my-stuffs (7a140fc)
- Merge branch 'feat/barcodes' into chore/all-my-stuffs (c8118b0)
- Merge branch 'feat/api-tester' into chore/all-my-stuffs (5413ede)
- Merge branch 'feat/ai-prompt-splitter' into chore/all-my-stuffs (14b610b)
- Merge branch 'ci/pr-merge-conflicts-tagger' into chore/all-my-stuffs (32ffd47)
- Merge branch 'ci/pr-conflicts-tagger' into chore/all-my-stuffs (d76ed49)
- feat(new tool) multi-link-downloader (7035eba)
- feat(new tool) image-resizer (04d3fa2)
- Merge remote-tracking branch 'origin/main' into feat/jq-tester (2bb7b10)
- Merge branch 'main' into feat/dns-query (8c03359)
- feat(new tool); Energy Expense Computer (d191b69)
- Merge remote-tracking branch 'origin/main' into feat/image-converter (e9a5541)
- feat(favorites) drag-and-drop favorites section (#1360) (0b1b98f)
- feat(html-wysiwyg-editor) h3 fix (#1363) (1314973)
- feat(json-to-csv) add example default value (e2498d6)
- Merge remote-tracking branch 'origin/main' into feat/code-highlighter (87a6103)
- Add tool floating-point-number-converter. (b57a40a)
- The compilation toolset seems to have deleted some unused types and added the new for mic-tester (e8f1766)
- register mic-tester component in the Web category (78b6224)
- Create localizations for mic-tester component in de, en and pl (also initialize the pl localization, adding it to the dropdown selector at the top of the page) (cd96bf6)
- Define and implement mic-tester tool (bd9afc7)
- Merge remote-tracking branch 'origin/main' into feat/docker-run-to-docker-compose-enh (c6f9d46)
- Merge remote-tracking branch 'origin/main' into feat/luhn-checker (0d7e6ea)
- Merge remote-tracking branch 'origin/main' into feat/units-converters (c70c602)
- Add WPA3 to the label so it is clear it is supported same way (e50995d)
- Merge remote-tracking branch 'origin/main' into feat/html-to-md-converter (befc1a1)
- Merge remote-tracking branch 'origin/main' into feat/html-wysywig-enh (86b1fe2)
- Merge remote-tracking branch 'origin/main' into feat/json-size (8545fc6)
- Merge remote-tracking branch 'origin/main' into feat/duration-calculator (f3f4209)
- Merge branch 'main' into feat/list-comparer (1820f5f)
- Merge branch 'main' into fix/phone-parser-storage (2bba236)
- Merge branch 'main' into feat/cert-key-parser (6ab8265)
- Merge branch 'main' into feat/json-editor (0566474)
- Merge remote-tracking branch 'origin/main' into feat/json-editor (d289c9b)
- Merge remote-tracking branch 'origin/main' into feat/sla-computer (6fadc83)
- Merge branch 'main' into feat/hex-file-converter (8c65ad8)
- Merge branch 'main' into fix/token-generator (123c26d)
- Merge branch 'main' into fix/crontab-enh (9fa5866)
- Merge remote-tracking branch 'origin/main' into fix/crontab-enh (c7154c3)
- Merge branch 'main' into feat/nato-enh (9bf1b93)
- Merge branch 'main' into feat/smart-text-replacer-and-linebreaks (0afbf52)
- Merge branch 'main' into feat/email-parser (3573849)
- Merge branch 'main' into feat/smart-text-replacer-and-linebreaks (e547b01)
- Merge branch 'main' into feat/timezone-converter (c68388f)
- Merge remote-tracking branch 'origin/main' into feat/timezone-converter (b9eead5)
- Merge remote-tracking branch 'origin/main' into feat/paste-markdown (b554498)
- Merge branch 'main' into feat/regex-tester (3993c8b)
- Merge remote-tracking branch 'origin/main' into feat/regex-tester (f1f2da7)
- Merge remote-tracking branch 'origin/main' into feat/docker-run-to-docker-compose-enh (3bd814f)
- Merge branch 'main' into fix/pdf-signature-checker (0aec2de)
- Merge branch 'main' into feat/html-to-md-converter (098237b)
- Merge remote-tracking branch 'origin/main' into feat/html-to-md-converter (6013b6c)
- Merge branch 'main' into fix/token-generator (324fd63)
- Merge remote-tracking branch 'origin/main' into feat/ico-png-converter (2c9168e)
- Merge branch 'main' into feat/qr-decoder (a3a624c)
- Merge remote-tracking branch 'origin/main' into feat/qr-decoder (1fb3e1f)
- Merge branch 'main' into main (3a51a6c)
- Merge remote-tracking branch 'origin/main' into feat/md-to-html (1b2ce73)
- Merge remote-tracking branch 'origin/main' into feat/torrent-to-magnet (e64cafd)
- Merge remote-tracking branch 'origin/main' into feat/ai-prompt-splitter (722de30)
- Merge remote-tracking branch 'origin/main' into feat/mongo-objectid (382a5cc)
- Merge remote-tracking branch 'origin/main' into feat/removeexif (476172a)
- fix typo (f118582)
- fix (b34cc75)
- fix some things and move things around (26ffcd5)
- Added aspect ratio calculator (45e8f98)
- Merge branch 'main' into pile-of-poo (a1252eb)
- Merge branch 'main' into text-to-utf8-bin (236b7ae)
- Merge remote-tracking branch 'origin/main' into feat/format-transformer-download (9c76553)
- Merge remote-tracking branch 'origin/main' into feat/xslt-tester (b07d0a4)
- added noopener per security check (89e8184)
- syntax fixes (24fca68)
- removed raw html and set link static (3f9d399)
- specify type and interface for map (32b2237)
- revert this (e515041)
- liniting (844d7ac)
- added raid 60 (26e0657)
- added raid 50 (8bb3534)
- don't need this check (603099d)
- added space efficiency info (cb23cdf)
- linting (b476b68)
- no tests for this (e84ac9e)
- use built in converter (d2554a7)
- added enum to use base 2 or base 10 for calcs (ea6b3d0)
- use table for display (c5ba4f3)
- always show description (54d9351)
- removed speed - not used (43da51f)
- updated descriptions (368bc7e)
- spacing (23b17f4)
- implementation of raid calculator with levels 0, 1, 5, 6, and 10 need to add descriptions yet (37cfd0a)
- Merge remote-tracking branch 'origin/main' into feat/ip-geolocation (20e138c)
- Merge remote-tracking branch 'origin/main' into feat/qr-code-enh (d161082)
- Merge remote-tracking branch 'origin/main' into fix/phone-parser-storage (72df50b)
- Merge remote-tracking branch 'origin/main' into feat/crc-calculator (6285453)
- Merge remote-tracking branch 'origin/main' into feat/file-hasher (41bbd2b)
- Merge remote-tracking branch 'origin/main' into feat/math-converter (8219e47)
- Merge remote-tracking branch 'origin/main' into feat/barcodes (c66103e)
- Merge remote-tracking branch 'origin/main' into feat/regex-tester (4b42d55)
- Merge remote-tracking branch 'origin/main' into feat/pdf-encrypt (0e08f07)
- Merge remote-tracking branch 'origin/main' into feat/hash-text-enh (45205d1)
- Merge remote-tracking branch 'origin/main' into feat/heic-converter (1b95877)
- Merge remote-tracking branch 'origin/main' into fix/token-generator (4ca3ac3)
- Merge remote-tracking branch 'origin/main' into feat/pdf-fastweb (b9778bd)
- Merge remote-tracking branch 'origin/main' into feat/cert-key-parser (40d5a6a)
- Merge remote-tracking branch 'origin/main' into feat/ocr-image (4cd72ae)
- Merge remote-tracking branch 'origin/main' into feat/pdfunlock (6e2f09e)
- fix space (cb74514)
- Add Branches to Git cheatsheet (ddf3dd9)
- Merge branch 'main' into feat/md-toc-generator (4c014a6)
- Merge branch 'main' into feat/ipv6-subnet-calculator (700d835)
- add new tools json-to-java entity (458da55)
- use an empty iv, it's the same as the zero filled previously (4fd536a)
- add keyencoding support for encryption (d8a4970)
- [?] added packageManager to package.json (3e95060)
- Added temperature limits #1144 (deb6a9b)
- Merge branch 'main' into feat/crc-calculator (a69e159)
- Merge branch 'main' into feat/crc-calculator (3d91a29)
- UUIDv7 generator (bdc1c84)
- Merge branch 'main' into feat/mac-address-converter (12b0dc1)
- Fix type checking issues (7e90365)
- Convert Converter to class (d75473b)
- Always escape ASCII chars with special meaning (1dc965d)
- Merge branch 'main' into fix/token-generator (8a49f23)
- Add memory detection to Dockerfile (72ff028)
- Merge branch 'main' into feat/cert-key-parser (c10302b)
- Merge branch 'main' into feat/html-to-md-converter (5eaab0c)
- Merge branch 'main' into feat/morse-converter (9bc3c54)
- Make output of qpdf verbose (f07466f)
- Revert .eslintrc.cjs (0062517)
- Revert .eslintrc.cjs (6256dc2)
- Merge branch 'main' into feat/ip-in-range (f9cc935)
- Merge branch 'main' into feat/ip-cidr-to-range (a0141dc)
- Merge branch 'main' into feat/ipv6-address-converter (e56eee9)
- Merge branch 'main' into fix/bcrypt-salt (b70f3cb)
- Merge branch 'main' into feat/htpasswd (9754453)
- Fix type (df343d1)
- Merge branch 'main' into feat/docker-run-to-docker-compose-enh (2dbed18)
- Merge branch 'main' into feat/docker-compose-to-docker-run (a50e6a8)
- Update dependencies (and composerize) (6efde9e)
- Update dependencies (and decomposerize) (70c9cd6)
- Fix build (654f7a8)
- Merge branch 'main' into feat/ocr-image (12a8962)
- Merge branch 'main' into feat/soft-licenses (3dde9f3)
- Merge branch 'main' into feat/ansible-vault (8641d12)
- Merge branch 'main' into feat/mime-converter (a748499)
- Merge branch 'main' into feat/gzip (ecf0eac)
- Merge branch 'main' into feat/csr-generator (df7fa89)
- Merge branch 'main' into feat/cert-key-parser (6445c80)
- Merge branch 'main' into feat/md-to-html (916a6fb)
- Merge branch 'main' into feat/x509-cert-generator (cb45057)
- Merge branch 'main' into feat/qr-decoder (e8cd98c)
- Merge branch 'main' into feat/asciiart (5a11820)
- Merge branch 'main' into feat/isbn-formatter (84d0f7f)
- Merge branch 'main' into feat/mac-address-converter (00b85de)
- Merge branch 'main' into feat/dockver-compose-converter (93d3ab6)
- Merge branch 'main' into feat/image-exif-reader (5751977)
- Merge branch 'main' into feat/docker-run-to-docker-compose-enh (9a28b89)
- Merge branch 'main' into feat/docker-compose-to-docker-run (2c93029)
- Add Spring Boot properties to YAML converter (e376a57)
- Correct minor typo in git-memo.content.md (f7256fb)
- Update git-memo.content.md (2d55c01)
### Revert "fix
- remove math format converter as not possible right now" (fd8b975)
### Merge branch 'corentinth
- main' into feat/json-to-csv-add-example (9b9594d)
### Mic-tester
- fix types (05c51e5)
- use toasting service from naive-ui, and also lint it all up (17a885f)
- pull the media api stuff into a service. (c7d8ea4)
### Mic-test
- fix DE translation (db63103)
### Merge branch 'feat/duration-calculator' of https
- //github.com/sharevb/it-tools into feat/duration-calculator (a2acee2)
### Merge branch 'feat/json-editor' of https
- //github.com/sharevb/it-tools into feat/json-editor (b620a8d)
### Merge branch 'fix/token-generator' of https
- //github.com/sharevb/it-tools into fix/token-generator (473c9cc)
### Merge branch 'fix/crontab-enh' of https
- //github.com/sharevb/it-tools into fix/crontab-enh (8754d62)
- //github.com/sharevb/it-tools into fix/crontab-enh (0b4a261)
### Merge branch 'feat/smart-text-replacer-and-linebreaks' of https
- //github.com/sharevb/it-tools into feat/smart-text-replacer-and-linebreaks (1702fc3)
- //github.com/sharevb/it-tools into feat/smart-text-replacer-and-linebreaks (5499593)
### Merge branch 'feat/storage-transfer-units' of https
- //github.com/sharevb/it-tools into feat/storage-transfer-units (0de61ef)
### Merge branch 'feat/paste-markdown' of https
- //github.com/sharevb/it-tools into feat/paste-markdown (1e7ace4)
### Merge branch 'feat/qr-decoder' of https
- //github.com/sharevb/it-tools into feat/qr-decoder (9ebf983)
### Feature
- Supports reading language from environment variables, which makes it easy to modify the language after packaging into a Docker image (a1022a9)
### Update git-memo.content.md
- remove : (bdc2889)
- Fix Typo (2370225)
### Merge branch 'feat/mac-address-converter' of https
- //github.com/sharevb/it-tools into feat/mac-address-converter (df049e2)
### Style
- **eslint**: fixing eslint errors and warnings (e672cda)
### Merge branch 'feat/ocr-image' of https
- //github.com/sharevb/it-tools into HEAD (7e68607)
## Version 2024.10.22-7ca5933
+2 -2
View File
@@ -16,10 +16,10 @@ ENV BASE_URL=${BASE_URL}
RUN pnpm build
# production stage
FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
FROM nginx:stable-alpine AS production-stage
ARG BASE_URL
ENV BASE_URL=${BASE_URL}
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 8080
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
+7 -25
View File
@@ -1,7 +1,3 @@
## BREAKING CHANGE for Docker Image
Since *Docker base image* is now `nginx-unpriviledged`, docker image now listen to **8080** and no more 80. So you need to update your port mapping, ie from `8080:80` to `8080:8080`.
### Check out these change here: <https://sharevb-it-tools.vercel.app/>
You can use my image in your docker-compose file if you want an update to date version of it-tools (with my PR and some of others) until the main branch has been updated.
@@ -16,24 +12,12 @@ Almost [all tools PR of it-tools](https://github.com/sharevb/it-tools/pulls).
## Build docker image for a subfolder
According to https://github.com/sharevb/it-tools/pull/461#issuecomment-1602506049 and https://github.com/CorentinTh/it-tools/pull/461:
According to https://github.com/sharevb/it-tools/pull/461#issuecomment-1602506049:
```
docker build -t it-tools --build-arg BASE_URL="/my-folder/" .
docker run -d --name it-tools --restart unless-stopped -p 8080:8080 it-tools
docker build -t it-tools --build-arg BASE_URL="/my-folder/" .
docker run -d --name it-tools --restart unless-stopped -p 8080:80 it-tools
```
For `/it-tools/` subfolder, you can use `baseurl-it-tools` tag:
```
docker run -p 8080:8080 ghcr.io/sharevb/it-tools:baseurl-it-tools
```
## Docker images
[GitHub Container Registry](https://github.com/sharevb/it-tools/pkgs/container/it-tools): `ghcr.io/sharevb/it-tools:latest`
[Docker Hub](https://hub.docker.com/r/sharevb/it-tools): `sharevb/it-tools:latest`
## Use in Docker Compose file
```yml
@@ -44,16 +28,14 @@ services:
pull_policy: always
restart: unless-stopped
ports:
- 8080:8080
- 8080:80
```
## Installation methods
Local installation required installing first: `python3 make g++`
| Docker Image | Local Installation |
|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
| GitHub Container Registry: <span title="triple click me!">`ghcr.io/sharevb/it-tools:latest`</span><br/>Docker Hub: <span title="triple click me!">`sharevb/it-tools:latest`</span> | <span title="triple click me!">`sudo apt-get install python3 make g++ && git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i && pnpm dev`</span> |
| <span title="triple click me!">`ghcr.io/sharevb/it-tools:latest`</span> | <span title="triple click me!">`git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i && pnpm dev`</span> |
| replace your current image with this image | copy & paste oneliner (from github repo) |
| You may need to clear cache and hard reload to get new features loading | Installing packages for the first time may take some time; please wait until it finishes |
@@ -80,13 +62,13 @@ Self host solutions for your homelab
**From docker hub:**
```sh
docker run -d --name it-tools --restart unless-stopped -p 8080:8080 corentinth/it-tools:latest
docker run -d --name it-tools --restart unless-stopped -p 8080:80 corentinth/it-tools:latest
```
**From github packages:**
```sh
docker run -d --name it-tools --restart unless-stopped -p 8080:8080 ghcr.io/corentinth/it-tools:latest
docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corentinth/it-tools:latest
```
**Other solutions:**
-35
View File
@@ -32,7 +32,6 @@ declare module '@vue/runtime-core' {
CAlert: typeof import('./src/ui/c-alert/c-alert.vue')['default']
'CAlert.demo': typeof import('./src/ui/c-alert/c-alert.demo.vue')['default']
CameraRecorder: typeof import('./src/tools/camera-recorder/camera-recorder.vue')['default']
CardPicker: typeof import('./src/tools/card-picker/card-picker.vue')['default']
CaseConverter: typeof import('./src/tools/case-converter/case-converter.vue')['default']
CButton: typeof import('./src/ui/c-button/c-button.vue')['default']
'CButton.demo': typeof import('./src/ui/c-button/c-button.demo.vue')['default']
@@ -64,9 +63,7 @@ declare module '@vue/runtime-core' {
'CModalValue.demo': typeof import('./src/ui/c-modal-value/c-modal-value.demo.vue')['default']
CMonacoEditor: typeof import('./src/ui/c-monaco-editor/c-monaco-editor.vue')['default']
CodeHighlighter: typeof import('./src/tools/code-highlighter/code-highlighter.vue')['default']
CoinFlipper: typeof import('./src/tools/coin-flipper/coin-flipper.vue')['default']
CollapsibleToolMenu: typeof import('./src/components/CollapsibleToolMenu.vue')['default']
ColorContrastChecker: typeof import('./src/tools/color-contrast-checker/color-contrast-checker.vue')['default']
ColorConverter: typeof import('./src/tools/color-converter/color-converter.vue')['default']
ColoredCard: typeof import('./src/components/ColoredCard.vue')['default']
ColorWheel: typeof import('./src/tools/color-wheel/color-wheel.vue')['default']
@@ -99,7 +96,6 @@ declare module '@vue/runtime-core' {
'DemoHome.page': typeof import('./src/ui/demo/demo-home.page.vue')['default']
DemoWrapper: typeof import('./src/ui/demo/demo-wrapper.vue')['default']
DeviceInformation: typeof import('./src/tools/device-information/device-information.vue')['default']
DiceRoller: typeof import('./src/tools/dice-roller/dice-roller.vue')['default']
DiffViewer: typeof import('./src/tools/json-diff/diff-viewer/diff-viewer.vue')['default']
DnsQueries: typeof import('./src/tools/dns-queries/dns-queries.vue')['default']
DockerComposeConverter: typeof import('./src/tools/docker-compose-converter/docker-compose-converter.vue')['default']
@@ -130,17 +126,14 @@ declare module '@vue/runtime-core' {
FolderStructureDiagram: typeof import('./src/tools/folder-structure-diagram/folder-structure-diagram.vue')['default']
ForceConverter: typeof import('./src/tools/force-converter/force-converter.vue')['default']
FormatTransformer: typeof import('./src/components/FormatTransformer.vue')['default']
FortuneWheel: typeof import('./src/tools/fortune-wheel/fortune-wheel.vue')['default']
GeoDistanceCalculator: typeof import('./src/tools/geo-distance-calculator/geo-distance-calculator.vue')['default']
GitMemo: typeof import('./src/tools/git-memo/git-memo.vue')['default']
'GitMemo.content': typeof import('./src/tools/git-memo/git-memo.content.md')['default']
GptTokenEstimator: typeof import('./src/tools/gpt-token-estimator/gpt-token-estimator.vue')['default']
GzipConverter: typeof import('./src/tools/gzip-converter/gzip-converter.vue')['default']
HarSanitizer: typeof import('./src/tools/har-sanitizer/har-sanitizer.vue')['default']
HashText: typeof import('./src/tools/hash-text/hash-text.vue')['default']
HddCalculator: typeof import('./src/tools/hdd-calculator/hdd-calculator.vue')['default']
HeicConverter: typeof import('./src/tools/heic-converter/heic-converter.vue')['default']
HexConverter: typeof import('./src/tools/hex-converter/hex-converter.vue')['default']
HexFileConverter: typeof import('./src/tools/hex-file-converter/hex-file-converter.vue')['default']
HmacGenerator: typeof import('./src/tools/hmac-generator/hmac-generator.vue')['default']
'Home.page': typeof import('./src/pages/Home.page.vue')['default']
@@ -157,7 +150,6 @@ declare module '@vue/runtime-core' {
IcalParser: typeof import('./src/tools/ical-parser/ical-parser.vue')['default']
IcoConverter: typeof import('./src/tools/ico-converter/ico-converter.vue')['default']
'IconMdi:brushVariant': typeof import('~icons/mdi/brush-variant')['default']
'IconMdi:contentCopy': typeof import('~icons/mdi/content-copy')['default']
'IconMdi:kettleSteamOutline': typeof import('~icons/mdi/kettle-steam-outline')['default']
IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default']
IconMdiChevronRight: typeof import('~icons/mdi/chevron-right')['default']
@@ -169,8 +161,6 @@ declare module '@vue/runtime-core' {
IconMdiSearch: typeof import('~icons/mdi/search')['default']
IconMdiTranslate: typeof import('~icons/mdi/translate')['default']
IconMdiTriangleDown: typeof import('~icons/mdi/triangle-down')['default']
IesLightingGuidelines: typeof import('./src/tools/ies-lighting-guidelines/ies-lighting-guidelines.vue')['default']
IlluminanceConverter: typeof import('./src/tools/illuminance-converter/illuminance-converter.vue')['default']
ImageConverter: typeof import('./src/tools/image-converter/image-converter.vue')['default']
ImageExifReader: typeof import('./src/tools/image-exif-reader/image-exif-reader.vue')['default']
ImageResizer: typeof import('./src/tools/image-resizer/image-resizer.vue')['default']
@@ -244,7 +234,6 @@ declare module '@vue/runtime-core' {
MenuBarItem: typeof import('./src/tools/html-wysiwyg-editor/editor/menu-bar-item.vue')['default']
MenuIconItem: typeof import('./src/components/MenuIconItem.vue')['default']
MenuLayout: typeof import('./src/components/MenuLayout.vue')['default']
MermaidPreviewer: typeof import('./src/tools/mermaid-previewer/mermaid-previewer.vue')['default']
MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default']
MicTester: typeof import('./src/tools/mic-tester/mic-tester.vue')['default']
MimeConverter: typeof import('./src/tools/mime-converter/mime-converter.vue')['default']
@@ -253,54 +242,32 @@ declare module '@vue/runtime-core' {
MorseConverter: typeof import('./src/tools/morse-converter/morse-converter.vue')['default']
MultiLinkDownloader: typeof import('./src/tools/multi-link-downloader/multi-link-downloader.vue')['default']
MyIp: typeof import('./src/tools/my-ip/my-ip.vue')['default']
NA: typeof import('naive-ui')['NA']
NAlert: typeof import('naive-ui')['NAlert']
NanoidGenerator: typeof import('./src/tools/nanoid-generator/nanoid-generator.vue')['default']
NanoMemo: typeof import('./src/tools/nano-memo/nano-memo.vue')['default']
'NanoMemo.content': typeof import('./src/tools/nano-memo/nano-memo.content.md')['default']
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
NCheckbox: typeof import('naive-ui')['NCheckbox']
NCode: typeof import('naive-ui')['NCode']
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
NColorPicker: typeof import('naive-ui')['NColorPicker']
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
NDatePicker: typeof import('naive-ui')['NDatePicker']
NDivider: typeof import('naive-ui')['NDivider']
NDynamicInput: typeof import('naive-ui')['NDynamicInput']
NEllipsis: typeof import('naive-ui')['NEllipsis']
NForm: typeof import('naive-ui')['NForm']
NFormItem: typeof import('naive-ui')['NFormItem']
NGi: typeof import('naive-ui')['NGi']
NginxFormatter: typeof import('./src/tools/nginx-formatter/nginx-formatter.vue')['default']
NGrid: typeof import('naive-ui')['NGrid']
NH1: typeof import('naive-ui')['NH1']
NH3: typeof import('naive-ui')['NH3']
NIcon: typeof import('naive-ui')['NIcon']
NInput: typeof import('naive-ui')['NInput']
NInputGroup: typeof import('naive-ui')['NInputGroup']
NInputGroupLabel: typeof import('naive-ui')['NInputGroupLabel']
NInputNumber: typeof import('naive-ui')['NInputNumber']
NLayout: typeof import('naive-ui')['NLayout']
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
NMenu: typeof import('naive-ui')['NMenu']
NP: typeof import('naive-ui')['NP']
NRadio: typeof import('naive-ui')['NRadio']
NRadioGroup: typeof import('naive-ui')['NRadioGroup']
NScrollbar: typeof import('naive-ui')['NScrollbar']
NSelect: typeof import('naive-ui')['NSelect']
NSlider: typeof import('naive-ui')['NSlider']
NSpace: typeof import('naive-ui')['NSpace']
NSpin: typeof import('naive-ui')['NSpin']
NStatistic: typeof import('naive-ui')['NStatistic']
NSwitch: typeof import('naive-ui')['NSwitch']
NTable: typeof import('naive-ui')['NTable']
NText: typeof import('naive-ui')['NText']
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']
OcrImage: typeof import('./src/tools/ocr-image/ocr-image.vue')['default']
Option43Generator: typeof import('./src/tools/option43-generator/option43-generator.vue')['default']
OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default']
OutlookParser: typeof import('./src/tools/outlook-parser/outlook-parser.vue')['default']
ParquetsReader: typeof import('./src/tools/parquets-reader/parquets-reader.vue')['default']
PassphraseGenerator: typeof import('./src/tools/passphrase-generator/passphrase-generator.vue')['default']
PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default']
PasteAsMarkdown: typeof import('./src/tools/paste-as-markdown/paste-as-markdown.vue')['default']
@@ -323,7 +290,6 @@ declare module '@vue/runtime-core' {
PunycodeConverter: typeof import('./src/tools/punycode-converter/punycode-converter.vue')['default']
QrCodeDecoder: typeof import('./src/tools/qr-code-decoder/qr-code-decoder.vue')['default']
QrCodeGenerator: typeof import('./src/tools/qr-code-generator/qr-code-generator.vue')['default']
QrContactInfoGenerator: typeof import('./src/tools/qr-contact-info-generator/qr-contact-info-generator.vue')['default']
RaidCalculator: typeof import('./src/tools/raid-calculator/raid-calculator.vue')['default']
RandomPortGenerator: typeof import('./src/tools/random-port-generator/random-port-generator.vue')['default']
RegexMemo: typeof import('./src/tools/regex-memo/regex-memo.vue')['default']
@@ -340,7 +306,6 @@ declare module '@vue/runtime-core' {
RsaKeyPairGenerator: typeof import('./src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue')['default']
SafelinkDecoder: typeof import('./src/tools/safelink-decoder/safelink-decoder.vue')['default']
SensitiveDataMasker: typeof import('./src/tools/sensitive-data-masker/sensitive-data-masker.vue')['default']
SharepointDecoder: typeof import('./src/tools/sharepoint-decoder/sharepoint-decoder.vue')['default']
SipAuth: typeof import('./src/tools/sip-auth/sip-auth.vue')['default']
SlaCalculator: typeof import('./src/tools/sla-calculator/sla-calculator.vue')['default']
SlugifyString: typeof import('./src/tools/slugify-string/slugify-string.vue')['default']
-4
View File
@@ -275,10 +275,6 @@ tools:
title: WiFi QR Code generator
description: Generate and download QR codes for quick connections to WiFi networks.
qr-contact-info-generator:
title: QR Contact Info generator
description: Generate and download QR codes for Contact information (vCard), and customize the background and foreground colors.
xml-formatter:
title: XML formatter
description: Prettify your XML string into a friendly, human-readable format.
+2 -3
View File
@@ -1,6 +1,5 @@
server {
listen 8080;
listen [::]:8080;
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
@@ -8,4 +7,4 @@ server {
location / {
try_files $uri $uri/ /index.html;
}
}
}
+80 -100
View File
@@ -1,7 +1,7 @@
{
"name": "it-tools",
"type": "module",
"version": "2025.2.9-b99a19c",
"version": "2025.2.9-1a286ef",
"packageManager": "pnpm@9.11.0",
"description": "Collection of handy online tools for developers, with great UX. ",
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
@@ -39,41 +39,37 @@
"dependencies": {
"@chenfengyuan/vue-barcode": "^2.0.2",
"@date-fns/utc": "^1.2.0",
"@dice-roller/rpg-dice-roller": "^5.5.1",
"@github/paste-markdown": "^1.5.3",
"@guolao/vue-monaco-editor": "^1.5.4",
"@guyplusplus/turndown-plugin-gfm": "^1.0.7",
"@huggingface/transformers": "3.0.0-alpha.14",
"@iplookup/country-extra": "^1.0.20250317",
"@it-tools/bip39": "^0.0.4",
"@it-tools/oggen": "^1.3.0",
"@kenjiuno/decompressrtf": "^0.1.4",
"@kenjiuno/msgreader": "^1.22.0",
"@mdit/plugin-align": "^0.16.0",
"@regexper/render": "^1.0.0",
"@sindresorhus/slugify": "^2.2.1",
"@tabler/icons-vue": "^3.20.0",
"@tiptap/core": "2.9.1",
"@tiptap/extension-color": "^2.11.5",
"@tiptap/extension-gapcursor": "^2.11.5",
"@tiptap/extension-highlight": "^2.11.5",
"@tiptap/extension-table": "^2.11.5",
"@tiptap/extension-table-cell": "^2.11.5",
"@tiptap/extension-table-header": "^2.11.5",
"@tiptap/extension-table-row": "^2.11.5",
"@tiptap/extension-text-style": "^2.11.5",
"@tiptap/extension-color": "^2.9.1",
"@tiptap/extension-gapcursor": "^2.9.1",
"@tiptap/extension-highlight": "^2.9.1",
"@tiptap/extension-table": "^2.9.1",
"@tiptap/extension-table-cell": "^2.9.1",
"@tiptap/extension-table-header": "^2.9.1",
"@tiptap/extension-table-row": "^2.9.1",
"@tiptap/extension-text-style": "^2.9.1",
"@tiptap/pm": "2.9.1",
"@tiptap/starter-kit": "2.9.1",
"@tiptap/vue-3": "2.9.1",
"@types/haversine": "^1.1.8",
"@unicode/unicode-15.1.0": "^1.6.5",
"@unicode/unicode-15.1.0": "^1.6.0",
"@vicons/material": "^0.12.0",
"@vicons/tabler": "^0.12.0",
"@vueuse/core": "^10.11.1",
"@vueuse/head": "^1.0.0",
"@vueuse/router": "^10.0.0",
"@xmldom/xmldom": "^0.8.10",
"@younestouati/playing-cards-standard-deck": "^6.0.1",
"@zxing/library": "^0.21.3",
"aircodes": "^1.3.16",
"ansible-vault": "^1.3.0",
@@ -82,63 +78,59 @@
"bcryptjs": "^2.4.3",
"big.js": "^6.2.2",
"bwip-js": "^4.5.1",
"byte-data": "^19.0.1",
"change-case": "^5.4.4",
"change-case": "^4.1.2",
"chatgpt-prompt-splitter": "^1.0.5",
"chinesegen": "^0.3.3",
"cidr-tools": "^11.0.2",
"colord": "^2.9.3",
"composerize": "^1.7.1",
"composerize": "^1.6.12",
"composeverter": "^1.7.4",
"convert": "^5.7.0",
"convert": "^5.5.1",
"countries-and-timezones": "^3.7.2",
"countries-db": "^1.2.0",
"country-code-lookup": "^0.1.3",
"country-code-lookup": "^0.1.0",
"crc": "^4.3.2",
"cron-parser": "^4.9.0",
"cron-validator": "^1.3.1",
"cronstrue": "^2.54.0",
"crypto-js": "^4.2.0",
"cronstrue": "^2.26.0",
"crypto-js": "^4.1.1",
"csstoxpath": "^2.0.0",
"curlconverter": "^4.12.0",
"curlconverter": "^4.11.0",
"currency-codes-ts": "^3.0.0",
"currency-exchanger-js": "^1.0.4",
"data-guardian": "^1.1.3",
"date-fns": "^2.30.0",
"date-holidays": "^3.23.21",
"decomposerize": "^1.4.4",
"date-fns": "^2.29.3",
"date-holidays": "^3.23.12",
"decomposerize": "^1.4.1",
"dns-query": "^0.11.2",
"docker2kube": "^0.0.14",
"dom-to-image-more": "^3.5.0",
"dompurify": "^3.2.4",
"dompurify": "^3.0.6",
"duration-fns": "^3.0.2",
"email-bounce-parser-browser": "^1.1.0",
"email-normalizer": "^1.0.0",
"emojilib": "^4.0.1",
"event-cron-parser": "^1.0.35",
"emojilib": "^3.0.10",
"event-cron-parser": "^1.0.34",
"exif-be-gone": "^1.5.1",
"exifreader": "^4.26.1",
"exifreader": "^4.25.0",
"fanger": "^0.3.1",
"fast_array_intersect": "^1.1.0",
"fflate": "^0.8.2",
"figlet": "^1.8.0",
"figlet": "^1.7.0",
"figue": "^1.2.0",
"file-type": "^20.1.0",
"file-type": "^19.6.0",
"flatten-anything": "^4.0.1",
"fuse.js": "^7.1.0",
"fuse.js": "^6.6.2",
"generate-schema": "^2.6.0",
"get-timezone-offset": "^1.0.5",
"gpt-tokens": "^1.3.14",
"hash-wasm": "^4.12.0",
"gpt-tokens": "^1.3.13",
"hash-wasm": "^4.11.0",
"haversine": "^1.1.1",
"heic-convert": "^2.1.0",
"hex-array": "^1.0.0",
"highlight.js": "^11.11.1",
"hyparquet": "^1.9.0",
"hyparquet-compressors": "^1.0.0",
"highlight.js": "^11.7.0",
"iarna-toml-esm": "^3.0.5",
"ibantools": "^4.5.1",
"ical-generator": "^8.1.1",
"ibantools": "^4.3.3",
"ical-generator": "^8.0.1",
"ical.js": "^2.1.0",
"iconv-lite": "^0.6.3",
"image-in-browser": "^3.2.1",
@@ -150,19 +142,20 @@
"ip-regex": "^5.0.0",
"is-cidr": "^5.1.0",
"is-ip": "^5.0.1",
"isbn3": "^1.2.7",
"iso-639-1": "^3.1.5",
"isbn3": "^1.2.3",
"iso-639-1": "^3.1.3",
"javastack.js": "^1.0.3",
"jks-js": "^1.1.4",
"jose": "^5.9.6",
"jpeg-quality-estimator": "^1.0.1",
"jq-wasm": "^0.0.9",
"js-base64": "^3.7.7",
"js-beautify": "^1.15.2",
"js-beautify": "^1.15.1",
"jsbarcode": "^3.11.6",
"json-analyzer": "^1.2.2",
"json-editor-vue": "^0.16.0",
"json-to-ts": "^1.7.0",
"json2csharp": "^1.0.3",
"json5": "^2.2.3",
"jsonar-mod": "^1.9.0",
"jsonlint-mod": "^1.7.6",
@@ -170,55 +163,50 @@
"jsstack.js": "^2.0.0",
"jsvat-next": "^3.0.4",
"jszip": "^3.10.1",
"jwt-decode": "^4.0.0",
"jwt-decode": "^3.1.2",
"korean-unpacker": "^1.0.3",
"libmime": "^5.3.6",
"libphonenumber-js": "^1.11.19",
"libmime": "^5.3.5",
"libphonenumber-js": "^1.10.28",
"lodash": "^4.17.21",
"lodash.defaultsdeep": "^4.6.1",
"lodash.flattendeep": "^4.4.0",
"lodash.last": "^3.0.0",
"long": "^5.3.1",
"lorem-ipsum-japanese": "^1.0.1",
"luhn-js": "^1.1.2",
"luxon": "^3.5.0",
"markdown-it": "^14.1.0",
"markdown-it-mark": "^4.0.0",
"markdown-it-sanitizer": "^0.4.3",
"markdown-it-sub": "^2.0.0",
"markdown-it-sup": "^2.0.0",
"marked": "^10.0.0",
"mathjs": "^14.2.1",
"md-editor-v3": "^4.21.3",
"mathjs": "^11.9.1",
"md-editor-v3": "^4.21.2",
"memorystream": "^0.3.1",
"mime-types": "^2.1.35",
"monaco-editor": "^0.43.0",
"morsee": "^1.0.10",
"morsee": "^1.0.9",
"naive-ui": "^2.35.0",
"nanoid": "^5.0.9",
"nanoid": "^5.0.7",
"nanoid-dictionary": "^4.3.0",
"netmask": "^2.0.2",
"netstack.js": "^2.1.1",
"netstack.js": "^2.0.0",
"nginx-config-formatter": "^1.4.5",
"node-forge": "^1.3.1",
"openpgp": "^6.1.0",
"oui-data": "^1.1.281",
"parse-duration": "^2.1.2",
"parse-torrent": "^11.0.18",
"path2d-polyfill": "^3.1.3",
"openpgp": "^5.11.2",
"oui-data": "^1.0.10",
"parse-duration": "^1.1.0",
"parse-torrent": "^11.0.17",
"path2d-polyfill": "^3.1.2",
"pdf-signature-reader": "^1.4.3",
"pdfjs-dist": "^4.8.69",
"pinia": "^2.0.34",
"plausible-tracker": "^0.3.9",
"port-numbers": "^8.0.22",
"postal-mime": "^2.4.3",
"plausible-tracker": "^0.3.8",
"port-numbers": "^8.0.17",
"postal-mime": "^2.3.2",
"potrace": "^2.1.8",
"pp-qr-code": "^0.6.4",
"pretty-ms": "^9.2.0",
"pretty-ms": "^9.1.0",
"punycode": "^2.3.1",
"pythonstack.js": "^1.0.2",
"qpdf-wasm-esm-embedded": "^1.1.1",
"qrcode": "^1.5.4",
"qrcode": "^1.5.1",
"qrcode-parser": "^2.1.3",
"qrcode-terminal-nooctal": "^0.12.1",
"randexp": "^0.5.3",
@@ -227,68 +215,61 @@
"rtf-stream-parser": "^3.8.0",
"safe-license-list": "^0.1.2",
"sandybox": "^1.1.2",
"sanitize-html": "^2.14.0",
"sanitize-html": "^2.13.1",
"shiki": "1.22.2",
"silly-password-generator": "^1.0.28",
"slashes": "^3.0.12",
"spdx-satisfies": "^5.0.1",
"sql-formatter": "^15.5.1",
"sql-formatter": "^13.0.0",
"sshpk": "^1.18.0",
"stringify-object": "^5.0.0",
"svg2png-wasm": "^1.4.1",
"svgo": "^3.3.2",
"tesseract.js": "^5.1.1",
"text-encoding-utf-8": "^1.0.2",
"tidy-url": "^1.18.3",
"turndown": "^7.2.0",
"ua-parser-js": "^2.0.1",
"ua-parser-js": "^1.0.35",
"ulid": "^2.3.0",
"unicode-emoji-json": "^0.4.0",
"unique-random": "^4.0.0",
"unplugin-auto-import": "^0.16.4",
"utf8": "^3.0.0",
"uuid": "^11.0.5",
"uuid": "^11.0.3",
"vanilla-jsoneditor": "^0.23.8",
"vue": "^3.3.4",
"vue-color-wheel": "^0.1.1",
"vue-i18n": "^9.9.1",
"vue-markdown-render": "^2.2.1",
"vue-mathjax-next": "^0.0.6",
"vue-mermaid-string": "^7.0.0",
"vue-router": "^4.1.6",
"vue-shadow-dom": "^4.2.0",
"vue-tsc": "^1.8.1",
"vue3-fortune-wheel": "^2.0.5",
"vuedraggable": "^4.1.0",
"w-websocket-client": "^1.0.29",
"wcag-contrast-utils": "^1.0.1",
"webcrack": "^2.15.0",
"webcrack": "^2.14.1",
"webp-converter-browser": "^1.0.4",
"xml-formatter": "^3.6.4",
"xml-formatter": "^3.3.2",
"xml-js": "^1.6.11",
"xpath": "^0.0.34",
"xpath-to-css": "^1.2.0",
"xslt-processor": "^3.3.1",
"yaml": "^2.7.0"
"xslt-processor": "^3.2.2",
"yaml": "^2.2.1"
},
"devDependencies": {
"@antfu/eslint-config": "^0.41.0",
"@iconify-json/mdi": "^1.1.50",
"@intlify/unplugin-vue-i18n": "^0.13.0",
"@playwright/test": "^1.50.1",
"@playwright/test": "^1.50.0",
"@rushstack/eslint-patch": "^1.2.0",
"@tsconfig/node18": "^18.2.0",
"@types/arr-diff": "^4.0.3",
"@types/bcryptjs": "^2.4.6",
"@types/bcryptjs": "^2.4.2",
"@types/big.js": "^6.2.2",
"@types/crypto-js": "^4.2.2",
"@types/dompurify": "^3.2.0",
"@types/emscripten": "^1.40.0",
"@types/figlet": "^1.7.0",
"@types/har-format": "^1.2.16",
"@types/hex-array": "^1.0.2",
"@types/crypto-js": "^4.1.1",
"@types/dompurify": "^3.0.5",
"@types/emscripten": "^1.39.13",
"@types/figlet": "^1.5.8",
"@types/js-beautify": "^1.14.3",
"@types/jsdom": "^21.1.7",
"@types/jsdom": "^21.1.0",
"@types/jsonpath": "^0.2.4",
"@types/libmime": "^5.0.3",
"@types/lodash": "^4.14.192",
@@ -298,24 +279,23 @@
"@types/luxon": "^3.4.2",
"@types/markdown-it": "^13.0.9",
"@types/memorystream": "^0.3.4",
"@types/mime-types": "^2.1.4",
"@types/mime-types": "^2.1.1",
"@types/morsee": "^1.0.2",
"@types/nanoid-dictionary": "^4.2.3",
"@types/netmask": "^2.0.5",
"@types/node": "^18.19.75",
"@types/node-forge": "^1.3.11",
"@types/netmask": "^2.0.0",
"@types/node": "^18.15.11",
"@types/node-forge": "^1.3.2",
"@types/potrace": "^2.1.5",
"@types/punycode": "^2.1.4",
"@types/qrcode": "^1.5.5",
"@types/qrcode": "^1.5.0",
"@types/sanitize-html": "^2.13.0",
"@types/spdx-satisfies": "^0.1.2",
"@types/sshpk": "^1.17.4",
"@types/stringify-object": "^4.0.5",
"@types/text-encoding-utf-8": "^1.0.5",
"@types/turndown": "^5.0.5",
"@types/ua-parser-js": "^0.7.39",
"@types/ua-parser-js": "^0.7.36",
"@types/utf8": "^3.0.3",
"@types/uuid": "^9.0.8",
"@types/uuid": "^9.0.0",
"@unocss/eslint-config": "^0.57.1",
"@vitejs/plugin-vue": "^4.3.2",
"@vitejs/plugin-vue-jsx": "^3.0.2",
@@ -327,7 +307,7 @@
"eslint": "^8.47.0",
"hygen": "^6.2.11",
"jsdom": "^22.0.0",
"less": "^4.2.2",
"less": "^4.1.3",
"prettier": "^3.0.0",
"typescript": "~5.2.2",
"unocss": "^0.57.1",
@@ -339,8 +319,8 @@
"vite-plugin-pwa": "^0.16.0",
"vite-plugin-vue-markdown": "^0.23.5",
"vite-svg-loader": "^4.0.0",
"vitest": "^0.34.6",
"workbox-window": "^7.3.0",
"zx": "^7.2.3"
"vitest": "^0.34.0",
"workbox-window": "^7.0.0",
"zx": "^7.2.1"
}
}
+1774 -2613
View File
File diff suppressed because it is too large. Load diff
-168
View File
@@ -1,168 +0,0 @@
window.IpLookup = (function () {
'use strict';
const aton4 = (a) => {
a = a.split(/\./);
return (a[0] << 24 | a[1] << 16 | a[2] << 8 | a[3]) >>> 0
};
const aton6Start = (a) => {
if(a.includes('.')){
return aton4(a.split(':').pop())
}
a = a.split(/:/);
const l = a.length - 1;
var i, r = 0n;
if (l < 7) {
const omitStart = a.indexOf('');
if(omitStart < 4){
const omitted = 8 - a.length, omitEnd = omitStart + omitted;
for (i = 7; i >= omitStart; i--) {
a[i] = i > omitEnd ? a[i - omitted] : 0;
}
}
}
for (i = 0; i < 4; i++) {
if(a[i]) r += BigInt(parseInt(a[i], 16)) << BigInt(16 * (3 - i));
}
return r
};
const getUnderberFill = (num, len) => {
if(num.length > len) return num
return '_'.repeat(len - num.length) + num
};
const numberToDir = (num) => {
return getUnderberFill(num.toString(36), 2)
};
const TOP_URL = 'https://cdn.jsdelivr.net/npm/@iplookup/country-extra/';
const MAIN_RECORD_SIZE = 2 ;
const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms));
const downloadArrayBuffer = async(url, retry = 3) => {
return fetch(url, {cache: 'no-cache'}).then(async (res) => {
if(!res.ok) {
if(res.status === 404) return null
if(retry) {
await sleep(100 * (4-retry) * (4-retry));
return downloadArrayBuffer(url, retry - 1)
}
return null
}
return res.arrayBuffer()
})
};
const downloadIdx = downloadArrayBuffer;
const Idx = {}, Url = {4: TOP_URL, 6: TOP_URL};
const Preload = {
4: downloadIdx(TOP_URL + '4.idx').then(buf => {
if(!buf){
// console.log('ipv6 file cannot download')
return
}
return Idx[4] = new Uint32Array(buf)
}),
6: downloadIdx(TOP_URL + '4.idx').then(buf => {
if(!buf){
// console.log('ipv6 file cannot download')
return
}
return Idx[6] = new BigUint64Array(buf)
})
};
var ip_lookup = async (ipString) => {
var ip, version, isv4 = true;
if(ipString.includes(':')) {
ip = aton6Start(ipString);
version = ip.constructor === BigInt ? 6 : 4;
if(version === 6) isv4 = false;
} else {
ip = aton4(ipString);
version = 4;
}
const ipIndexes = Idx[version] || (await Preload[version]);
if(!ipIndexes) {
// console.log('Cannot download idx file')
return null
}
if(!(ip >= ipIndexes[0])) return null
var fline = 0, cline = ipIndexes.length-1, line;
for(;;){
line = (fline + cline) >> 1;
if(ip < ipIndexes[line]){
if(cline - fline < 2) return null
cline = line - 1;
} else {
if(fline === line) {
if(cline > line && ip >= ipIndexes[cline]){
line = cline;
}
break;
}
fline = line;
}
}
const fileName = numberToDir(line);
const dataBuffer = await downloadArrayBuffer(Url[version] + version + '/' + fileName);
if(!dataBuffer) {
// console.log('Cannot download data file')
return null
}
const ipSize = (version - 2) * 2;
const recordSize = MAIN_RECORD_SIZE + ipSize * 2;
const recordCount = dataBuffer.byteLength / recordSize;
const startList = isv4 ? new Uint32Array(dataBuffer.slice(0, 4 * recordCount)) : new BigUint64Array(dataBuffer.slice(0, 8 * recordCount));
fline = 0, cline = recordCount - 1;
for(;;){
line = fline + cline >> 1;
if(ip < startList[line]){
if(cline - fline < 2) return null
cline = line - 1;
} else {
if(fline === line) {
if(cline > line && ip >= startList[cline]){
line = cline;
}
break;
}
fline = line;
}
}
const endIp = isv4 ? new Uint32Array( dataBuffer.slice((recordCount+line)*ipSize , (recordCount+line+1)*ipSize))[0]
: new BigUint64Array(dataBuffer.slice((recordCount+line)*ipSize , (recordCount+line+1)*ipSize))[0];
if(ip >= startList[line] && ip <= endIp){
{
const ccCode = new Uint16Array(dataBuffer.slice(recordCount*ipSize*2+line*MAIN_RECORD_SIZE, recordCount*ipSize*2+(line+1)*MAIN_RECORD_SIZE))[0];
return {country: String.fromCharCode(ccCode&255, ccCode>>8)}
}
}
return null
};
/*! countries-list v3.1.1 by Annexare | MIT */
var a={AD:{name:"Andorra",native:"Andorra",phone:[376],continent:"EU",capital:"Andorra la Vella",currency:["EUR"],languages:["ca"]},AE:{name:"United Arab Emirates",native:"\u062F\u0648\u0644\u0629 \u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062A \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0645\u062A\u062D\u062F\u0629",phone:[971],continent:"AS",capital:"Abu Dhabi",currency:["AED"],languages:["ar"]},AF:{name:"Afghanistan",native:"\u0627\u0641\u063A\u0627\u0646\u0633\u062A\u0627\u0646",phone:[93],continent:"AS",capital:"Kabul",currency:["AFN"],languages:["ps","uz","tk"]},AG:{name:"Antigua and Barbuda",native:"Antigua and Barbuda",phone:[1268],continent:"NA",capital:"Saint John's",currency:["XCD"],languages:["en"]},AI:{name:"Anguilla",native:"Anguilla",phone:[1264],continent:"NA",capital:"The Valley",currency:["XCD"],languages:["en"]},AL:{name:"Albania",native:"Shqip\xEBria",phone:[355],continent:"EU",capital:"Tirana",currency:["ALL"],languages:["sq"]},AM:{name:"Armenia",native:"\u0540\u0561\u0575\u0561\u057D\u057F\u0561\u0576",phone:[374],continent:"AS",capital:"Yerevan",currency:["AMD"],languages:["hy","ru"]},AO:{name:"Angola",native:"Angola",phone:[244],continent:"AF",capital:"Luanda",currency:["AOA"],languages:["pt"]},AQ:{name:"Antarctica",native:"Antarctica",phone:[672],continent:"AN",capital:"",currency:[],languages:[]},AR:{name:"Argentina",native:"Argentina",phone:[54],continent:"SA",capital:"Buenos Aires",currency:["ARS"],languages:["es","gn"]},AS:{name:"American Samoa",native:"American Samoa",phone:[1684],continent:"OC",capital:"Pago Pago",currency:["USD"],languages:["en","sm"]},AT:{name:"Austria",native:"\xD6sterreich",phone:[43],continent:"EU",capital:"Vienna",currency:["EUR"],languages:["de"]},AU:{name:"Australia",native:"Australia",phone:[61],continent:"OC",capital:"Canberra",currency:["AUD"],languages:["en"]},AW:{name:"Aruba",native:"Aruba",phone:[297],continent:"NA",capital:"Oranjestad",currency:["AWG"],languages:["nl","pa"]},AX:{name:"Aland",native:"\xC5land",phone:[358],continent:"EU",capital:"Mariehamn",currency:["EUR"],languages:["sv"],partOf:"FI"},AZ:{name:"Azerbaijan",native:"Az\u0259rbaycan",phone:[994],continent:"AS",continents:["AS","EU"],capital:"Baku",currency:["AZN"],languages:["az"]},BA:{name:"Bosnia and Herzegovina",native:"Bosna i Hercegovina",phone:[387],continent:"EU",capital:"Sarajevo",currency:["BAM"],languages:["bs","hr","sr"]},BB:{name:"Barbados",native:"Barbados",phone:[1246],continent:"NA",capital:"Bridgetown",currency:["BBD"],languages:["en"]},BD:{name:"Bangladesh",native:"Bangladesh",phone:[880],continent:"AS",capital:"Dhaka",currency:["BDT"],languages:["bn"]},BE:{name:"Belgium",native:"Belgi\xEB",phone:[32],continent:"EU",capital:"Brussels",currency:["EUR"],languages:["nl","fr","de"]},BF:{name:"Burkina Faso",native:"Burkina Faso",phone:[226],continent:"AF",capital:"Ouagadougou",currency:["XOF"],languages:["fr","ff"]},BG:{name:"Bulgaria",native:"\u0411\u044A\u043B\u0433\u0430\u0440\u0438\u044F",phone:[359],continent:"EU",capital:"Sofia",currency:["BGN"],languages:["bg"]},BH:{name:"Bahrain",native:"\u200F\u0627\u0644\u0628\u062D\u0631\u064A\u0646",phone:[973],continent:"AS",capital:"Manama",currency:["BHD"],languages:["ar"]},BI:{name:"Burundi",native:"Burundi",phone:[257],continent:"AF",capital:"Bujumbura",currency:["BIF"],languages:["fr","rn"]},BJ:{name:"Benin",native:"B\xE9nin",phone:[229],continent:"AF",capital:"Porto-Novo",currency:["XOF"],languages:["fr"]},BL:{name:"Saint Barthelemy",native:"Saint-Barth\xE9lemy",phone:[590],continent:"NA",capital:"Gustavia",currency:["EUR"],languages:["fr"]},BM:{name:"Bermuda",native:"Bermuda",phone:[1441],continent:"NA",capital:"Hamilton",currency:["BMD"],languages:["en"]},BN:{name:"Brunei",native:"Negara Brunei Darussalam",phone:[673],continent:"AS",capital:"Bandar Seri Begawan",currency:["BND"],languages:["ms"]},BO:{name:"Bolivia",native:"Bolivia",phone:[591],continent:"SA",capital:"Sucre",currency:["BOB","BOV"],languages:["es","ay","qu"]},BQ:{name:"Bonaire",native:"Bonaire",phone:[5997],continent:"NA",capital:"Kralendijk",currency:["USD"],languages:["nl"]},BR:{name:"Brazil",native:"Brasil",phone:[55],continent:"SA",capital:"Bras\xEDlia",currency:["BRL"],languages:["pt"]},BS:{name:"Bahamas",native:"Bahamas",phone:[1242],continent:"NA",capital:"Nassau",currency:["BSD"],languages:["en"]},BT:{name:"Bhutan",native:"\u02BCbrug-yul",phone:[975],continent:"AS",capital:"Thimphu",currency:["BTN","INR"],languages:["dz"]},BV:{name:"Bouvet Island",native:"Bouvet\xF8ya",phone:[47],continent:"AN",capital:"",currency:["NOK"],languages:["no","nb","nn"]},BW:{name:"Botswana",native:"Botswana",phone:[267],continent:"AF",capital:"Gaborone",currency:["BWP"],languages:["en","tn"]},BY:{name:"Belarus",native:"\u0411\u0435\u043B\u0430\u0440\u0443\u0301\u0441\u044C",phone:[375],continent:"EU",capital:"Minsk",currency:["BYN"],languages:["be","ru"]},BZ:{name:"Belize",native:"Belize",phone:[501],continent:"NA",capital:"Belmopan",currency:["BZD"Line truncated
var browserExtra = async(ip) => {
const geodata = await ip_lookup(ip);
if(geodata && a[geodata.country]){
const h = a[geodata.country];
geodata.country_name = h.name;
geodata.country_native = h.native;
geodata.continent = h.continent;
geodata.capital = h.capital;
geodata.phone = h.phone;
geodata.currency = h.currency;
geodata.languages = h.languages;
}
return geodata
};
return browserExtra;
})();
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

+19 -14
View File
@@ -1,30 +1,29 @@
import { mkdir, readFile, writeFile } from 'node:fs/promises';
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
import { mkdir, readFile, writeFile } from 'fs/promises';
import { dirname, join } from 'path';
import { fileURLToPath } from 'url';
const currentDirname = dirname(fileURLToPath(import.meta.url));
const toolsDir = join(currentDirname, '..', 'src', 'tools');
// eslint-disable-next-line no-undef
const toolName = process.argv[2];
if (!toolName) {
throw new Error('Please specify a toolname.');
}
const toolCategory = process.argv[3] || 'Default';
const toolNameCamelCase = toolName.replace(/-./g, (x) => x[1].toUpperCase());
const toolNameTitleCase = toolName[0].toUpperCase() + toolName.slice(1).replace(/-/g, ' ');
const toolDir = join(toolsDir, toolName);
await mkdir(toolDir);
console.log(`Directory created: ${toolDir}`);
async function createToolFile(name, content) {
const createToolFile = async (name, content) => {
const filePath = join(toolDir, name);
await writeFile(filePath, content.trim());
console.log(`File created: ${filePath}`);
}
};
createToolFile(
`${toolName}.vue`,
@@ -45,7 +44,7 @@ createToolFile(
);
createToolFile(
'index.ts',
`index.ts`,
`
import { ArrowsShuffle } from '@vicons/tabler';
import { defineTool } from '../tool';
@@ -54,16 +53,15 @@ export const tool = defineTool({
name: '${toolNameTitleCase}',
path: '/${toolName}',
description: '',
keywords: ['${toolName.split('-').join('\', \'')}'],
keywords: ['${toolName.split('-').join("', '")}'],
component: () => import('./${toolName}.vue'),
icon: ArrowsShuffle,
createdAt: new Date('${new Date().toISOString().split('T')[0]}'),
category: '${toolCategory}',
});
`,
);
createToolFile(`${toolName}.service.ts`, '');
createToolFile(`${toolName}.service.ts`, ``);
createToolFile(
`${toolName}.service.test.ts`,
`
@@ -94,6 +92,13 @@ test.describe('Tool - ${toolNameTitleCase}', () => {
});
});
`,
);
);
const toolsIndex = join(toolsDir, 'index.ts');
const indexContent = await readFile(toolsIndex, { encoding: 'utf-8' }).then((r) => r.split('\n'));
indexContent.splice(3, 0, `import { tool as ${toolNameCamelCase} } from './${toolName}';`);
writeFile(toolsIndex, indexContent.join('\n'));
console.log(`Added import in: ${toolsIndex}`);
+1 -35
View File
@@ -29,33 +29,10 @@ function toggleCategoryCollapse({ name }: { name: string }) {
collapsedCategories.value[name] = !collapsedCategories.value[name];
}
/**
* areAllCollapsed (new)
* --------------------------------------------------------------------------
* A computed property that checks if all categories are collapsed.
* - If even one category is expanded (false), this becomes false.
* - If no categories are found or all are collapsed (true), it becomes true.
*/
const areAllCollapsed = computed(() => {
return toolsByCategory.value.every(({ name }) => collapsedCategories.value[name] !== false);
});
/**
* toggleAllCategories (new)
* --------------------------------------------------------------------------
* If all categories are collapsed, expand them all; otherwise, collapse them all.
*/
function toggleAllCategories() {
const nextState = !areAllCollapsed.value;
toolsByCategory.value.forEach(({ name }) => {
collapsedCategories.value[name] = nextState;
});
};
const menuOptions = computed(() =>
toolsByCategory.value.map(({ name, components }) => ({
name,
isCollapsed: collapsedCategories.value[name] === undefined ? true : collapsedCategories.value[name], // default to collapsed if not set
isCollapsed: collapsedCategories.value[name],
tools: components.map(tool => ({
label: makeLabel(tool),
icon: makeIcon(tool),
@@ -68,17 +45,6 @@ const themeVars = useThemeVars();
</script>
<template>
<!--
A button at the top to expand or collapse all categories at once.
- Uses areAllCollapsed to determine the label ("Expand All" vs. "Collapse All").
- Calls toggleAllCategories() on click.
-->
<div class="top-controls" ml-6px>
<c-button @click="toggleAllCategories">
{{ areAllCollapsed ? 'Expand All Tools' : 'Collapse All Tools' }}
</c-button>
</div>
<div v-for="{ name, tools, isCollapsed } of menuOptions" :key="name">
<div ml-6px mt-12px flex cursor-pointer items-center op-60 @click="toggleCategoryCollapse({ name })">
<span :class="{ 'rotate-0': isCollapsed, 'rotate-90': !isCollapsed }" text-16px lh-1 op-50 transition-transform>
+3 -5
View File
@@ -1,5 +1,5 @@
import { type MaybeRef, get } from '@vueuse/core';
import Fuse, { type IFuseOptions } from 'fuse.js';
import Fuse from 'fuse.js';
import { computed } from 'vue';
export { useFuzzySearch };
@@ -8,12 +8,10 @@ function useFuzzySearch<Data>({
search,
data,
options = {},
limit = -1,
}: {
search: MaybeRef<string>
data: Data[]
options?: IFuseOptions<Data> & { filterEmpty?: boolean }
limit?: number
options?: Fuse.IFuseOptions<Data> & { filterEmpty?: boolean }
}) {
const fuse = new Fuse(data, options);
const filterEmpty = options.filterEmpty ?? true;
@@ -25,7 +23,7 @@ function useFuzzySearch<Data>({
return data;
}
return fuse.search(query, { limit }).map(({ item }) => item);
return fuse.search(query).map(({ item }) => item);
});
return { searchResult };
+18 -1
View File
@@ -2,7 +2,7 @@
import { NIcon, useThemeVars } from 'naive-ui';
import { RouterLink } from 'vue-router';
import { Home2, Menu2 } from '@vicons/tabler';
import { Heart, Home2, Menu2 } from '@vicons/tabler';
import { storeToRefs } from 'pinia';
import HeroGradient from '../assets/hero-gradient.svg?component';
@@ -12,6 +12,7 @@ import { useStyleStore } from '@/stores/style.store';
import { config } from '@/config';
import type { ToolCategory } from '@/tools/tools.types';
import { useToolStore } from '@/tools/tools.store';
import { useTracker } from '@/modules/tracker/tracker.services';
import CollapsibleToolMenu from '@/components/CollapsibleToolMenu.vue';
const themeVars = useThemeVars();
@@ -19,6 +20,7 @@ const styleStore = useStyleStore();
const version = config.app.version;
const commitSha = config.app.lastCommitSha.slice(0, 7);
const { tracker } = useTracker();
const { t } = useI18n();
const toolStore = useToolStore();
@@ -117,6 +119,21 @@ const tools = computed<ToolCategory[]>(() => [
<div>
<NavbarButtons v-if="!styleStore.isSmallScreen" />
</div>
<c-tooltip position="bottom" :tooltip="$t('home.support')">
<c-button
round
href="https://www.buymeacoffee.com/cthmsst"
rel="noopener"
target="_blank"
class="support-button"
:bordered="false"
@click="() => tracker.trackEvent({ eventName: 'Support button clicked' })"
>
{{ $t('home.buyMeACoffee') }}
<NIcon v-if="!styleStore.isSmallScreen" :component="Heart" ml-2 />
</c-button>
</c-tooltip>
</div>
<slot />
</template>
+2 -2
View File
@@ -92,13 +92,13 @@ const themeVars = useThemeVars();
overflow-x: auto;
::v-deep(& > *) {
flex: 0 1 1200px;
flex: 0 1 600px;
min-width:0;
}
}
.tool-layout {
max-width: 1200px;
max-width: 600px;
margin: 0 auto;
box-sizing: border-box;
@@ -30,7 +30,7 @@ const promptValidation = useValidation({
</script>
<template>
<div>
<div style="max-width: 600px;">
<c-card title="Prompt and options" mb-2>
<c-input-text
v-model:value="prompt"
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./ai-prompt-splitter.vue'),
icon: Prompt,
createdAt: new Date('2024-07-14'),
category: 'Text',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./angle-converter.vue'),
icon: Angle,
createdAt: new Date('2024-08-15'),
category: 'Physics',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./ansible-vault-crypt-decrypt.vue'),
icon: LockSquare,
createdAt: new Date('2024-02-25'),
category: 'Crypto',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./api-tester.vue'),
icon: World,
createdAt: new Date('2024-05-11'),
category: 'Development',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./area-converter.vue'),
icon: SquaresDiagonal,
createdAt: new Date('2024-08-15'),
category: 'Physics',
});
@@ -11,11 +11,11 @@ const output = ref('');
const errored = ref(false);
const processing = ref(false);
figlet.defaults({ fontPath: '//unpkg.com/figlet@1.8.0/fonts' });
figlet.defaults({ fontPath: '//unpkg.com/figlet@1.6.0/fonts/' });
const languagesOptions = languages.map(lang => ({ value: lang.id, label: lang.name }));
figlet.defaults({ fontPath: '//unpkg.com/figlet@1.8.0/fonts' });
figlet.defaults({ fontPath: '//unpkg.com/figlet@1.6.0/fonts/' });
watchEffect(async () => {
const inputValue = input.value;
@@ -53,7 +53,7 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line
</script>
<template>
<c-card>
<c-card style="max-width: 600px;">
<c-input-text
v-model:value="input"
label="Your text:"
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
icon: Artboard,
createdAt: new Date('2024-03-03'),
npmPackages: ['figlet'],
category: 'Text',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./aspect-ratio-calculator.vue'),
icon: AspectRatio,
createdAt: new Date('2024-08-14'),
category: 'Measurement',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./barcode-generator.vue'),
icon: Barcode,
createdAt: new Date('2024-04-20'),
category: 'Barcodes',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./barcode-reader.vue'),
icon: Barcode,
createdAt: new Date('2024-04-20'),
category: 'Barcodes',
});
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
component: () => import('./base64-file-converter.vue'),
icon: FileDigit,
npmPackages: ['js-base64'],
category: 'Converters',
});
@@ -11,5 +11,4 @@ export const tool = defineTool({
icon: FileDigit,
redirectFrom: ['/file-to-base64', '/base64-converter'],
npmPackages: ['js-base64'],
category: 'Converters',
});
-1
View File
@@ -19,5 +19,4 @@ export const tool = defineTool({
],
component: () => import('./basic-auth-generator.vue'),
icon: PasswordRound,
category: 'Network',
});
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
component: () => import('./bcrypt.vue'),
icon: LockSquare,
npmPackages: ['bcryptjs'],
category: 'Crypto',
});
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
component: () => import('./benchmark-builder.vue'),
icon: SpeedFilled,
createdAt: new Date('2023-04-05'),
category: 'Measurement',
});
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
component: () => import('./bip39-generator.vue'),
icon: AlignJustified,
npmPackages: ['@it-tools/bip39'],
category: 'Generators',
});
+1 -1
View File
@@ -14,7 +14,7 @@ const parsedBounce = computed(() => {
</script>
<template>
<div>
<div style="max-width: 600px;">
<c-card title="Input" mb-2>
<c-input-text
v-model:value="emailContent"
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./bounce-parser.vue'),
icon: Mailbox,
createdAt: new Date('2024-08-15'),
category: 'Forensic',
});
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
component: () => import('./camera-recorder.vue'),
icon: Camera,
createdAt: new Date('2023-05-15'),
category: 'Images',
});
-80
View File
@@ -1,80 +0,0 @@
<script setup lang="ts">
import cards from '@younestouati/playing-cards-standard-deck';
import { exhaustiveUniqueRandom } from 'unique-random';
import { computedRefreshable } from '@/composable/computedRefreshable';
import { useCopy } from '@/composable/copy';
import { useQueryParamOrStorage } from '@/composable/queryParams';
const cardKeys = [...Object.keys(cards).filter(k => k !== 'joker'), 'joker', 'joker'];
type CardNames = keyof typeof cards;
const numberOfCards = useQueryParamOrStorage({ name: 'cards', storageName: 'card-picker:n', defaultValue: 5 });
const numberOfPacks = useQueryParamOrStorage({ name: 'packs', storageName: 'card-picker:p', defaultValue: 1 });
const useJokers = useQueryParamOrStorage({ name: 'jokers', storageName: 'card-picker:j', defaultValue: true });
const [cardPicked, refreshCardPicked] = computedRefreshable(() => {
let cardNumbers: number[] = [];
for (let pack = 0; pack < numberOfPacks.value; pack++) {
cardNumbers = [...cardNumbers, ...Array.from({ length: useJokers.value ? 54 : 52 }, (_, num) => num)];
}
const random = exhaustiveUniqueRandom(0, cardNumbers.length - 1);
return Array.from({ length: numberOfCards.value }, () => cardKeys[cardNumbers[random()]]);
});
const maxCards = computed(() => (useJokers.value ? 54 : 52) * numberOfPacks.value);
const suitNames = {
c: 'clubs (♣)',
d: 'diamonds (♦)',
h: 'hearts (♥)',
s: 'spades (♠)',
};
const numberNames = {
1: 'Ace',
11: 'Jack',
12: 'Queen',
13: 'King',
};
function translateName(cardId: string) {
const [, number, suit] = /(\d+)([cdhs])/.exec(cardId) || [];
if (!number && !suit) {
return cardId;
}
return `${numberNames[number as never] || number} of ${suitNames[suit as never] || suit}`;
}
const cardPickedString = computed(() => cardPicked.value.map(translateName).join(', '));
const { copy } = useCopy({ source: cardPickedString, text: 'Cards Picked copied to the clipboard' });
</script>
<template>
<c-card>
<n-space justify="space-around" mb-1>
<img v-for="(card, index) in cardPicked" :key="index" style="width:90px" mr-1 :src="`data:image/svg+xml;base64,${cards[card as CardNames]}`">
</n-space>
<div mb-2>
<textarea-copyable :value="cardPickedString" readonly mb-1 />
</div>
<div flex justify-center gap-3>
<n-form-item label="Number of cards:" label-placement="left">
<n-input-number v-model:value="numberOfCards" min="1" :max="maxCards" placeholder="Number of cards to pick" />
</n-form-item>
<n-form-item label="Number of packs:" label-placement="left">
<n-input-number v-model:value="numberOfPacks" min="1" placeholder="Number of card packs to pick in" />
</n-form-item>
</div>
<div mb-4 flex justify-center>
<n-checkbox v-model:checked="useJokers">
Use Jokers
</n-checkbox>
</div>
<div flex justify-center gap-3>
<c-button @click="copy()">
Copy deck
</c-button>
<c-button @click="refreshCardPicked">
Refresh deck
</c-button>
</div>
</c-card>
</template>
-13
View File
@@ -1,13 +0,0 @@
import { PlayCard } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Card Picker',
path: '/card-picker',
description: 'Generate a deck of playing cards',
keywords: ['card', 'deck', 'picker'],
component: () => import('./card-picker.vue'),
icon: PlayCard,
createdAt: new Date('2025-02-09'),
category: 'Gaming',
});
+22 -51
View File
@@ -4,97 +4,78 @@ import {
capitalCase,
constantCase,
dotCase,
kebabCase,
headerCase,
noCase,
paramCase,
pascalCase,
pathCase,
sentenceCase,
snakeCase,
trainCase,
} from 'change-case';
import InputCopyable from '../../components/InputCopyable.vue';
import { useQueryParamOrStorage } from '@/composable/queryParams';
import { useValidation } from '@/composable/validation';
const cleaningRegex = useQueryParamOrStorage({ name: 'clean', storageName: 'case-conv:cl', defaultValue: '[^\\w\\d\\s]' });
const cleaningRegexValidation = useValidation({
source: cleaningRegex,
rules: [
{
message: 'Invalid cleaning regex: {0}',
validator: value => new RegExp(value),
getErrorMessage: (value) => {
const _ = new RegExp(value);
return '';
},
},
],
});
const baseConfig = {
stripRegexp: /[^A-Za-zÀ-ÖØ-öø-ÿ]+/gi,
};
const input = ref('lorem ipsum dolor sit amet');
const inputCleaned = computed(() => {
if (!cleaningRegexValidation.isValid) {
return input.value;
}
return input.value.replace(new RegExp(cleaningRegex.value, 'g'), '');
});
const formats = computed(() => [
{
label: 'Lowercase:',
value: inputCleaned.value.toLocaleLowerCase(),
value: input.value.toLocaleLowerCase(),
},
{
label: 'Uppercase:',
value: inputCleaned.value.toLocaleUpperCase(),
value: input.value.toLocaleUpperCase(),
},
{
label: 'Camelcase:',
value: camelCase(inputCleaned.value),
value: camelCase(input.value, baseConfig),
},
{
label: 'Capitalcase:',
value: capitalCase(inputCleaned.value),
value: capitalCase(input.value, baseConfig),
},
{
label: 'Constantcase:',
value: constantCase(inputCleaned.value),
value: constantCase(input.value, baseConfig),
},
{
label: 'Dotcase:',
value: dotCase(inputCleaned.value),
value: dotCase(input.value, baseConfig),
},
{
label: 'Kebab/paramcase:',
value: kebabCase(inputCleaned.value),
label: 'Headercase:',
value: headerCase(input.value, baseConfig),
},
{
label: 'Nocase:',
value: noCase(inputCleaned.value),
value: noCase(input.value, baseConfig),
},
{
label: 'Train/headercase:',
value: trainCase(inputCleaned.value),
label: 'Paramcase:',
value: paramCase(input.value, baseConfig),
},
{
label: 'Pascalcase:',
value: pascalCase(inputCleaned.value),
value: pascalCase(input.value, baseConfig),
},
{
label: 'Pathcase:',
value: pathCase(inputCleaned.value),
value: pathCase(input.value, baseConfig),
},
{
label: 'Sentencecase:',
value: sentenceCase(inputCleaned.value),
value: sentenceCase(input.value, baseConfig),
},
{
label: 'Snakecase:',
value: snakeCase(inputCleaned.value),
value: snakeCase(input.value, baseConfig),
},
{
label: 'Mockingcase:',
value: inputCleaned.value
value: input.value
.split('')
.map((char, index) => (index % 2 === 0 ? char.toUpperCase() : char.toLowerCase()))
.join(''),
@@ -103,7 +84,7 @@ const formats = computed(() => [
const inputLabelAlignmentConfig = {
labelPosition: 'left',
labelWidth: '125px',
labelWidth: '120px',
labelAlign: 'right',
};
</script>
@@ -116,16 +97,6 @@ const inputLabelAlignmentConfig = {
placeholder="Your string..."
raw-text
v-bind="inputLabelAlignmentConfig"
mb-1
/>
<c-input-text
v-model:value="cleaningRegex"
label="Cleaning regex:"
placeholder="Your cleaning regex..."
raw-text
v-bind="inputLabelAlignmentConfig"
mb-1
/>
<div my-16px divider />
-1
View File
@@ -24,5 +24,4 @@ export const tool = defineTool({
component: () => import('./case-converter.vue'),
icon: LetterCaseToggle,
npmPackages: ['change-case'],
category: 'Text',
});
@@ -1,5 +1,4 @@
import type {
AlgorithmHashType,
Certificate,
Fingerprint,
Key,
@@ -102,7 +101,7 @@ export function getPrivateKeyLabelValues(privateKey: PrivateKey) {
] as LabelValue[];
}
export function getCertificateLabelValues(cert: Certificate, forgeCertificate: forge.pki.Certificate | null) {
export function getCertificateLabelValues(cert: Certificate) {
return [
{
label: 'Type:',
@@ -162,7 +161,7 @@ export function getCertificateLabelValues(cert: Certificate, forgeCertificate: f
value: cert.purposes?.join(', '),
},
{
label: 'Extensions (parsed):',
label: 'Extensions:',
value: JSON.stringify(cert.getExtensions().map(ext => ({
oid: (<any>ext).oid,
name: (<any>ext).name || (<any>oids)[(<any>ext).oid],
@@ -172,29 +171,15 @@ export function getCertificateLabelValues(cert: Certificate, forgeCertificate: f
multiline: true,
},
{
label: 'Extensions (raw):',
value: JSON.stringify(forgeCertificate?.extensions.map(ext => ({
id: (<any>ext).id,
name: (<any>ext).id || (<any>oids)[(<any>ext).id],
...ext,
})), null, 2),
label: 'Fingerprint (sha256):',
value: onErrorReturnErrorMessage(() => cert.fingerprint('sha256')),
multiline: true,
},
{
label: 'Fingerprint (sha512):',
value: onErrorReturnErrorMessage(() => cert.fingerprint('sha512')),
multiline: true,
},
...['sha1', 'sha256', 'sha512'].flatMap(algorithm =>
[
{
label: `Fingerprint (${algorithm}):`,
value: onErrorReturnErrorMessage(() => cert.fingerprint(algorithm as AlgorithmHashType)),
multiline: true,
},
{
label: `Fingerprint HEX (${algorithm}):`,
value: onErrorReturnErrorMessage(() => cert.fingerprint(algorithm as AlgorithmHashType).toString('hex')),
multiline: true,
},
],
),
{
label: 'Certificate (pem):',
value: onErrorReturnErrorMessage(() => cert.toString('pem')),
@@ -269,7 +254,7 @@ export async function getPGPPrivateKeyLabelValuesAsync(pgpPrivateKey: openpgp.Ke
] as LabelValue[];
}
export function getCSRLabelValues(csr: forge.pki.CertificateSigningRequest) {
export function getCSRLabelValues(csr: forge.pki.Certificate) {
return [
{
label: 'Type:',
@@ -280,14 +265,18 @@ export function getCSRLabelValues(csr: forge.pki.CertificateSigningRequest) {
value: csr.subject?.attributes?.map(a => JSON.stringify(a, null, 2)).join('\n'),
multiline: true,
},
// {
// label: 'Request Info:',
// value: JSON.stringify(csr.certificationRequestInfo, null, 2),
// multiline: true,
// },
{
label: 'Issuer:',
value: csr.issuer?.toString(),
multiline: true,
},
{
label: 'Validity:',
value: JSON.stringify(csr.validity, null, 2),
},
{
label: 'Signature:',
value: csr.signature?.toString('hex'),
value: csr.signature,
},
{
label: 'Signature Oid:',
@@ -301,19 +290,23 @@ export function getCSRLabelValues(csr: forge.pki.CertificateSigningRequest) {
label: 'Signing info:',
value: JSON.stringify(csr.siginfo, null, 2),
},
{
label: 'Serial:',
value: csr.serialNumber?.toString(),
},
{
label: 'Extensions:',
value: JSON.stringify(csr.attributes, null, 2),
value: JSON.stringify(csr.extensions, null, 2),
multiline: true,
},
{
label: 'Public Key:',
value: onErrorReturnErrorMessage(() => forge.pki.publicKeyToPem(csr.publicKey as never)),
value: onErrorReturnErrorMessage(() => forge.pki.publicKeyToPem(csr.publicKey)),
multiline: true,
},
{
label: 'Public Key Fingerprint:',
value: onErrorReturnErrorMessage(() => forge.pki.getPublicKeyFingerprint(csr.publicKey as never)?.toHex()),
value: onErrorReturnErrorMessage(() => forge.pki.getPublicKeyFingerprint(csr.publicKey)?.toHex()),
multiline: true,
},
] as LabelValue[];
@@ -1,5 +1,5 @@
/* eslint-disable no-restricted-globals */
import { describe, expect, it } from 'vitest';
import { getKeyOrCertificateInfosAsync } from './certificate-key-parser.service';
const encryptedPrivateKey = /* NOSONAR */ `-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFHzBJBgkqhkiG9w0BBQ0wPDAbBgkqhkiG9w0BBQwwDgQILjmiBkdY16UCAggA
@@ -188,13 +188,7 @@ c6:b9:73:b8:68:49:33:ad:27:51:bb:6c:16:e7:9c:da:dd:e3:92:15
},
];
describe('certificate-key-parser', async () => {
const textEncoding = await import('text-encoding-utf-8');
global.TextEncoder = textEncoding.TextEncoder as never;
global.TextDecoder = textEncoding.TextDecoder as never;
const { getKeyOrCertificateInfosAsync } = await import('./certificate-key-parser.service');
describe('certificate-key-parser', () => {
for (const format of formatsData) {
const { input, pass, type, title } = format;
it(`Parse '${title ?? type}' format with right type (${type})`, async () => {
@@ -77,24 +77,13 @@ export async function getKeyOrCertificateInfosAsync(keyOrCertificateValue: strin
certificateX509DER = Base64.fromUint8Array(cert.toBuffer('x509'));
}
catch {}
let forgeCertificate: forge.pki.Certificate | null = null;
try {
forgeCertificate = forge.pki.certificateFromPem(inputKeyOrCertificateValue?.toString(), false, false);
}
catch {}
if (!forgeCertificate) {
try {
forgeCertificate = forge.pki.certificateFromAsn1(inputKeyOrCertificateValue as never, false);
}
catch {}
}
return { values: getCertificateLabelValues(cert, forgeCertificate), certificateX509DER };
return { values: getCertificateLabelValues(cert), certificateX509DER };
}
const csr = canParse(inputKeyOrCertificateValue, (value) => {
return forge.pki.certificationRequestFromPem(value.toString(), false, false);
}) as forge.pki.CertificateSigningRequest;
}) as forge.pki.Certificate;
if (csr) {
return { values: getCSRLabelValues(csr) };
}
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./certificate-key-parser.vue'),
icon: FileCertificate,
createdAt: new Date('2024-02-22'),
category: 'Crypto',
});
+21 -23
View File
@@ -86,23 +86,23 @@ const umask = computed(() => computeUmaskRepresentation({ permissions: permissio
<template>
<div>
<n-space justify="center">
<c-input-text
v-model:value="octalPermissionsInput"
placeholder="Put your octal permissions here..."
label="Copy your octal permissions"
:validation="octalPermissionsInputValidation"
mb-2
/>
<c-input-text
v-model:value="octalPermissionsInput"
placeholder="Put your octal permissions here..."
label="Copy your octal permissions"
:validation="octalPermissionsInputValidation"
mb-2
/>
<c-input-text
v-model:value="symbolicPermissionsInput"
placeholder="Put your symbolic permissions here..."
label="Copy your symbolic permissions"
:validation="symbolicPermissionsInputValidation"
mb-2
/>
</n-space>
<n-divider />
<c-input-text
v-model:value="symbolicPermissionsInput"
placeholder="Put your symbolic permissions here..."
label="Copy your symbolic permissions"
:validation="symbolicPermissionsInputValidation"
mb-2
/>
<n-divider />
@@ -148,20 +148,18 @@ const umask = computed(() => computeUmaskRepresentation({ permissions: permissio
</tbody>
</n-table>
<div class="octal-result" mb-1>
<div class="octal-result">
{{ octal }}
</div>
<div class="octal-result" mb-1>
<div class="octal-result">
{{ symbolic }}
</div>
<c-card title="Chmod command" mb-1>
<InputCopyable label-position="left" :value="`chmod ${octal} path`" readonly />
</c-card>
<InputCopyable :value="`chmod ${octal} path`" readonly />
<c-card title="Umask">
<InputCopyable label="Octal:" label-position="left" label-width="100px" :value="umask.octal" readonly />
<InputCopyable label="Symbolic:" label-position="left" label-width="100px" :value="umask.symbolic" readonly />
<InputCopyable :value="umask.octal" readonly />
<InputCopyable :value="umask.symbolic" readonly />
</c-card>
</div>
</template>
-1
View File
@@ -20,5 +20,4 @@ export const tool = defineTool({
],
component: () => import('./chmod-calculator.vue'),
icon: FileInvoice,
category: 'Network',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
keywords: ['chronometer', 'time', 'lap', 'duration', 'measure', 'pause', 'resume', 'stopwatch'],
component: () => import('./chronometer.vue'),
icon: TimerOutlined,
category: 'Datetime',
});
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
redirectFrom: ['/ip-in-range'],
icon: UnfoldMoreOutlined,
createdAt: new Date('2025-01-12'),
category: 'Network',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./code-highlighter.vue'),
icon: Code,
createdAt: new Date('2024-08-15'),
category: 'Development',
});
-46
View File
@@ -1,46 +0,0 @@
<script setup lang="ts">
import { computedRefreshable } from '@/composable/computedRefreshable';
import { randIntFromInterval } from '@/utils/random';
const [coinFlip, refreshCoinFlip] = computedRefreshable(() => ({
coin: randIntFromInterval(0, 10) % 2 === 0 ? 'Heads' : 'Tails',
dt: Date.now(),
}));
</script>
<template>
<div>
<Transition name="bounce" mode="out-in">
<div :key="coinFlip.dt" flex items-center justify-center>
<div flex items-center justify-center rounded-full outline style="width: 5em; height: 5em">
{{ coinFlip.coin }}
</div>
</div>
</Transition>
<div mt-4 flex justify-center>
<c-button @click="refreshCoinFlip">
Re flip
</c-button>
</div>
</div>
</template>
<style scoped>
.bounce-enter-active {
animation: bounce-in 0.5s;
}
.bounce-leave-active {
animation: bounce-in 0.5s reverse;
}
@keyframes bounce-in {
0% {
transform: scale(0);
}
50% {
transform: scale(1.25);
}
100% {
transform: scale(1);
}
}
</style>
-13
View File
@@ -1,13 +0,0 @@
import { Coin } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Coin Flipper',
path: '/coin-flipper',
description: 'Flip a coin',
keywords: ['coin', 'flipper'],
component: () => import('./coin-flipper.vue'),
icon: Coin,
createdAt: new Date('2025-02-09'),
category: 'Gaming',
});
@@ -1,63 +0,0 @@
<script setup lang="ts">
import { contrastRatio, passesWCAG } from 'wcag-contrast-utils';
import { useQueryParam } from '@/composable/queryParams';
const forecolor = useQueryParam({ name: 'fg', defaultValue: '#000' });
const backcolor = useQueryParam({ name: 'bg', defaultValue: '#fff' });
const result = computed(() => {
try {
const constrastValue = contrastRatio(forecolor.value, backcolor.value);
const wcagLevel = passesWCAG(constrastValue);
return {
constrastValue,
wcagLevel,
error: '',
};
}
catch (e: any) {
return {
constrastValue: -1,
wcagLevel: '',
error: e.toString(),
};
}
});
</script>
<template>
<div max-w-600px>
<n-form-item
label="Forecolor:"
label-placement="left"
mb-1
>
<n-color-picker
v-model:value="forecolor"
:modes="['hex']"
:show-alpha="false"
/>
</n-form-item>
<n-form-item
label="Backcolor:"
label-placement="left"
mb-1
>
<n-color-picker
v-model:value="backcolor"
:modes="['hex']"
:show-alpha="false"
/>
</n-form-item>
<n-divider />
<c-alert v-if="result.error">
{{ result.error }}
</c-alert>
<input-copyable v-if="!result.error" readonly label="Constrast:" label-width="100px" label-position="left" :value="result.constrastValue" mb-2 />
<input-copyable v-if="!result.error" readonly label="Level:" label-width="100px" label-position="left" :value="result.wcagLevel" />
</div>
</template>
-13
View File
@@ -1,13 +0,0 @@
import { ColorSwatch } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Color Contrast Checker',
path: '/color-contrast-checker',
description: 'Check the WCAG constrast level between two colors',
keywords: ['color', 'contrast', 'checker', 'wcag'],
component: () => import('./color-contrast-checker.vue'),
icon: ColorSwatch,
createdAt: new Date('2025-03-09'),
category: 'Web',
});
-1
View File
@@ -11,5 +11,4 @@ export const tool = defineTool({
icon: Palette,
redirectFrom: ['/color-picker-converter'],
npmPackages: ['colord'],
category: 'Web',
});
+1 -1
View File
@@ -84,7 +84,7 @@ watch(
</script>
<template>
<div>
<div style="max-width: 600px">
<c-card title="Pick a color" mb-2>
<n-color-picker :value="wheelColor" :show-alpha="false" />
<div
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./color-wheel.vue'),
icon: ColorPicker,
createdAt: new Date('2024-08-15'),
category: 'Web',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./common-regex-memo.vue'),
icon: FileText,
createdAt: new Date('2024-05-11'),
category: 'Cheatsheets',
});
-1
View File
@@ -21,5 +21,4 @@ export const tool = defineTool({
component: () => import('./crc-calculator.vue'),
icon: EyeOff,
createdAt: new Date('2024-05-11'),
category: 'Crypto',
});
@@ -33,7 +33,6 @@ describe('crontab-generator', () => {
it('should return false for all invalid formats', () => {
expect(isCronValid('aert')).toBe(false);
expect(isCronValid('40 *')).toBe(false);
expect(isCronValid('* * * *')).toBe(false);
});
});
@@ -1,5 +1,4 @@
import { parseExpression } from 'cron-parser';
import cronstrue from 'cronstrue';
import EventCronParser from 'event-cron-parser';
export type CronType = 'standard' | 'aws';
@@ -33,7 +32,6 @@ export function isCronValid(cronExpression: string, cronType: CronType | 'any' =
export function getCronType(cronExpression: string) {
try {
parseExpression(cronExpression);
cronstrue.toString(cronExpression, { throwExceptionOnParseError: true });
return 'standard';
}
catch (_) {
-1
View File
@@ -25,5 +25,4 @@ export const tool = defineTool({
component: () => import('./crontab-generator.vue'),
icon: Alarm,
npmPackages: ['cronstrue'],
category: 'Network',
});
@@ -1,7 +1,22 @@
import { pki } from 'node-forge';
import { generateRSAPairs, getSubjectAlternativeNames } from '@/utils/crypto';
import workerScript from 'node-forge/dist/prime.worker.min?url';
export async function generateCSR(config: {
export { generateCSR };
function generateRSAPairs({ bits = 2048 }) {
return new Promise<pki.rsa.KeyPair>((resolve, reject) =>
pki.rsa.generateKeyPair({ bits, workerScript }, (err, keyPair) => {
if (err) {
reject(err);
return;
}
resolve(keyPair);
}),
);
}
async function generateCSR(config: {
bits?: number
password?: string
commonName?: string
@@ -10,7 +25,6 @@ export async function generateCSR(config: {
state?: string
organizationName?: string
organizationalUnit?: string
subjectAlternativeNames?: string
contactEmail?: string
} = {}): Promise<{
publicKeyPem: string
@@ -45,18 +59,6 @@ export async function generateCSR(config: {
value: config.contactEmail,
}].filter(attr => attr.value !== null && attr.value?.trim() !== ''));
const extensions = [];
const sanExtension = getSubjectAlternativeNames(config.subjectAlternativeNames);
if (sanExtension) {
extensions.push(sanExtension);
}
if (extensions.length) {
csr.setAttributes([{
name: 'extensionRequest',
extensions,
}]);
}
// sign certification request
csr.sign(privateKey);
+3 -18
View File
@@ -23,7 +23,6 @@ const city = ref('Paris');
const state = ref('FR');
const country = ref('France');
const contactEmail = ref('');
const subjectAlternativeNames = ref('');
const emptyCSR = { csrPem: '', privateKeyPem: '', publicKeyPem: '' };
const [certs, refreshCerts] = computedRefreshableAsync(
@@ -40,7 +39,6 @@ const [certs, refreshCerts] = computedRefreshableAsync(
state: state.value,
organizationName: organizationName.value,
organizationalUnit: organizationalUnit.value,
subjectAlternativeNames: subjectAlternativeNames.value,
contactEmail: contactEmail.value,
});
},
@@ -136,19 +134,6 @@ const [certs, refreshCerts] = computedRefreshableAsync(
</n-form-item>
</div>
<div>
<n-form-item
label="Subject Alternative Names:"
label-placement="top"
>
<n-input
v-model:value="subjectAlternativeNames"
placeholder="DNS Names, emails, IP, URI..."
type="textarea"
/>
</n-form-item>
</div>
<div>
<n-form-item
label="Private Key passphrase:"
@@ -174,17 +159,17 @@ const [certs, refreshCerts] = computedRefreshableAsync(
<div v-if="commonNameValidation.isValid">
<div>
<h3>Certificate Signing Request</h3>
<TextareaCopyable :value="certs.csrPem" :download-file-name="`${organizationName}.csr`" />
<TextareaCopyable :value="certs.csrPem" />
</div>
<div>
<h3>Public key</h3>
<TextareaCopyable :value="certs.publicKeyPem" word-wrap :download-file-name="`${organizationName}.pem`" />
<TextareaCopyable :value="certs.publicKeyPem" :word-wrap="true" />
</div>
<div>
<h3>Private key</h3>
<TextareaCopyable :value="certs.privateKeyPem" :download-file-name="`${organizationName}.key`" />
<TextareaCopyable :value="certs.privateKeyPem" />
</div>
</div>
</div>
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./csr-generator.vue'),
icon: ArrowsShuffle,
createdAt: new Date('2024-02-25'),
category: 'Crypto',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./css-prettifier.vue'),
icon: BrandCss3,
createdAt: new Date('2024-03-15'),
category: 'Web',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./css-selectors-memo.vue'),
icon: BrandCss3,
createdAt: new Date('2024-08-15'),
category: 'Cheatsheets',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./css-xpath-converter.vue'),
icon: Braces,
createdAt: new Date('2024-08-15'),
category: 'Web',
});
-1
View File
@@ -10,5 +10,4 @@ export const tool = defineTool({
component: () => import('./csv-to-json.vue'),
icon: ArrowsShuffle,
createdAt: new Date('2024-04-12'),
category: 'JSON',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./curl-converter.vue'),
icon: ExternalLink,
createdAt: new Date('2024-04-20'),
category: 'Development',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./currency-converter.vue'),
icon: Currency,
createdAt: new Date('2024-08-15'),
category: 'Data',
});
@@ -13,5 +13,4 @@ export const tool = defineTool({
component: () => import('./data-storage-unit-converter.vue'),
icon: ArrowsLeftRight,
createdAt: new Date('2024-08-15'),
category: 'Converters',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./data-transfer-rate-converter.vue'),
icon: TransferIn,
createdAt: new Date('2024-08-15'),
category: 'Network',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./date-duration-calculator.vue'),
icon: Calendar,
createdAt: new Date('2024-08-15'),
category: 'Datetime',
});
@@ -1,8 +1,6 @@
import { describe, expect, test } from 'vitest';
import {
dateToExcelFormat,
dateToLDAPTimestamp,
dateToWin32FileTime,
excelFormatToDate,
fromJSDate,
fromTimestamp,
@@ -10,7 +8,6 @@ import {
isISO8601DateTimeString,
isISO9075DateString,
isJSDate,
isLDAPTimestamp,
isMongoObjectId,
isRFC3339DateString,
isRFC7231DateString,
@@ -18,10 +15,7 @@ import {
isTimestampMicroSeconds,
isUTCDateString,
isUnixTimestamp,
isWin32FileTime,
lDAPTimestampToDate,
toJSDate,
win32FileTimeToUnix,
} from './date-time-converter.models';
describe('date-time-converter models', () => {
@@ -113,29 +107,6 @@ describe('date-time-converter models', () => {
});
});
describe('isWin32FileTime', () => {
test('should return true for valid Win32 file time', () => {
expect(isWin32FileTime('131461446367662144')).toBe(true);
});
test('should return false for invalid Win32 file time', () => {
expect(isWin32FileTime('92233720368547758071')).toBe(false); // too big
expect(isWin32FileTime('foo')).toBe(false);
expect(isWin32FileTime('')).toBe(false);
});
});
describe('isLDAPTimestamp', () => {
test('should return true for valid LDAP timestamps', () => {
expect(isLDAPTimestamp('20250309122345Z')).toBe(true);
});
test('should return false for invalid LDAP timestamps', () => {
expect(isLDAPTimestamp('foo')).toBe(false);
expect(isLDAPTimestamp('')).toBe(false);
});
});
describe('isTimestamp', () => {
test('should return true for valid Unix timestamps in milliseconds', () => {
expect(isTimestamp('1649792026123')).toBe(true);
@@ -283,52 +254,3 @@ describe('date-time-converter models', () => {
});
});
});
describe('win32FileTimeToUnix', () => {
test('should correctly convert Win32 FILETIME to UNIX timestamp', () => {
const fileTime = '132271200000000000';
const expectedDate = new Date(Date.UTC(2020, 1, 25, 16, 0, 0));
expect(win32FileTimeToUnix(fileTime)).toEqual(expectedDate);
});
test('should handle zero FILETIME', () => {
expect(win32FileTimeToUnix('0')).toEqual(new Date(1601, 0, 1, 0, 0, 0));
});
});
describe('dateToWin32FileTime', () => {
test('should correctly convert Date to Win32 FILETIME', () => {
const date = new Date(Date.UTC(2020, 1, 25, 16, 0, 0));
const expectedFileTime = '132271200000000000';
expect(dateToWin32FileTime(date)).toBe(expectedFileTime);
});
test('should handle epoch (1970-01-01)', () => {
const date = new Date(0);
const expectedFileTime = '116444736000000000';
expect(dateToWin32FileTime(date)).toBe(expectedFileTime);
});
});
describe('lDAPTimestampToDate', () => {
test('should correctly parse LDAP timestamp', () => {
const ldapTimestamp = '20240101120013Z'; // January 1, 2024, 12:00:13 UTC
expect(lDAPTimestampToDate(ldapTimestamp)).toEqual(new Date(Date.UTC(2024, 0, 1, 12, 0, 13)));
});
test('should return current date on invalid input', () => {
expect(lDAPTimestampToDate('invalid')).toBeInstanceOf(Date);
});
});
describe('dateToLDAPTimestamp', () => {
test('should correctly convert Date to LDAP timestamp', () => {
const date = new Date(Date.UTC(2024, 0, 1, 12, 0, 13));
expect(dateToLDAPTimestamp(date)).toBe('20240101120013Z');
});
test('should correctly pad single-digit values', () => {
const date = new Date(Date.UTC(2024, 4, 9, 4, 5, 6)); // May 9, 2024, 04:05:06 UTC
expect(dateToLDAPTimestamp(date)).toBe('20240509040506Z');
});
});
@@ -1,6 +1,5 @@
import _ from 'lodash';
import { addMilliseconds } from 'date-fns';
import Long from 'long';
export {
isISO8601DateTimeString,
@@ -19,12 +18,6 @@ export {
isJSDate,
fromJSDate,
toJSDate,
isLDAPTimestamp,
isWin32FileTime,
win32FileTimeToUnix,
dateToWin32FileTime,
lDAPTimestampToDate,
dateToLDAPTimestamp,
};
const ISO8601_REGEX
@@ -41,8 +34,6 @@ const EXCEL_FORMAT_REGEX = /^-?\d+(\.\d+)?$/;
const JS_DATE_REGEX = /^new\s+Date\(\s*(?:(\d+)\s*,\s*)(?:(\d|11)\s*,\s*(?:(\d+)\s*,\s*(?:(\d+)\s*,\s*(?:(\d+)\s*,\s*(?:(\d+)\s*,\s*)?)?)?)?)?(\d+)\)\s*;?$/;
const LDAP_TIMESTAMP_REGEX = /^([0-9]{4})(0[0-9]|1[012])([012][0-9]|3[01])([01][0-9]|2[0123])([0-5][0-9])([0-5][0-9])Z$/;
function createRegexMatcher(regex: RegExp) {
return (date?: string) => !_.isNil(date) && regex.test(date);
}
@@ -56,8 +47,6 @@ const isTimestamp = createRegexMatcher(/^([0-9]{1,13}|[0-9]{16})$/);
const isTimestampMilliSeconds = createRegexMatcher(/^[0-9]{1,13}$/);
const isTimestampMicroSeconds = createRegexMatcher(/^[0-9]{16}$/);
const isMongoObjectId = createRegexMatcher(/^[0-9a-fA-F]{24}$/);
const isLDAPTimestamp = createRegexMatcher(LDAP_TIMESTAMP_REGEX);
const isWin32FileTime = createRegexMatcher(/^[0-9]{18}$/);
const isJSDate = createRegexMatcher(JS_DATE_REGEX);
function fromJSDate(date: string): Date {
@@ -100,43 +89,3 @@ function fromTimestamp(timestamp: string, type: 'auto' | 'milliseconds' | 'micro
}
return addMilliseconds(new Date(0), milliSeconds);
}
function win32FileTimeToUnix(ft: string) {
const ulong = Long.fromString(ft, true, 10).div(10000);
let epochBase = ulong.sub(11644473600000);
if (epochBase.greaterThan(ulong)) {
epochBase = epochBase.toSigned();
}
return new Date(epochBase.toNumber());
}
function dateToWin32FileTime(date: Date) {
const timestamp = +date;
const long = Long
.fromNumber(timestamp, timestamp >= 0)
.add(11644473600000)
.mul(10000);
return long.toString(10);
}
function lDAPTimestampToDate(ldapTimestamp: string) {
const [, yy, mm, dd, hh, nn, ss] = LDAP_TIMESTAMP_REGEX.exec(ldapTimestamp) || [];
if (!yy || !mm) {
return new Date();
}
return new Date(
Number.parseInt(yy, 10),
Number.parseInt(mm, 10) - 1,
Number.parseInt(dd, 10),
Number.parseInt(hh, 10),
Number.parseInt(nn, 10),
Number.parseInt(ss, 10));
}
function dateToLDAPTimestamp(date: Date) {
const pad2 = (n: number) => n.toString().padStart(2, '0');
return `${date.getUTCFullYear()}${pad2(date.getUTCMonth() + 1)}${pad2(date.getUTCDate())}${pad2(date.getUTCHours())}${pad2(date.getUTCMinutes())}${pad2(date.getUTCSeconds())}Z`;
}
@@ -15,8 +15,6 @@ import { UTCDate } from '@date-fns/utc';
import type { DateFormat, ToDateMapper } from './date-time-converter.types';
import {
dateToExcelFormat,
dateToLDAPTimestamp,
dateToWin32FileTime,
excelFormatToDate,
fromJSDate,
fromTimestamp,
@@ -24,17 +22,13 @@ import {
isISO8601DateTimeString,
isISO9075DateString,
isJSDate,
isLDAPTimestamp,
isMongoObjectId,
isRFC3339DateString,
isRFC7231DateString,
isTimestamp,
isUTCDateString,
isUnixTimestamp,
isWin32FileTime,
lDAPTimestampToDate,
toJSDate,
win32FileTimeToUnix,
} from './date-time-converter.models';
import { withDefaultOnError } from '@/utils/defaults';
import { useValidation } from '@/composable/validation';
@@ -116,18 +110,6 @@ const formats: DateFormat[] = [
toDate: date => fromJSDate(date),
formatMatcher: isJSDate,
},
{
name: 'LDAP YMD Timestamp',
fromDate: date => dateToLDAPTimestamp(date),
toDate: date => lDAPTimestampToDate(date),
formatMatcher: isLDAPTimestamp,
},
{
name: 'Win32 FileTime/LDAP 18 digits Timestamp',
fromDate: date => dateToWin32FileTime(date),
toDate: date => win32FileTimeToUnix(date),
formatMatcher: isWin32FileTime,
},
];
const formatIndex = ref(6);
+1 -2
View File
@@ -6,9 +6,8 @@ export const tool = defineTool({
name: translate('tools.date-converter.title'),
path: '/date-converter',
description: translate('tools.date-converter.description'),
keywords: ['date', 'time', 'converter', 'iso', 'utc', 'unix', 'epoch', 'timezone', 'year', 'month', 'day', 'minute', 'seconde', 'filetime', 'ldap', 'win32'],
keywords: ['date', 'time', 'converter', 'iso', 'utc', 'timezone', 'year', 'month', 'day', 'minute', 'seconde'],
component: () => import('./date-time-converter.vue'),
icon: Calendar,
npmPackages: ['date-fns'],
category: 'Datetime',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./days-calculator.vue'),
icon: Calendar,
createdAt: new Date('2024-08-15'),
category: 'Datetime',
});
-1
View File
@@ -21,5 +21,4 @@ export const tool = defineTool({
],
component: () => import('./device-information.vue'),
icon: DeviceDesktop,
category: 'Web',
});
-66
View File
@@ -1,66 +0,0 @@
<script setup lang="ts">
import { DiceRoll } from '@dice-roller/rpg-dice-roller';
import { computedRefreshable } from '@/composable/computedRefreshable';
import { useCopy } from '@/composable/copy';
import { useQueryParamOrStorage } from '@/composable/queryParams';
const dicesNotations = useQueryParamOrStorage({ name: 'dices', storageName: 'dice-roll:dices', defaultValue: '3d6' });
const [diceRollResult, refreshDiceRollResult] = computedRefreshable(() => {
try {
return {
error: '',
roll: new DiceRoll(dicesNotations.value),
};
}
catch (e: any) {
return {
error: e.toString(),
roll: null,
};
}
});
const diceRollString = computed(() => diceRollResult.value.roll?.output || '');
const { copy } = useCopy({ source: diceRollString, text: 'Dice Roll copied to the clipboard' });
</script>
<template>
<c-card>
<c-input-text
v-model:value="dicesNotations"
label="Dice Roll Notations:" label-position="left"
placeholder="Dice configuration"
mb-2
/>
<n-p mb-2>
For more information about Dice Notation, see <n-a href="https://dice-roller.github.io/documentation/guide/notation/" target="_blank">
here
</n-a>
</n-p>
<c-alert v-if="diceRollResult.error" mb-2>
{{ diceRollResult.error }}
</c-alert>
<c-card v-if="!diceRollResult.error" title="Roll Result" mb-2>
<input-copyable :value="diceRollResult.roll?.output" readonly mb-1 />
<input-copyable :value="diceRollResult.roll?.total" label="Total" readonly placeholder="Dice Roll total:" label-position="left" mb-1 />
</c-card>
<div mb-2 flex justify-center gap-3>
<c-button @click="copy()">
Copy roll result
</c-button>
<c-button @click="refreshDiceRollResult">
Refresh roll
</c-button>
</div>
<c-card v-if="!diceRollResult.error" title="Dice Notation Stats" mb-2>
<input-copyable :value="diceRollResult.roll?.minTotal" readonly label="Min Total:" label-position="left" mb-1 />
<input-copyable :value="diceRollResult.roll?.maxTotal" readonly label="Max Total:" label-position="left" mb-1 />
<input-copyable :value="diceRollResult.roll?.averageTotal" readonly label="Avg Total:" label-position="left" mb-1 />
</c-card>
</c-card>
</template>
-13
View File
@@ -1,13 +0,0 @@
import { Dice } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Dice Roller',
path: '/dice-roller',
description: 'RPG Dice Roller using Dice Notation',
keywords: ['dice', 'rng', 'rpg', 'roller'],
component: () => import('./dice-roller.vue'),
icon: Dice,
createdAt: new Date('2025-02-09'),
category: 'Gaming',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./dns-queries.vue'),
icon: World,
createdAt: new Date('2024-08-15'),
category: 'Network',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./docker-compose-converter.vue'),
icon: BrandDocker,
createdAt: new Date('2024-01-04'),
category: 'Docker',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./docker-compose-to-docker-run-converter.vue'),
icon: BrandDocker,
createdAt: new Date('2024-01-03'),
category: 'Docker',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./docker-compose-to-kubernetes.vue'),
icon: BrandDocker,
createdAt: new Date('2024-02-18'),
category: 'Docker',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./docker-compose-validator.vue'),
icon: BrandDocker,
createdAt: new Date('2024-01-25'),
category: 'Docker',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
keywords: ['docker', 'run', 'compose', 'yaml', 'yml', 'convert', 'deamon'],
component: () => import('./docker-run-to-docker-compose-converter.vue'),
icon: BrandDocker,
category: 'Docker',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./docker-run-to-kubernetes.vue'),
icon: BrandDocker,
createdAt: new Date('2024-02-18'),
category: 'Docker',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./duration-calculator.vue'),
icon: CalendarTime,
createdAt: new Date('2024-08-15'),
category: 'Datetime',
});
@@ -39,7 +39,7 @@ const [certs, refreshCerts] = computedRefreshableAsync(
</script>
<template>
<div>
<div max-w-600px>
<n-space mb-1>
<c-select
v-model:value="format"
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./ecdsa-key-pair-generator.vue'),
icon: Certificate,
createdAt: new Date('2024-04-20'),
category: 'Crypto',
});
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./ed25519-key-pair-generator.vue'),
icon: Certificate,
createdAt: new Date('2024-02-14'),
category: 'Crypto',
});
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./email-normalizer.vue'),
icon: Mail,
createdAt: new Date('2024-08-15'),
category: 'Converters',
});
+1 -1
View File
@@ -46,7 +46,7 @@ function onUpload(file: File) {
</script>
<template>
<div>
<div style="max-width: 600px;">
<c-card title="Input" mb-2>
<n-radio-group v-model:value="inputType" name="radiogroup" mb-2 flex justify-center>
<n-space>
-1
View File
@@ -9,5 +9,4 @@ export const tool = defineTool({
component: () => import('./email-parser.vue'),
icon: Mail,
createdAt: new Date('2024-08-15'),
category: 'Forensic',
});
+2 -6
View File
@@ -24,7 +24,6 @@ const emojisGroups: { emojiInfos: EmojiInfo[]; group: string }[] = _
.map((emojiInfos, group) => ({ group, emojiInfos }))
.value();
const limit = ref(100);
const searchQuery = useDebouncedRef('', 500);
const { searchResult } = useFuzzySearch({
@@ -36,24 +35,21 @@ const { searchResult } = useFuzzySearch({
useExtendedSearch: true,
isCaseSensitive: false,
},
limit: limit.value,
});
</script>
<template>
<div mx-auto max-w-2400px important:flex-1>
<div mx-auto max-w-600px flex justify-center gap-3>
<div flex items-center gap-3>
<c-input-text
v-model:value="searchQuery"
placeholder="Search emojis (e.g. 'smile')..."
mx-auto max-w-600px
>
<template #prefix>
<icon-mdi-search mr-6px color-black op-70 dark:color-white />
</template>
</c-input-text>
<n-form-item label="Max results:" label-placement="left">
<n-input-number v-model:value="limit" :min="1" />
</n-form-item>
</div>
<div v-if="searchQuery.trim().length > 0">
Loaded 100 of 393 files, more files were not shown because too many files have changed in this diff. Show more