diff --git a/.dockerignore b/.dockerignore
deleted file mode 100644
index 563ecab3..00000000
--- a/.dockerignore
+++ /dev/null
@@ -1,5 +0,0 @@
-node_modules
-playwright-report
-coverage
-dist
-test-results
diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json
deleted file mode 100644
index 4084d922..00000000
--- a/.eslintrc-auto-import.json
+++ /dev/null
@@ -1,291 +0,0 @@
-{
- "globals": {
- "Component": true,
- "ComponentPublicInstance": true,
- "ComputedRef": true,
- "EffectScope": true,
- "InjectionKey": true,
- "PropType": true,
- "Ref": true,
- "VNode": true,
- "asyncComputed": true,
- "autoResetRef": true,
- "computed": true,
- "computedAsync": true,
- "computedEager": true,
- "computedInject": true,
- "computedWithControl": true,
- "controlledComputed": true,
- "controlledRef": true,
- "createApp": true,
- "createEventHook": true,
- "createGlobalState": true,
- "createInjectionState": true,
- "createReactiveFn": true,
- "createReusableTemplate": true,
- "createSharedComposable": true,
- "createTemplatePromise": true,
- "createUnrefFn": true,
- "customRef": true,
- "debouncedRef": true,
- "debouncedWatch": true,
- "defineAsyncComponent": true,
- "defineComponent": true,
- "eagerComputed": true,
- "effectScope": true,
- "extendRef": true,
- "getCurrentInstance": true,
- "getCurrentScope": true,
- "h": true,
- "ignorableWatch": true,
- "inject": true,
- "isDefined": true,
- "isProxy": true,
- "isReactive": true,
- "isReadonly": true,
- "isRef": true,
- "makeDestructurable": true,
- "markRaw": true,
- "nextTick": true,
- "onActivated": true,
- "onBeforeMount": true,
- "onBeforeRouteLeave": true,
- "onBeforeRouteUpdate": true,
- "onBeforeUnmount": true,
- "onBeforeUpdate": true,
- "onClickOutside": true,
- "onDeactivated": true,
- "onErrorCaptured": true,
- "onKeyStroke": true,
- "onLongPress": true,
- "onMounted": true,
- "onRenderTracked": true,
- "onRenderTriggered": true,
- "onScopeDispose": true,
- "onServerPrefetch": true,
- "onStartTyping": true,
- "onUnmounted": true,
- "onUpdated": true,
- "pausableWatch": true,
- "provide": true,
- "reactify": true,
- "reactifyObject": true,
- "reactive": true,
- "reactiveComputed": true,
- "reactiveOmit": true,
- "reactivePick": true,
- "readonly": true,
- "ref": true,
- "refAutoReset": true,
- "refDebounced": true,
- "refDefault": true,
- "refThrottled": true,
- "refWithControl": true,
- "resolveComponent": true,
- "resolveRef": true,
- "resolveUnref": true,
- "shallowReactive": true,
- "shallowReadonly": true,
- "shallowRef": true,
- "syncRef": true,
- "syncRefs": true,
- "templateRef": true,
- "throttledRef": true,
- "throttledWatch": true,
- "toRaw": true,
- "toReactive": true,
- "toRef": true,
- "toRefs": true,
- "triggerRef": true,
- "tryOnBeforeMount": true,
- "tryOnBeforeUnmount": true,
- "tryOnMounted": true,
- "tryOnScopeDispose": true,
- "tryOnUnmounted": true,
- "unref": true,
- "unrefElement": true,
- "until": true,
- "useActiveElement": true,
- "useAnimate": true,
- "useArrayDifference": true,
- "useArrayEvery": true,
- "useArrayFilter": true,
- "useArrayFind": true,
- "useArrayFindIndex": true,
- "useArrayFindLast": true,
- "useArrayIncludes": true,
- "useArrayJoin": true,
- "useArrayMap": true,
- "useArrayReduce": true,
- "useArraySome": true,
- "useArrayUnique": true,
- "useAsyncQueue": true,
- "useAsyncState": true,
- "useAttrs": true,
- "useBase64": true,
- "useBattery": true,
- "useBluetooth": true,
- "useBreakpoints": true,
- "useBroadcastChannel": true,
- "useBrowserLocation": true,
- "useCached": true,
- "useClipboard": true,
- "useCloned": true,
- "useColorMode": true,
- "useConfirmDialog": true,
- "useCounter": true,
- "useCssModule": true,
- "useCssVar": true,
- "useCssVars": true,
- "useCurrentElement": true,
- "useCycleList": true,
- "useDark": true,
- "useDateFormat": true,
- "useDebounce": true,
- "useDebounceFn": true,
- "useDebouncedRefHistory": true,
- "useDeviceMotion": true,
- "useDeviceOrientation": true,
- "useDevicePixelRatio": true,
- "useDevicesList": true,
- "useDialog": true,
- "useDisplayMedia": true,
- "useDocumentVisibility": true,
- "useDraggable": true,
- "useDropZone": true,
- "useElementBounding": true,
- "useElementByPoint": true,
- "useElementHover": true,
- "useElementSize": true,
- "useElementVisibility": true,
- "useEventBus": true,
- "useEventListener": true,
- "useEventSource": true,
- "useEyeDropper": true,
- "useFavicon": true,
- "useFetch": true,
- "useFileDialog": true,
- "useFileSystemAccess": true,
- "useFocus": true,
- "useFocusWithin": true,
- "useFps": true,
- "useFullscreen": true,
- "useGamepad": true,
- "useGeolocation": true,
- "useI18n": true,
- "useIdle": true,
- "useImage": true,
- "useInfiniteScroll": true,
- "useIntersectionObserver": true,
- "useInterval": true,
- "useIntervalFn": true,
- "useKeyModifier": true,
- "useLastChanged": true,
- "useLink": true,
- "useLoadingBar": true,
- "useLocalStorage": true,
- "useMagicKeys": true,
- "useManualRefHistory": true,
- "useMediaControls": true,
- "useMediaQuery": true,
- "useMemoize": true,
- "useMemory": true,
- "useMessage": true,
- "useMounted": true,
- "useMouse": true,
- "useMouseInElement": true,
- "useMousePressed": true,
- "useMutationObserver": true,
- "useNavigatorLanguage": true,
- "useNetwork": true,
- "useNotification": true,
- "useNow": true,
- "useObjectUrl": true,
- "useOffsetPagination": true,
- "useOnline": true,
- "usePageLeave": true,
- "useParallax": true,
- "useParentElement": true,
- "usePerformanceObserver": true,
- "usePermission": true,
- "usePointer": true,
- "usePointerLock": true,
- "usePointerSwipe": true,
- "usePreferredColorScheme": true,
- "usePreferredContrast": true,
- "usePreferredDark": true,
- "usePreferredLanguages": true,
- "usePreferredReducedMotion": true,
- "usePrevious": true,
- "useRafFn": true,
- "useRefHistory": true,
- "useResizeObserver": true,
- "useRoute": true,
- "useRouter": true,
- "useScreenOrientation": true,
- "useScreenSafeArea": true,
- "useScriptTag": true,
- "useScroll": true,
- "useScrollLock": true,
- "useSessionStorage": true,
- "useShare": true,
- "useSlots": true,
- "useSorted": true,
- "useSpeechRecognition": true,
- "useSpeechSynthesis": true,
- "useStepper": true,
- "useStorage": true,
- "useStorageAsync": true,
- "useStyleTag": true,
- "useSupported": true,
- "useSwipe": true,
- "useTemplateRefsList": true,
- "useTextDirection": true,
- "useTextSelection": true,
- "useTextareaAutosize": true,
- "useThrottle": true,
- "useThrottleFn": true,
- "useThrottledRefHistory": true,
- "useTimeAgo": true,
- "useTimeout": true,
- "useTimeoutFn": true,
- "useTimeoutPoll": true,
- "useTimestamp": true,
- "useTitle": true,
- "useToNumber": true,
- "useToString": true,
- "useToggle": true,
- "useTransition": true,
- "useUrlSearchParams": true,
- "useUserMedia": true,
- "useVModel": true,
- "useVModels": true,
- "useVibrate": true,
- "useVirtualList": true,
- "useWakeLock": true,
- "useWebNotification": true,
- "useWebSocket": true,
- "useWebWorker": true,
- "useWebWorkerFn": true,
- "useWindowFocus": true,
- "useWindowScroll": true,
- "useWindowSize": true,
- "watch": true,
- "watchArray": true,
- "watchAtMost": true,
- "watchDebounced": true,
- "watchDeep": true,
- "watchEffect": true,
- "watchIgnorable": true,
- "watchImmediate": true,
- "watchOnce": true,
- "watchPausable": true,
- "watchPostEffect": true,
- "watchSyncEffect": true,
- "watchThrottled": true,
- "watchTriggerable": true,
- "watchWithFilter": true,
- "whenever": true,
- "toValue": true
- }
-}
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 37a67b34..68db0a91 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -1,21 +1,13 @@
-/**
- * @type {import('eslint').Linter.Config}
- */
+/* eslint-env node */
+require('@rushstack/eslint-patch/modern-module-resolution');
+
module.exports = {
root: true,
- extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'],
-
+ extends: ['plugin:vue/vue3-essential', 'eslint:recommended', 'plugin:vue/vue3-recommended', '@vue/eslint-config-typescript/recommended'],
+ env: {
+ 'vue/setup-compiler-macros': true,
+ },
rules: {
- 'curly': ['error', 'all'],
- '@typescript-eslint/semi': ['error', 'always'],
- '@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
- 'vue/no-empty-component-block': ['error'],
- 'no-restricted-imports': ['error', {
- paths: [{
- name: '@vueuse/core',
- importNames: ['useClipboard'],
- message: 'Please use local useCopy from src/composable/copy.ts instead of useClipboard.',
- }],
- }],
+ 'vue/multi-word-component-names': ['off'],
},
};
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
deleted file mode 100644
index d338fa3f..00000000
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-name: 🐞 Bug Report
-description: File a bug report.
-labels: ['bug', 'triage']
-assignees:
- - CorentinTh
-body:
- - type: markdown
- attributes:
- value: |
- Thanks for taking the time to fill out this bug report!
-
- - type: textarea
- id: bug-description
- attributes:
- label: Describe the bug
- description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
- placeholder: Bug description
- validations:
- required: true
-
- - type: textarea
- id: what-happened
- attributes:
- label: What happened?
- description: Also tell us, what did you expect to happen? If you have a screenshot, you can paste it here.
- placeholder: Tell us what you see!
- value: 'A bug happened!'
- validations:
- required: true
-
- - type: textarea
- id: version
- attributes:
- label: System information
- description: What is you environment? You can use the `npx envinfo --system --browsers` command to get this information.
- validations:
- required: true
-
- - type: dropdown
- id: app-type
- attributes:
- label: Where did you encounter the bug?
- options:
- - Public app (it-tools.tech)
- - A self hosted
- - Other (installations, docker, etc.)
- validations:
- required: true
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 00000000..080ff121
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,33 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: "[BUG] "
+labels: bug
+assignees: CorentinTh
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Configuration (please complete the following information):**
+ - Device: [e.g. iPhone6, ]
+ - OS: [e.g. iOS]
+ - Browser [e.g. chrome, safari]
+ - Version [e.g. 22]
+
+**Additional context**
+Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
deleted file mode 100644
index 3ba13e0c..00000000
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ /dev/null
@@ -1 +0,0 @@
-blank_issues_enabled: false
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
deleted file mode 100644
index edae822e..00000000
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ /dev/null
@@ -1,56 +0,0 @@
-name: 🚀 New feature proposal
-description: Propose a new feature/enhancement or tool idea for IT-Tools
-labels: ['enhancement', 'triage']
-
-body:
- - type: markdown
- attributes:
- value: |
- Thanks for your interest in the project and taking the time to fill out this feature report!
-
- - type: dropdown
- id: request-type
- attributes:
- label: What type of request is this?
- options:
- - New tool idea
- - New feature for an existing tool
- - Deployment or CI/CD improvement
- - Self-hosting improvement
- - Other
- validations:
- required: true
-
- - type: textarea
- id: feature-description
- attributes:
- label: Clear and concise description of the feature you are proposing
- description: A clear and concise description of what the feature is.
- placeholder: 'Example: a token generator tool'
- validations:
- required: true
-
- - type: textarea
- id: alternative
- attributes:
- label: Is their example of this tool in the wild?
- description: Provide link to already existing tool (like websites, apps, cli, ...) or npm packages that could be used or provide inspiration for the feature.
-
- - type: textarea
- id: additional-context
- attributes:
- label: Additional context
- description: Any other context or screenshots about the feature request here.
-
- - type: checkboxes
- id: checkboxes
- attributes:
- label: Validations
- description: Before submitting the issue, please make sure you do the following
- options:
- - label: Check the feature is not already implemented in the project.
- required: true
- - label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- required: true
- - label: Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
- required: true
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 00000000..764bc9e2
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,20 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: "[FEAT]"
+labels: enhancement
+assignees: CorentinTh
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
deleted file mode 100644
index 26eb22f8..00000000
--- a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-### Description
-
-
-
-### Additional context
-
-
-
----
-
-### What is the purpose of this pull request?
-
-- [ ] Bug fix
-- [ ] New Feature
-- [ ] Documentation update
-- [ ] Other
-
-### Before submitting the PR, please make sure you do the following
-
-- [ ] Submit the PR against the `dev` branch.
-- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
-- [ ] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
-- [ ] Ideally, include relevant tests that fail without this PR but pass with it.
\ No newline at end of file
diff --git a/.github/logo-dark.png b/.github/logo-dark.png
deleted file mode 100644
index 9bee8a9c..00000000
Binary files a/.github/logo-dark.png and /dev/null differ
diff --git a/.github/logo-white.png b/.github/logo-white.png
deleted file mode 100644
index 560a135b..00000000
Binary files a/.github/logo-white.png and /dev/null differ
diff --git a/.github/logo.png b/.github/logo.png
new file mode 100644
index 00000000..18bac950
Binary files /dev/null and b/.github/logo.png differ
diff --git a/.github/sponsor-banner.svg b/.github/sponsor-banner.svg
deleted file mode 100644
index 3ef81070..00000000
--- a/.github/sponsor-banner.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4dd9ffb7..c5ef4c53 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,34 +1,38 @@
name: ci
-on:
- pull_request:
- push:
- branches:
- - main
+on: push
jobs:
ci:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- - run: corepack enable
- - uses: actions/setup-node@v3
+ - name: Checkout
+ uses: actions/checkout@master
with:
- node-version: 20
- cache: 'pnpm'
+ fetch-depth: 0
+
+ - name: Setup node env
+ uses: actions/setup-node@v3.0.0
+ with:
+ node-version: 16
+
+ - name: Cache node_modules
+ uses: actions/cache@v2
+ with:
+ path: ~/.npm
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
+ restore-keys: |
+ ${{ runner.os }}-node-
- name: Install dependencies
- run: pnpm i
+ run: npm ci
- name: Run linters
- run: pnpm lint
+ run: npm run lint
- name: Run unit test
- run: pnpm test
-
- - name: Type check
- run: pnpm typecheck
+ run: npm run test
- name: Build the app
- run: pnpm build
+ run: npm run build
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 00000000..c0ca847e
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,69 @@
+# For most projects, this workflow file will not need changing; you simply need
+# to commit it to your repository.
+#
+# You may wish to alter this file to override the set of languages analyzed,
+# or to provide custom queries or build logic.
+#
+# ******** NOTE ********
+# We have attempted to detect the languages in your repository. Please check
+# the `language` matrix defined below to confirm you have the correct set of
+# supported CodeQL languages.
+#
+name: "CodeQL"
+
+on:
+ push:
+ branches: [ dev ]
+ pull_request:
+ # The branches below must be a subset of the branches above
+ branches: [ dev ]
+
+jobs:
+ analyze:
+ name: Analyze
+ runs-on: ubuntu-latest
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+
+ strategy:
+ fail-fast: false
+ matrix:
+ language: [ 'javascript' ]
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
+ # Learn more:
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+ with:
+ languages: ${{ matrix.language }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
+
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v1
+
+ # ℹ️ Command-line programs to run using the OS shell.
+ # 📚 https://git.io/JvXDl
+
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
+ # and modify them (or add more) to build your code if your project
+ # uses a compiled language
+
+ #- run: |
+ # make bootstrap
+ # make release
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1
diff --git a/.github/workflows/docker-nightly-release.yml b/.github/workflows/docker-nightly-release.yml
deleted file mode 100644
index 41dbb155..00000000
--- a/.github/workflows/docker-nightly-release.yml
+++ /dev/null
@@ -1,87 +0,0 @@
-name: Docker nightly release
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 0 * * *'
-
-jobs:
- check_date:
- runs-on: ubuntu-latest
- name: Check latest commit
- outputs:
- should_run: ${{ steps.should_run.outputs.should_run }}
- steps:
- - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- - name: print latest_commit
- run: echo ${{ github.sha }}
-
- - id: should_run
- continue-on-error: true
- name: check latest commit is less than a day
- if: ${{ github.event_name == 'schedule' }}
- run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
-
- ci:
- runs-on: ubuntu-latest
- needs: check_date
- if: ${{ needs.check_date.outputs.should_run != 'false' }}
-
- steps:
- - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- - run: corepack enable
- - uses: actions/setup-node@v3
- with:
- node-version: 20
- cache: 'pnpm'
-
- - name: Install dependencies
- run: pnpm i
-
- - name: Run linters
- run: pnpm lint
-
- - name: Run unit test
- run: pnpm test
-
- - name: Build the app
- run: pnpm build
-
- build:
- runs-on: ubuntu-latest
- needs:
- - ci
-
- steps:
- - name: Checkout
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
-
- - name: Login to GitHub Container Registry
- uses: docker/login-action@v3
- with:
- registry: ghcr.io
- username: ${{ github.repository_owner }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Login to Docker Hub
- uses: docker/login-action@v3
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
-
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v3
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Build and push
- uses: docker/build-push-action@v5
- with:
- context: .
- file: ./Dockerfile
- platforms: linux/amd64,linux/arm64
- push: true
- tags: |
- corentinth/it-tools:nightly
- ghcr.io/corentinth/it-tools:nightly
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
deleted file mode 100644
index 13b787ef..00000000
--- a/.github/workflows/e2e-tests.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: E2E tests
-on:
- pull_request:
- push:
- branches:
- - main
-jobs:
- test:
- timeout-minutes: 10
- runs-on: ubuntu-latest
- strategy:
- matrix:
- shard: [1/3, 2/3, 3/3]
- steps:
- - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
-
- - run: corepack enable
-
- - uses: actions/setup-node@v3
- with:
- node-version: 20
- cache: 'pnpm'
-
- - name: Get Playwright version
- id: playwright-version
- run: echo "PLAYWRIGHT_VERSION=$(jq -r .dependencies.playwright package.json)" >> "$GITHUB_OUTPUT"
-
- - name: Install dependencies
- run: pnpm install
-
- - name: Build app
- run: pnpm build
-
- - name: Restore Playwright browsers from cache
- uses: actions/cache@v3
- with:
- path: ~/.cache/ms-playwright
- key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-${{ hashFiles('**/playwright.config.ts') }}
- restore-keys: |
- ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-
- ${{ runner.os }}-playwright-
-
- - name: Install Playwright Browsers
- run: pnpm exec playwright install --with-deps
-
- - name: Run Playwright tests
- run: pnpm run test:e2e --shard=${{ matrix.shard }}
diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml
deleted file mode 100644
index d0d3febd..00000000
--- a/.github/workflows/releases.yml
+++ /dev/null
@@ -1,104 +0,0 @@
-name: Release new versions
-
-on:
- push:
- tags:
- - 'v*.*.*'
-
-jobs:
- docker-release:
- runs-on: ubuntu-latest
- steps:
- - name: Get release version
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
-
- - name: Checkout
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
-
- - name: Login to GitHub Container Registry
- uses: docker/login-action@v3
- with:
- registry: ghcr.io
- username: ${{ github.repository_owner }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Login to Docker Hub
- uses: docker/login-action@v3
- with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
-
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v3
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Build and push
- uses: docker/build-push-action@v5
- with:
- context: .
- file: ./Dockerfile
- platforms: linux/amd64,linux/arm64
- push: true
- tags: |
- corentinth/it-tools:latest
- corentinth/it-tools:${{ env.RELEASE_VERSION }}
- ghcr.io/corentinth/it-tools:latest
- ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}
-
- github-release:
- runs-on: ubuntu-latest
- needs: docker-release
- steps:
- - name: Get release version
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
-
- - name: Checkout
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
-
- - run: corepack enable
-
- - uses: actions/setup-node@v3
- with:
- node-version: 20
- cache: 'pnpm'
-
- - name: Install dependencies
- run: pnpm i
-
- - name: Build the app
- run: pnpm build
-
- - name: Zip the app
- run: zip -r it-tools-${{ env.RELEASE_VERSION }}.zip dist/*
-
- - name: Get changelog
- id: changelog
- run: |
- EOF=$(openssl rand -hex 8)
- echo "changelog<<$EOF" >> $GITHUB_OUTPUT
- node ./scripts/getLatestChangelog.mjs >> $GITHUB_OUTPUT
- echo "$EOF" >> $GITHUB_OUTPUT
-
- - name: Create Release
- uses: softprops/action-gh-release@v1
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- files: it-tools-${{ env.RELEASE_VERSION }}.zip
- tag_name: v${{ env.RELEASE_VERSION }}
- draft: true
- prerelease: false
- body: |
- ## Docker images
-
- - Docker Hub
- - `corentinth/it-tools:latest`
- - `corentinth/it-tools:${{ env.RELEASE_VERSION }}`
- - GitHub Container Registry
- - `ghcr.io/corentinth/it-tools:latest`
- - `ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}`
-
- ## Changelog
-
- ${{ steps.changelog.outputs.changelog }}
diff --git a/.gitignore b/.gitignore
index a3bbd943..38adffa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,10 +26,3 @@ coverage
*.njsproj
*.sln
*.sw?
-
-.env
-/test-results/
-/playwright-report/
-/playwright/.cache/
-# Webkit with playwright creates a salt file
-salt
\ No newline at end of file
diff --git a/.nvmrc b/.nvmrc
index 87ec8842..d9f88006 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-18.18.2
+16.14.2
diff --git a/.prettierrc b/.prettierrc
deleted file mode 100644
index 13799bc9..00000000
--- a/.prettierrc
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "singleQuote": true,
- "semi": true,
- "tabWidth": 2,
- "trailingComma": "all",
- "printWidth": 120
-}
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 35488bcd..806eacda 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,3 +1,3 @@
{
- "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin", "dbaeumer.vscode-eslint", "lokalise.i18n-ally"]
+ "recommendations": ["johnsoncodehk.volar", "johnsoncodehk.vscode-typescript-vue-plugin"]
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 261fb9ac..f81238ab 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,423 +2,88 @@
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 2024.10.22-7ca5933
+## 2.0.0 (2022-04-16)
-### Features
-- **new tool**: Regex Tester (and Cheatsheet) (#1030) (f5c4ab1)
-- **new tool**: Markdown to HTML (#916) (87984e2)
-- **new-tool**: add email normalizer (#1243) (318fb6e)
-- **new tools**: JSON to XML and XML to JSON (#1231) (f1a5489)
-- **lorem-ipsum**: add button to refresh text lorem-ipsum (#1213) (e1b4f9a)
-- **base64**: Base64 enhancements (#905) (30144aa)
-
-### Bug fixes
-- **favorites**: store favorites regardless of languages (#1202) (7ca5933)
-- **emoji-picker**: debounced search input (#1181) (76a19d2)
-- **format-transformer**: set overflow for output area width (#787) (b430bae)
-- **jwt-parser**: prevent UI overflow on small screen (#1095) (dd4b7e6)
-
-### Refactoring
-- **regex-tester**: better description (7251700)
-
-### Chores
-- **sponsors**: fern sponsor banners (#1314) (f962c41)
-- **readme**: updated logos (#1294) (6709498)
-
-### Documentation
-- **author**: updated author links (#1316) (1c35ac3)
-
-## Version 2024.05.13-a0bc346
-
-### Features
-- **i18n**: added German translation (#1038) (2c2fb21)
-- **new tool**: Outlook Safelink Decoder (#911) (d3b32cc)
-- **new tool**: ascii art generator (#886) (fe349ad)
-- **i18n**: get locales on build (#880) (dc04615)
-- **i18n**: added vi tools translations (#876) (079aa21)
-- **i18n**: added zh tools translations (#874) (9c6b122)
-- **i18n**: added missing locale files in tools (#863) (7f5fa00)
-- **i18n**: added vietnamese language (#859) (1334bff)
-- **i18n**: added spanish language (#854) (85b50bb)
-- **i18n**: added portuguese language (#813) (c65ffb6)
-- **i18n**: added ukrainian language (#827) (693f362)
-- **new-tool**: yaml formater (#779) (fc06f01)
-- **new-tool**: added unicode conversion utilities (#858) (c46207f)
-
-### Bug fixes
-- **language**: English language cleanup (#1036) (221ddfa)
-- **url-encoder, validation**: typo in validation of url-encoder.vue #1024 (cb5b462)
-- **integer base converter**: support bigint (#872) (9eac9cb)
-- **bcrypt tool**: allow salt rounds up to 100 (#987) (23f82d9)
-
-### Refactoring
-- **lint**: removed extra semi (33e5294)
-- **auto-imports**: regen auto imports (1242842)
-- **home**: lightened tool cards (#882) (a07806c)
-- **home**: removed n-grid to prevent layout shift (#881) (10e56b3)
-- **i18n**: added locales per tool (#861) (95698cb)
-
-### Chores
-- **issues**: prevent empty issues (#1078) (a0bc346)
-- **issues**: removed old issue templates (#1077) (5a7b0f9)
-- **node**: upgraded node version in CI workflows (b59942a)
-- **version**: release 2024.05.10-33e5294 (38d5687)
-- **issues**: improved issues template (2852c30)
-- **issues**: improved bug issue template (#1046) (a799234)
-
-### Documentation
-- **changelog**: update changelog for 2024.05.10-33e5294 (9dfd347)
-
-## Version 2023.12.21-5ed3693
### Features
-- **i18n**: improve chinese i18n (#757) (2e56641)
-- **i18n**: add tooltip and favoriteButton i18n (#756) (a1037cf)
-- **i18n**: add Chinese translation base (#718) (8f99eb6)
-- **new tool**: pdf signature checker (#745) (4781920)
-- **new tool**: numeronym generator (#729) (e07e2ae)
+* **a11y:** aria-label on icon button ([5f50275](https://github.com/CorentinTh/it-tools/commit/5f502755d69ab21a78d9256db8a1c64f1ab82c2a))
+* added commit short sha ([668625c](https://github.com/CorentinTh/it-tools/commit/668625c6dab6e8b98f363df6c0aa3bf00a3afaa4))
+* added plausible tracker ([0808920](https://github.com/CorentinTh/it-tools/commit/0808920951b55c938537f33353a37ece96b04084))
+* added twitter link ([d126abc](https://github.com/CorentinTh/it-tools/commit/d126abc7b12a9fce778fe9883e44dca581509778))
+* footer in sider ([3f03850](https://github.com/CorentinTh/it-tools/commit/3f038503dd705ba3a5562a1e8f85a3b0e7d0be5b))
+* **layout:** menu category ([9c9be9e](https://github.com/CorentinTh/it-tools/commit/9c9be9e2e2e2c856d1af1df9d9d37a64460cd82b))
+* mobile friendly menu ([1e67fa6](https://github.com/CorentinTh/it-tools/commit/1e67fa6e0bede8c055d9e4cb9bf7f97423bc9bdf))
+* **navbar:** added github link ([d4e226e](https://github.com/CorentinTh/it-tools/commit/d4e226e09face78da794fa7e676eef85d05dde75))
+* **nav:** navigation tooltips ([b892f50](https://github.com/CorentinTh/it-tools/commit/b892f50cd633d42e6261be208bd077d92d336afb))
+* **page:** added 404 page ([3db4f91](https://github.com/CorentinTh/it-tools/commit/3db4f91c27a2ab37bb23d8feb77b6dffa9a92977))
+* **page:** home page layout ([57fd14a](https://github.com/CorentinTh/it-tools/commit/57fd14a199a253f49f3c53810490e5d31512b261))
+* persistent theme selection fallback to prefered theme ([40e9af0](https://github.com/CorentinTh/it-tools/commit/40e9af06cf28b7348152f8ec3898fa2b27ec0b21))
+* **router:** added legacy routes redirections ([dbce46b](https://github.com/CorentinTh/it-tools/commit/dbce46b470b0187a395cdd350a023641c6319582))
+* search-bar ([e8594de](https://github.com/CorentinTh/it-tools/commit/e8594de7b45102b8bc1cfb82d0839e3722d9c4c2))
+* **search:** round and clearable searchbar ([b112f5f](https://github.com/CorentinTh/it-tools/commit/b112f5f226c6b03151bbeb4fc607e449c444e667))
+* **seo:** added robots.txt and humans.txt ([cd9a3bc](https://github.com/CorentinTh/it-tools/commit/cd9a3bc9b10cf7363301e9a0d0b17f38ea640e0c))
+* **seo:** added title + description ([5f74037](https://github.com/CorentinTh/it-tools/commit/5f74037105c5e8efc5bdad2261597458cfcf26d3))
+* **seo:** pwa and icons ([b7193e8](https://github.com/CorentinTh/it-tools/commit/b7193e838ba83d0548211cff922e107a1f11f90f))
+* **share:** social image ([39746e0](https://github.com/CorentinTh/it-tools/commit/39746e07c53c22ac132ad2aaf25dd71bb6458cde))
+* **style:** dark mode ([3e92b7f](https://github.com/CorentinTh/it-tools/commit/3e92b7f1e04a709df231fce22801b55619e8faab))
+* **style:** theme overrides ([d542688](https://github.com/CorentinTh/it-tools/commit/d542688664cc9c675d1d26f4278a25f1b9e3f28d))
+* **tool:** add lch in color converter ([b5243c4](https://github.com/CorentinTh/it-tools/commit/b5243c43638f37a2d727b015bba61fab0d1b9fe9))
+* **tool:** added token generator ([40dec52](https://github.com/CorentinTh/it-tools/commit/40dec52c8467fd27eb8f3857ed72746ebaa4f509))
+* **tool:** base converter ([034c686](https://github.com/CorentinTh/it-tools/commit/034c686896d0443ea587cd152535b2227234c011))
+* **tool:** base64 string converter ([203b6a9](https://github.com/CorentinTh/it-tools/commit/203b6a9d73dcb30182b130de59920534e18b76b4))
+* **tool:** bip39-generator ([d55329f](https://github.com/CorentinTh/it-tools/commit/d55329f3abc3d3f8ad48def7d7f63b44cd768e27))
+* **tool:** bip39-generator ([765c010](https://github.com/CorentinTh/it-tools/commit/765c010700c07b2809daef0e7c694ac265ce9ddc))
+* **tool:** case converter ([7a7372d](https://github.com/CorentinTh/it-tools/commit/7a7372df191abc7ecd3fee7234d4de7aaaba03f6))
+* **tool:** color converter ([4e50b7a](https://github.com/CorentinTh/it-tools/commit/4e50b7a973e950819a52c127db2a754838cbbf8e))
+* **tool:** crontab generator ([358ff45](https://github.com/CorentinTh/it-tools/commit/358ff45ae1d9822b8a7c342515f668d25b7128b5))
+* **tool:** date-time converter ([2d9cb20](https://github.com/CorentinTh/it-tools/commit/2d9cb209b377326f4bf62067db7d5ad0c7eb7bde))
+* **tool:** encryption ([888ab2c](https://github.com/CorentinTh/it-tools/commit/888ab2cf378597e2880b6dd6a013f3bc192f2b1a))
+* **tool:** git memo ([5cd9997](https://github.com/CorentinTh/it-tools/commit/5cd9997a845f6d5f82d3ae74d3ec12603224517d))
+* **tool:** lorem ipsum generator ([5dcb2ed](https://github.com/CorentinTh/it-tools/commit/5dcb2ed95c318ea1c4134da207c844672d0fbbd8))
+* **tool:** qr-code generator ([5582d75](https://github.com/CorentinTh/it-tools/commit/5582d75927b560d9259929c787c0809634d1f8ae))
+* **tool:** random port generator ([7c540f1](https://github.com/CorentinTh/it-tools/commit/7c540f1208da749c3932aab8f2c392048c4546ae))
+* **tool:** roman-arabic numbers converter ([655019c](https://github.com/CorentinTh/it-tools/commit/655019cf23babcec2a2f1e03cac87744e3139304))
+* **tool:** text hash ([0f3b744](https://github.com/CorentinTh/it-tools/commit/0f3b7445ad1f945d9b364476147bf824ac309a6c))
+* **tool:** text statistics ([0a7c325](https://github.com/CorentinTh/it-tools/commit/0a7c3252e36a4769eedaaec4524b4ee2ae2b19c7))
+* **tool:** url encode/decode ([afac566](https://github.com/CorentinTh/it-tools/commit/afac5664c802c8480fe2c457bcfb7f5e26829cdf))
+* **tool:** uuid v4 generator ([3ae6114](https://github.com/CorentinTh/it-tools/commit/3ae61147a94791987e9e326b19063579976d8dc0))
+* **ux:** copyable input ([1859a9a](https://github.com/CorentinTh/it-tools/commit/1859a9a174010789dcd7ecefb2451e1de7b60b4c))
-### Bug fixes
-- **jwt-parser**: jwt claim array support (#799) (5ed3693)
-- **camera-recorder**: stop camera on navigation (#782) (80e46c9)
-- **doc**: updated create new tool command in readme (#762) (7a70dbb)
-- **base64-file-converter**: fix downloading of index.html content without data preambula (#750) (043e4f0)
-- **docker**: rollback armv7 in docker releases (#741) (205e360)
-- **eta**: corrected example (#737) (821cbea)
+### Bug Fixes
-### Refactoring
+* **hash-text:** added missing toString() ([4ca5fce](https://github.com/CorentinTh/it-tools/commit/4ca5fce911c3312d56bca1ffba863b2f37841c9e))
+* **hash-text:** correct copy message ([bab92ef](https://github.com/CorentinTh/it-tools/commit/bab92ef84f66372df40ce385c2949518ed158427))
+* removed global define ([889d594](https://github.com/CorentinTh/it-tools/commit/889d59499212a449ee460c68c480648e337a7ecb))
+* **style:** working dark mode persistence ([3ae8728](https://github.com/CorentinTh/it-tools/commit/3ae872847b00d65e4e2e629775d479a3333450f1))
+* **validation:** proper rules ([11d8110](https://github.com/CorentinTh/it-tools/commit/11d8110226e22e30ae16d297628c1d252a93be9e))
-- **about, i18n**: improved i18n dx with markdown (#753) (bd3edcb)
-- **token, i18n**: complete fr translation (#752) (de1ee69)
-- **uuid generator**: uuid version picker (#751) (38586ca)
-- **case converter**: no split on lowercase, uppercase and mocking case (#748) (ca43a25)
-- **ui**: replaced legacy n-upload with c-file-upload (#747) (7fe47b3)
-- **token**: added password in token generator keywords (#746) (16ffe6b)
-- **bcrypt**: fix input label align (#721) (093ff31)
-### Chores
+### Refactors
-- **deps**: switched from oui to oui-data for mac address lookup (#693) (0fe9a20)
-- **deps**: update unocss monorepo to ^0.57.0 (#638) (2e396d8)
-- **docker**: added armv7 plateform for docker releases (#722) (fe1de8c)
+* better icon ([0af7d81](https://github.com/CorentinTh/it-tools/commit/0af7d81abd987aa5d1b0321c25a65131d978e929))
+* **clean:** removed extra console.log ([82606f6](https://github.com/CorentinTh/it-tools/commit/82606f6a477fce2041ab33adc7e95bcba4343e2b))
+* embeded sider scrollbar ([f872972](https://github.com/CorentinTh/it-tools/commit/f872972e69aeb4fde4c17f0c122ca3fd4aa1c56c))
+* icon sizes ([9bb7fc4](https://github.com/CorentinTh/it-tools/commit/9bb7fc47aa70bdc5083d0883f1496fac63f812ea))
+* menu option key ([390ef93](https://github.com/CorentinTh/it-tools/commit/390ef93232dc1b448022a0c09d36367adad9d221))
+* **page:** removed unused import ([f70fce6](https://github.com/CorentinTh/it-tools/commit/f70fce65e20989eb19b0f0976e756a43edf02e9d))
+* removed theme editor ([8559fbd](https://github.com/CorentinTh/it-tools/commit/8559fbd7744fe82b7702a5c0eb77a8d627c5a73d))
+* removed unused files ([c1e7669](https://github.com/CorentinTh/it-tools/commit/c1e76695e4a16b8312ab6031a1bdfb6368946677))
+* removed unused files ([8d9f924](https://github.com/CorentinTh/it-tools/commit/8d9f92417744a5fbd9b4108e851005f23de18b53))
+* **style:** cleaner layout ([1d09a01](https://github.com/CorentinTh/it-tools/commit/1d09a01bb25088493cc9b7f2cb7f8a8aa69ac9e9))
+* **style:** improve style for tool-card ([65a6896](https://github.com/CorentinTh/it-tools/commit/65a6896563d16f30420424e274bd306e3e9182c8))
+* **style:** label width ([fd4426d](https://github.com/CorentinTh/it-tools/commit/fd4426d246ada553528759f761c8192df85c0d44))
+* **style:** menu item height ([8951e87](https://github.com/CorentinTh/it-tools/commit/8951e87c143fda74be32bae5b28e009556d7086e))
+* **style:** menu scrollbar ([483cf66](https://github.com/CorentinTh/it-tools/commit/483cf66db992169d361487c8461938810793b978))
+* **style:** port display ([2632f24](https://github.com/CorentinTh/it-tools/commit/2632f24cc89af7dd12f7a0c1a8b58983a1bb78d8))
+* **style:** removed extra br ([b44539c](https://github.com/CorentinTh/it-tools/commit/b44539c1820defbaaa6dfe83a76c72982a641971))
+* **style:** replaced scss style block to less ([655d9d2](https://github.com/CorentinTh/it-tools/commit/655d9d22e3136bdf1dee29310ab04cf38596bdc8))
+* **style:** responsive layout ([2df3f53](https://github.com/CorentinTh/it-tools/commit/2df3f53b78bbe419763fd359788a4b0b5710e4b7))
+* **style:** updated linter config ([6b58ec5](https://github.com/CorentinTh/it-tools/commit/6b58ec554a0de91139f16d67cec42536d093d5fb))
-## Version 2023.11.02-7d94e11
-
-### Features
-
-- **i18n**: language selector (#710) (e86fd96)
-
-### Bug fixes
-
-- **dockerfile**: revert replacement of nginx image with non-privileged one (#716) (7d94e11)
-- **encryption**: alert on decryption error (#711) (02b0d0d)
-
-### Refactoring
-
-- **math-evaluator**: improved description (e87f4b1)
-- **math-evaluator**: improved search and UX (#713) (58de897)
-
-## Version 2023.11.01-e164afb
-
-### Features
-
-- **command-palette**: clear prompt on palette close (#708) (d013696)
-- **command-palette**: added about page in command palette (99b1eb9)
-- **new tool**: random MAC address generator (#657) (cc3425d)
-- **case-converter**: added mocking case (#705) (681f7bf)
-- **date-converter**: added excel date time format (#704) (f5eb7a8)
-- **i18n**: token generator (#688) (02e68d3)
-- **i18n**: home page (#687) (00562ed)
-- **i18n**: support for i18n in .ts files (#683) (ebb4ec4)
-- **i18n**: tool card (#682) (84a4a64)
-- **i18n**: about page (#680) (a2b53c2)
-- **i18n**: 404 page (#679) (35563b8)
-- **new tool**: text to ascii converter (#669) (b2ad4f7)
-- **new tool**: ULID generator (#623) (5c4d775)
-- **new tool**: add wifi qr code generator (#599) (0eedce6)
-- **new tool**: iban validation and parser (#591) (3a63837)
-- **new tool**: text diff and comparator (#588) (81bfe57)
-
-### Bug fixes
-
-- **deps**: fix issue on slugify (#593) (#673) (720201a)
-- **deps**: update dependency monaco-editor to ^0.43.0 (#620) (e371ef7)
-- **deps**: update dependency sql-formatter to v13 (#606) (c7d4562)
-
-### Refactoring
-
-- **ui**: better ui demo preview menu (#664) (015c673)
-- **color-converter**: improved color-converter UX (#701) (abb8335)
-- **docker**: improved docker config (#700) (020e9cb)
-- **c-table**: added description on c-table for accessibility (b408df8)
-- **ci**: reduced timeout in e2e (#666) (88b8818)
-- **ui**: new c-table ui component (#665) (ee4c853)
-- **ui**: removed n-page-header component in user-agent parser (#663) (cbf58fd)
-- **ui**: removed n-p components in about page (#662) (a757a51)
-- **ui**: switched naive tooltip components to custom ones (#661) (025f556)
-- **spelling**: minor corrections to phrasing/spelling (#596) (8a30b6b)
-- **i18n**: merge tools scoped locales with global ones (#612) (233d556)
-- **c-key-value-list**: got rid of table for layout (#611) (7ab9204)
-- **CI**: run e2e against built app and no longer vercel (#610) (18dd140)
-- **bcrypt**: fix typo (#604) (e18bae1)
-
-### Chores
-
-- **deps**: clean unused dependencies (#709) (e164afb)
-- **deps**: update docker/setup-qemu-action action to v3 (#627) (4365226)
-- **deps**: update docker/setup-buildx-action action to v3 (#626) (57ecda1)
-- **deps**: update docker/login-action action to v3 (#625) (d8d7a3b)
-- **deps**: update docker/build-push-action action to v5 (#624) (d36b18f)
-- **deps**: update dependency node to v18.18.2 (#674) (eea9f91)
-- **deps**: update dependency node to v18.18.0 (#636) (2d2dffb)
-- **deps**: update actions/checkout action to v4 (#613) (4972159)
-- **deps**: update dependency unplugin-icons to ^0.17.0 (#609) (f035f48)
-- **deps**: update dependency @intlify/unplugin-vue-i18n to ^0.13.0 (#597) (d1dff42)
-- **deps**: update dependency @antfu/eslint-config to ^0.41.0 (#585) (a9cd91c)
-- **deps**: update dependency typescript to ~5.2.0 (#587) (f3e14fc)
-
-### Doc
-
-- **readme**: added contributors list (#622) (557b304)
-- **hosting**: added cloudron in the other hosting solutions section (#589) (06c3547)
-
-## Version 2023.08.21-6f93cba
-
-### Features
-
-- **copy**: support legacy copy to clipboard for older browser (#581) (6f93cba)
-- **new tool**: string obfuscator (#575) (c58d6e3)
-
-### Bug fixes
-
-- **deps**: update dependency sql-formatter to v12 (#520) (2bcb77a)
-
-### Chores
-
-- **deps**: switched to fucking typescript v5 (#501) (76b2761)
-- **deps**: update dependency @antfu/eslint-config to ^0.40.0 (#552) (6ff9a01)
-- **deps**: update dependency prettier to v3 (#564) (a2b9b15)
-- **deps**: removed @typescript-eslint/parser (#563) (144f86e)
-- **deps**: removed ts-pattern (#565) (0f1f659)
-
-## Version 2023.08.16-9bd4ad4
-
-### Features
-
-- **Case Converter**: Add lowercase and uppercase (#534) (7b6232a)
-- **new tool**: emoji picker (#551) (93f7cf0)
-- **ui**: added c-select in the ui lib (#550) (dfa1ba8)
-- **new-tool**: password strength analyzer (#502) (a9c7b89)
-- **new-tool**: yaml to toml (e29b258)
-- **new-tool**: json to toml (ea50a3f)
-- **new-tool**: toml to yaml (746e5bd)
-- **new-tool**: toml to json (c7d4f11)
-- **command-palette**: random tool action (ec4c533)
-- **config**: allow app to run in a subfolder via BASE_URL (#461) (6304595)
-- **new-tool**: percentage calculator (#456) (b9406a4)
-- **new-tool**: json to csv converter (69f0bd0)
-- **new tool**: xml formatter (#457) (a6bbeae)
-- **chmod-calculator**: added symbolic representation (#455) (f771e7a)
-- **enhancement**: use system dark mode (#458) (cf7b1f0)
-- **phone-parser**: searchable country code select (d2956b6)
-- **new tool**: camera screenshot and recorder (34d8e5c)
-- **base64-string-converter**: switch to encode and decode url safe base64 strings (#392) (0b20f1c)
-
-### Bug fixes
-
-- **deps**: update dependency uuid to v9 (#566) (5e12991)
-- **deps**: update dependency mathjs to v11 (#519) (7924456)
-- **deps**: update dependency @vueuse/router to v10 (#516) (ea0f27c)
-- **copy**: prevent shorthand copy if source is present in useCopy (#559) (86e964a)
-- **c-lib**: hide component library shortcut link in non-dev (#557) (56d74d0)
-- **emoji picker**: fix copy button (#556) (e5d0ba7)
-- **deps**: update dependency @vueuse/head to v1 (#515) (d12dd40)
-- **deps**: update dependency country-code-lookup to ^0.1.0 (#493) (8c72e69)
-- **deps**: update dependency @vueuse/head to ^0.9.0 (#492) (cec9dea)
-- **i18n**: fallback for demo i18n (12d9e5d)
-- **typos**: fixed more typos & uppercase JSON (#475) (9526ed8)
-- **about**: typos and wording (#474) (7068610)
-- **mime-types**: typos (#470) (c4cec9e)
-- **sonar**: took down minor sonar warning (4cbd7ac)
-- **readme**: typo (105b21b)
-- **ipv4-range-expander**: calculate correct for ip addresses where the first octet is lower than 128 (#405) (8c92d56)
-- **ipv4-converter**: removed readonly on input (7aed9c5)
-
-### Refactoring
-
-- **navbar**: consistent spacing in navbar buttons (#507) (30f88fc)
-- **ui**: remove n-text (#506) (72c98a3)
-- **ui**: replaced some n-input to c-input (#505) (05ea545)
-- **json-viewer**: input monospace font (#485) (9125dcf)
-- **search**: command palette design (#463) (bcb98b3)
-- **c-input-text**: force usage of props with default (1e2a35b)
-- **naming**: prevent auto import conflicts for git memo (45c2474)
-- **imports**: removed unnecessary imports to vue (fe61f0f)
-- **ui**: removed all n-space (4d2b037)
-- **ui**: replaced some n-input with c-input-text (f7fc779)
-
-### Chores
-
-- **deps**: update dependency vitest to ^0.34.0 (#562) (9bd4ad4)
-- **deps**: update dependency node to v18.17.1 (#560) (65a9474)
-- **deps**: update dependency unocss to ^0.55.0 (#561) (85cc7a8)
-- **deps**: update dependency @unocss/eslint-config to ^0.55.0 (#553) (4268e25)
-- **deps**: update dependency @intlify/unplugin-vue-i18n to ^0.12.0 (#526) (d1c8880)
-- **deps**: update docker/login-action action to v2 (#512) (99bc84c)
-- **deps**: update dependency jsdom to v22 (#499) (cd5a503)
-- **deps**: update dependency @vitejs/plugin-vue-jsx to v3 (#497) (1a60236)
-- **deps**: update dependency @vitejs/plugin-vue to v4 (#496) (a249421)
-- **deps**: update dependency vite-plugin-pwa to ^0.16.0 (#488) (6498c9b)
-- **deps**: update dependency vite to v4 (#503) (f40d7ec)
-- **ci**: e2e against vercel deployement (#518) (2e28c50)
-- **e2e**: execute e2e against built app (#511) (cf382b5)
-- **deps**: update github/codeql-action action to v2 (#513) (0152583)
-- **deps**: update node.js to v18 (#514) (38cb61d)
-- **deps**: switched from vite-plugin-md to vite-plugin-vue-markdown (#510) (354aed6)
-- **deps**: update dependency workbox-window to v7 (#509) (6b8682f)
-- **deps**: update dependency vite-svg-loader to v4 (#508) (9e8349d)
-- **deps**: update dependency typescript to ~4.9.0 (#481) (f440507)
-- **deps**: update dependency vue-tsc to ^0.40.0 (#490) (b0d9a3e)
-- **deps**: updated unplugin-auto-import (#504) (5c3bebf)
-- **deps**: removed start-server-and-test dependency (8df7cd0)
-- **deps**: update dependency c8 to v8 (#498) (6bda2ca)
-- **deps**: update dependency @types/jsdom to v21 (#495) (994a1c3)
-- **deps**: update node.js to v16.20.1 (#491) (05edaf4)
-- **deps**: update dependency vitest to ^0.32.0 (#489) (49eacea)
-- **deps**: update actions/checkout action to v3 (#494) (3f7d469)
-- **deps**: update dependency unplugin-vue-components to ^0.25.0 (#484) (5f21908)
-- **deps**: update dependency unplugin-auto-import to ^0.16.0 (#483) (6cb0845)
-- **deps**: update dependency unocss to ^0.53.0 (#482) (38710dc)
-- **deps**: update dependency @unocss/eslint-config to ^0.53.0 (#478) (282cfc4)
-- **deps**: added renovate.json (#477) (363c2e4)
-- **i18n**: tool scoped locales (#471) (1b038c7)
-- **wysiwyg-editor**: update tiptap dependencies (732da08)
-- **i18n**: setup i18n plugin config (ebfb872)
-- **config**: netlify deployment support (#443) (93799af)
-- **ci**: shard e2e tests (962a6d6)
-- **lint**: switched to a better lint config (33c9b66)
-
-### Refacor
-
-- **transformers**: use monospace font for JSON and SQL text areas (#476) (ba4876d)
### Documentation
-- **ide**: updated vscode extensions settings (#472) (847323c)
-
-### Chors
-
-- **deps**: updated vueuse dependency version (8515c24)
-
-## Version 2023.05.14-77f2efc
-
-### Features
-
-- **list-converter**: a small converter who deals with column based data and do some stuff with it (#387) (83a7b3b)
-- **new tool**: phone parser and normalizer (ce3150c)
-
-### Bug fixes
-
-- **phone-parser**: use default country code (a43c546)
-- **home**: prevent weird blue border on card (3f6c8f0)
-
-### Refactoring
-
-- **ui**: replaced some n-input with c-input-text (77f2efc)
-
-### Chores
-
-- **issues**: updated new tool request issue template (edae4c6)
-
-### Ui-lib
-
-- **new-component**: added text input component in the c-lib (aad8d84)
-- **button**: size variants (401f13f)
-
-## Version 2023.04.23-92bd835
-
-### Features
-
-- **ui-lib**: demo pages for c-lib components (92bd835)
-- **new-tool**: diff of two json objects (362f2fa)
-- **ipv4-range-expander**: expands a given IPv4 start and end address to a valid IPv4 subnet (#366) (df989e2)
-- **date converter**: auto focus main input (6d22025)
-
-### Bug fixes
-
-- **ts**: cleaned legacy typechecking warning (e88c1d5)
-- **mac-address-lookup**: added copy handler on button click (c311e38)
-
-### Refactoring
-
-- **ui-lib**: prevent c-button to shrink (61ece23)
-- **ui**: replaced naive ui cards with custom ones (f080933)
-- **clean**: removed unused lodash import (bb32513)
-- **clean**: removed useless br tags (74073f5)
-- **ui**: getting ride of naive ui buttons (c45bce3)
-
-## Version 2023.04.14-dbad773
-
-### Features
-
-- **new-tool**: http status codes (8355bd2)
-
-### Refactoring
-
-- **uuid-generator**: prevent NaN in quantity (6fb4994)
-
-### Chores
-
-- **release**: create a github release on new version (dbad773)
-- **version**: reset CHANGELOG content to support new format (85cb0ff)
-
-## Version 2023.04.14-f9b77b7
-
-### Features
-
-- **new-tool**: http status codes (8355bd2)
-
-### Refactoring
-
-- **uuid-generator**: prevent NaN in quantity (6fb4994)
-
-### Chores
-
-- **release**: create a github release on new version (f9b77b7)
-- **version**: reset CHANGELOG content to support new format (85cb0ff)
-
-## Version 2023.04.14-2f0d239
-
-### Features
-
-- **new-tool**: http status codes (8355bd2)
-
-### Refactoring
-
-- **uuid-generator**: prevent NaN in quantity (6fb4994)
-
-### Chores
-
-- **release**: create a github release on new version (2f0d239)
-- **version**: reset CHANGELOG content to support new format (85cb0ff)
-
-## Version 2023.04.14-474cae4
-
-### Features
-
-- **new-tool**: http status codes (8355bd2)
-
-### Refactoring
-
-- **uuid-generator**: prevent NaN in quantity (6fb4994)
-
-### Chores
-
-- **release**: create a github release on new version (474cae4)
-- **version**: reset CHANGELOG content to support new format (85cb0ff)
-
-## Version v2023.4.13-dce9ff9
-
-_Diff not available_
+* added new tool creation procedure ([8177883](https://github.com/CorentinTh/it-tools/commit/81778834e6a79725c42eae1772935682ce7580c6))
+* updated readme ([1134e0b](https://github.com/CorentinTh/it-tools/commit/1134e0b822edbc25ce9ff83007bf5d331a1becbd))
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 734bd73d..00000000
--- a/Dockerfile
+++ /dev/null
@@ -1,17 +0,0 @@
-# build stage
-FROM node:lts-alpine AS build-stage
-# Set environment variables for non-interactive npm installs
-ENV NPM_CONFIG_LOGLEVEL warn
-ENV CI true
-WORKDIR /app
-COPY package.json pnpm-lock.yaml ./
-RUN npm install -g pnpm && pnpm i --frozen-lockfile
-COPY . .
-RUN pnpm build
-
-# production stage
-FROM nginx:stable-alpine AS production-stage
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/conf.d/default.conf
-EXPOSE 80
-CMD ["nginx", "-g", "daemon off;"]
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index e72bfdda..00000000
--- a/LICENSE
+++ /dev/null
@@ -1,674 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- Copyright (C)
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-.
\ No newline at end of file
diff --git a/README.md b/README.md
index a13246e8..905e5a91 100644
--- a/README.md
+++ b/README.md
@@ -1,131 +1,70 @@
-
-
-
-
-
+
-Useful tools for developer and people working in IT. [Have a look !](https://it-tools.tech).
+Aggregated set of useful tools that every developer may need once in a while. Available [here](https://dev.it-tools.tech).
## Functionalities and roadmap
Please check the [issues](https://github.com/CorentinTh/it-tools/issues) to see if some feature listed to be implemented.
-You have an idea of a tool? Submit a [feature request](https://github.com/CorentinTh/it-tools/issues/new/choose)!
-
-## Self host
-
-Self host solutions for your homelab
-
-**From docker hub:**
-
-```sh
-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:80 ghcr.io/corentinth/it-tools:latest
-```
-
-**Other solutions:**
-
-- [Cloudron](https://www.cloudron.io/store/tech.ittools.cloudron.html)
-- [Tipi](https://www.runtipi.io/docs/apps-available)
-- [Unraid](https://unraid.net/community/apps?q=it-tools)
+You have an idea of a tool? Submit a [feature request](https://github.com/CorentinTh/it-tools/issues/new?assignees=corentinth&labels=&template=feature_request.md&title=)!
## Contribute
### Recommended IDE Setup
-[VSCode](https://code.visualstudio.com/) with the following extensions:
+[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin).
-- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur)
-- [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
-- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
-- [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally)
-
-with the following settings:
-
-```json
-{
- "editor.formatOnSave": false,
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": true
- },
- "i18n-ally.localesPaths": ["locales", "src/tools/*/locales"],
- "i18n-ally.keystyle": "nested"
-}
+### Node version
+Ensure you have the correct node/npm version
+```sh
+nvm use
```
-### Type Support for `.vue` Imports in TS
-
-TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
-
-If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
-
-1. Disable the built-in TypeScript Extension
- 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
- 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
-2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
-
### Project Setup
```sh
-pnpm install
+npm install
```
-### Compile and Hot-Reload for Development
+#### Compile and Hot-Reload for Development
```sh
-pnpm dev
+npm run dev
```
-### Type-Check, Compile and Minify for Production
+#### Type-Check, Compile and Minify for Production
```sh
-pnpm build
+npm run build
```
-### Run Unit Tests with [Vitest](https://vitest.dev/)
+#### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
-pnpm test
+npm run test
```
-### Lint with [ESLint](https://eslint.org/)
+#### Lint with [ESLint](https://eslint.org/)
```sh
-pnpm lint
+npm run lint
```
### Create a new tool
-
To create a new tool, there is a script that generate the boilerplate of the new tool, simply run:
```sh
-pnpm run script:create:tool my-tool-name
+node scripts/create-tool.mjs my-tool-name
```
-It will create a directory in `src/tools` with the correct files, and a the import in `src/tools/index.ts`. You will just need to add the imported tool in the proper category and develop the tool.
-
-## Contributors
-
-Big thanks to all the people who have already contributed!
-
-[](https://github.com/corentinth/it-tools/graphs/contributors)
+It will create a directory in `src/tools` with the correct files, and a the import in `src/tools/index.ts`. You will just need to add the inported tool in the proper category and develop the tool.
## Credits
-Coded with ❤️ by [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=readme).
+Coded with ❤️ by [Corentin Thomasset](//corentin-thomasset.fr).
This project is continuously deployed using [vercel.com](https://vercel.com).
-Contributor graph is generated using [contrib.rocks](https://contrib.rocks/preview?repo=corentinth/it-tools).
-
-
-
-
## License
-This project is under the [GNU GPLv3](LICENSE).
+This project is under the [MIT license](LICENSE).
diff --git a/_templates/generator/ui-component/component.demo.ejs.t b/_templates/generator/ui-component/component.demo.ejs.t
deleted file mode 100644
index 7f9b473f..00000000
--- a/_templates/generator/ui-component/component.demo.ejs.t
+++ /dev/null
@@ -1,6 +0,0 @@
----
-to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.demo.vue
----
-
- <<%= h.changeCase.param(name) %> />
-
diff --git a/_templates/generator/ui-component/component.ejs.t b/_templates/generator/ui-component/component.ejs.t
deleted file mode 100644
index 43acd4d1..00000000
--- a/_templates/generator/ui-component/component.ejs.t
+++ /dev/null
@@ -1,13 +0,0 @@
----
-to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.vue
----
-
-
-
-