mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-25 07:04:39 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e113a850e |
No files matched your search
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve our tools
|
||||||
|
title: '[BUG] '
|
||||||
|
labels: bug
|
||||||
|
assignees: CorentinTh
|
||||||
|
---
|
||||||
|
|
||||||
|
**Which tool is impacted?**
|
||||||
|
Example: the token generator
|
||||||
|
|
||||||
|
**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.
|
||||||
@@ -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
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
name: 🚀 New feature proposal
|
|
||||||
description: Propose a new feature to be added to 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
|
|
||||||
@@ -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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v2
|
||||||
|
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@v2
|
||||||
|
|
||||||
|
# ℹ️ 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@v2
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 16
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 16
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
@@ -2,40 +2,6 @@
|
|||||||
|
|
||||||
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.
|
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.05.10-33e5294
|
|
||||||
|
|
||||||
### 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**: improved issues template (2852c30)
|
|
||||||
- **issues**: improved bug issue template (#1046) (a799234)
|
|
||||||
|
|
||||||
## Version 2023.12.21-5ed3693
|
## Version 2023.12.21-5ed3693
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
Vendored
+1
-4
@@ -78,6 +78,7 @@ declare module '@vue/runtime-core' {
|
|||||||
Encryption: typeof import('./src/tools/encryption/encryption.vue')['default']
|
Encryption: typeof import('./src/tools/encryption/encryption.vue')['default']
|
||||||
EtaCalculator: typeof import('./src/tools/eta-calculator/eta-calculator.vue')['default']
|
EtaCalculator: typeof import('./src/tools/eta-calculator/eta-calculator.vue')['default']
|
||||||
FavoriteButton: typeof import('./src/components/FavoriteButton.vue')['default']
|
FavoriteButton: typeof import('./src/components/FavoriteButton.vue')['default']
|
||||||
|
FolderStructureDiagram: typeof import('./src/tools/folder-structure-diagram/folder-structure-diagram.vue')['default']
|
||||||
FormatTransformer: typeof import('./src/components/FormatTransformer.vue')['default']
|
FormatTransformer: typeof import('./src/components/FormatTransformer.vue')['default']
|
||||||
GitMemo: typeof import('./src/tools/git-memo/git-memo.vue')['default']
|
GitMemo: typeof import('./src/tools/git-memo/git-memo.vue')['default']
|
||||||
'GitMemo.content': typeof import('./src/tools/git-memo/git-memo.content.md')['default']
|
'GitMemo.content': typeof import('./src/tools/git-memo/git-memo.content.md')['default']
|
||||||
@@ -132,7 +133,6 @@ declare module '@vue/runtime-core' {
|
|||||||
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
|
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
|
||||||
NDivider: typeof import('naive-ui')['NDivider']
|
NDivider: typeof import('naive-ui')['NDivider']
|
||||||
NEllipsis: typeof import('naive-ui')['NEllipsis']
|
NEllipsis: typeof import('naive-ui')['NEllipsis']
|
||||||
NForm: typeof import('naive-ui')['NForm']
|
|
||||||
NFormItem: typeof import('naive-ui')['NFormItem']
|
NFormItem: typeof import('naive-ui')['NFormItem']
|
||||||
NGi: typeof import('naive-ui')['NGi']
|
NGi: typeof import('naive-ui')['NGi']
|
||||||
NGrid: typeof import('naive-ui')['NGrid']
|
NGrid: typeof import('naive-ui')['NGrid']
|
||||||
@@ -145,10 +145,7 @@ declare module '@vue/runtime-core' {
|
|||||||
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
|
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
|
||||||
NMenu: typeof import('naive-ui')['NMenu']
|
NMenu: typeof import('naive-ui')['NMenu']
|
||||||
NScrollbar: typeof import('naive-ui')['NScrollbar']
|
NScrollbar: typeof import('naive-ui')['NScrollbar']
|
||||||
NSlider: typeof import('naive-ui')['NSlider']
|
|
||||||
NSpace: typeof import('naive-ui')['NSpace']
|
|
||||||
NSpin: typeof import('naive-ui')['NSpin']
|
NSpin: typeof import('naive-ui')['NSpin']
|
||||||
NSwitch: typeof import('naive-ui')['NSwitch']
|
|
||||||
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']
|
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']
|
||||||
OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default']
|
OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default']
|
||||||
PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default']
|
PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default']
|
||||||
|
|||||||
-455
@@ -1,455 +0,0 @@
|
|||||||
'404':
|
|
||||||
notFound: 404 Nicht gefunden
|
|
||||||
sorry: Entschuldigung, diese Seite scheint nicht zu existieren
|
|
||||||
maybe: >-
|
|
||||||
Vielleicht macht der Cache etwas Seltsames. Mit einem erzwungenen Neuladen
|
|
||||||
versuchen?
|
|
||||||
backHome: Zurück zur Startseite
|
|
||||||
home:
|
|
||||||
categories:
|
|
||||||
newestTools: Neueste Tools
|
|
||||||
favoriteTools: Deine Lieblingstools
|
|
||||||
allTools: Alle Tools
|
|
||||||
subtitle: Praktische Tools für Entwickler
|
|
||||||
toggleMenu: Menü umschalten
|
|
||||||
home: Startseite
|
|
||||||
uiLib: UI-Bibliothek
|
|
||||||
support: Unterstütze die Entwicklung von IT-Tools
|
|
||||||
buyMeACoffee: Kauf mir einen Kaffee
|
|
||||||
follow:
|
|
||||||
title: Magst du IT-Tools?
|
|
||||||
p1: Gib uns einen Stern auf
|
|
||||||
githubRepository: IT-Tools GitHub-Repository
|
|
||||||
p2: oder folge uns auf
|
|
||||||
twitterAccount: IT-Tools Twitter-Konto
|
|
||||||
thankYou: Vielen Dank!
|
|
||||||
nav:
|
|
||||||
github: GitHub-Repository
|
|
||||||
githubRepository: IT-Tools GitHub-Repository
|
|
||||||
twitter: Twitter-Konto
|
|
||||||
twitterAccount: IT-Tools Twitter-Konto
|
|
||||||
about: Über IT-Tools
|
|
||||||
aboutLabel: Über
|
|
||||||
darkMode: Dunkelmodus
|
|
||||||
lightMode: Hellmodus
|
|
||||||
mode: Wechseln zwischen dunklem/hellem Modus
|
|
||||||
about:
|
|
||||||
content: >
|
|
||||||
# Über IT-Tools
|
|
||||||
|
|
||||||
Diese wunderbare Website, erstellt mit ❤ von [Corentin
|
|
||||||
Thomasset](https://github.com/CorentinTh), sammelt nützliche Tools für
|
|
||||||
Entwickler und Menschen, die in der IT arbeiten. Wenn du sie nützlich
|
|
||||||
findest, teile sie gerne mit Personen, von denen du denkst, dass sie sie
|
|
||||||
ebenfalls nützlich finden könnten, und vergiss nicht, sie in deiner
|
|
||||||
Lesezeichenleiste zu speichern!
|
|
||||||
|
|
||||||
IT-Tools ist Open Source (unter der MIT-Lizenz) und kostenlos und wird es
|
|
||||||
immer sein, aber es kostet mich Geld, die Website zu hosten und den
|
|
||||||
Domainnamen zu erneuern. Wenn du meine Arbeit unterstützen möchtest und mich
|
|
||||||
ermutigen möchtest, mehr Tools hinzuzufügen, überlege bitte, mich durch
|
|
||||||
[Sponsoring](https://www.buymeacoffee.com/cthmsst) zu unterstützen.
|
|
||||||
|
|
||||||
## Technologien
|
|
||||||
|
|
||||||
IT-Tools wurde mit Vue.js (Vue 3) und der Naive UI-Komponentenbibliothek
|
|
||||||
erstellt und wird von Vercel gehostet und kontinuierlich bereitgestellt. In
|
|
||||||
einigen Tools werden Drittanbieter-Open-Source-Bibliotheken verwendet. Du
|
|
||||||
findest die vollständige Liste in der
|
|
||||||
[package.json](https://github.com/CorentinTh/it-tools/blob/main/package.json)-Datei
|
|
||||||
des Repositorys.
|
|
||||||
|
|
||||||
## Einen Fehler gefunden? Ein Tool fehlt?
|
|
||||||
|
|
||||||
Wenn du ein Tool benötigst, das hier noch nicht vorhanden ist, und du
|
|
||||||
denkst, dass es nützlich sein könnte, bist du herzlich eingeladen, einen
|
|
||||||
Feature-Request im
|
|
||||||
[Issues-Bereich](https://github.com/CorentinTh/it-tools/issues/new/choose)
|
|
||||||
im GitHub-Repository einzureichen.
|
|
||||||
|
|
||||||
Und wenn du einen Fehler gefunden hast oder etwas nicht wie erwartet
|
|
||||||
funktioniert, melde bitte einen Fehler im
|
|
||||||
[Issues-Bereich](https://github.com/CorentinTh/it-tools/issues/new/choose)
|
|
||||||
im GitHub-Repository.
|
|
||||||
favoriteButton:
|
|
||||||
remove: Aus Favoriten entfernen
|
|
||||||
add: Zu Favoriten hinzufügen
|
|
||||||
toolCard:
|
|
||||||
new: Neu
|
|
||||||
search:
|
|
||||||
label: Suche
|
|
||||||
tools:
|
|
||||||
categories:
|
|
||||||
favorite-tools: Deine Lieblingstools
|
|
||||||
crypto: Krypto
|
|
||||||
converter: Konverter
|
|
||||||
web: Web
|
|
||||||
images and videos: Bilder & Videos
|
|
||||||
development: Entwicklung
|
|
||||||
network: Netzwerk
|
|
||||||
math: Mathematik
|
|
||||||
measurement: Messung
|
|
||||||
text: Text
|
|
||||||
data: Daten
|
|
||||||
password-strength-analyser:
|
|
||||||
title: Passwortstärken-Analysator
|
|
||||||
description: >-
|
|
||||||
Ermittle die Stärke deines Passworts mit diesem Client-seitigen
|
|
||||||
Passwortstärken-Analysator und Tool zur Schätzung der Knackzeit.
|
|
||||||
chronometer:
|
|
||||||
title: Chronometer
|
|
||||||
description: >-
|
|
||||||
Überwache die Dauer einer Sache. Im Grunde ein Chronometer mit einfachen
|
|
||||||
Chronometerfunktionen.
|
|
||||||
token-generator:
|
|
||||||
title: Token-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere eine zufällige Zeichenfolge mit den von dir gewünschten Zeichen,
|
|
||||||
Groß- oder Kleinbuchstaben, Zahlen und/oder Symbolen.
|
|
||||||
uppercase: Großbuchstaben (ABC...)
|
|
||||||
lowercase: Kleinbuchstaben (abc...)
|
|
||||||
numbers: Zahlen (123...)
|
|
||||||
symbols: Symbole (!-;...)
|
|
||||||
length: Länge
|
|
||||||
tokenPlaceholder: Der Token ...
|
|
||||||
copied: Token in die Zwischenablage kopiert
|
|
||||||
button:
|
|
||||||
copy: Kopieren
|
|
||||||
refresh: Aktualisieren
|
|
||||||
percentage-calculator:
|
|
||||||
title: Prozentrechner
|
|
||||||
description: >-
|
|
||||||
Berechne einfach Prozentsätze von einem Wert zu einem anderen Wert oder
|
|
||||||
von einem Prozentsatz zu einem Wert.
|
|
||||||
svg-placeholder-generator:
|
|
||||||
title: SVG-Platzhalter-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere SVG-Bilder, die als Platzhalter in deinen Anwendungen verwendet
|
|
||||||
werden können.
|
|
||||||
json-to-csv:
|
|
||||||
title: JSON zu CSV
|
|
||||||
description: Konvertiere JSON mit automatischer Headererkennung in CSV.
|
|
||||||
camera-recorder:
|
|
||||||
title: Kamera-Rekorder
|
|
||||||
description: Mache ein Foto oder nimm ein Video von deiner Webcam oder Kamera auf.
|
|
||||||
keycode-info:
|
|
||||||
title: Keycode-Info
|
|
||||||
description: >-
|
|
||||||
Finde den JavaScript-Keycode, den Code, den Standort und die Modifikatoren
|
|
||||||
einer beliebigen gedrückten Taste.
|
|
||||||
emoji-picker:
|
|
||||||
title: Emoji-Picker
|
|
||||||
description: >-
|
|
||||||
Einfaches Kopieren und Einfügen von Emojis. Erhalte außerdem den Unicode-
|
|
||||||
und Codepunkt-Wert jedes Emojis.
|
|
||||||
color-converter:
|
|
||||||
title: Farbkonverter
|
|
||||||
description: >-
|
|
||||||
Konvertiere Farben zwischen den verschiedenen Formaten (Hex, RGB, HSL und
|
|
||||||
CSS-Name).
|
|
||||||
bcrypt:
|
|
||||||
title: Bcrypt
|
|
||||||
description: >-
|
|
||||||
Hashen und Vergleichen von Strings mit bcrypt. Bcrypt ist eine auf der
|
|
||||||
Blowfish-Chiffre basierende Hash-Funktion.
|
|
||||||
crontab-generator:
|
|
||||||
title: Crontab-Generator
|
|
||||||
description: >-
|
|
||||||
Überprüfe und generiere Crontab und erhalte die menschenlesbare
|
|
||||||
Beschreibung des Cron-Zeitplans.
|
|
||||||
http-status-codes:
|
|
||||||
title: HTTP-Statuscodes
|
|
||||||
description: Liste aller HTTP-Statuscodes, ihrer Namen und ihrer Bedeutung.
|
|
||||||
sql-prettify:
|
|
||||||
title: SQL verschönern und formatieren
|
|
||||||
description: >-
|
|
||||||
Formatiere und verschönere deine SQL-Abfragen online (unterstützt
|
|
||||||
verschiedene SQL-Dialekte).
|
|
||||||
benchmark-builder:
|
|
||||||
title: Benchmark-Builder
|
|
||||||
description: >-
|
|
||||||
Vergleiche ganz einfach die Ausführungszeit von Aufgaben mit diesem sehr
|
|
||||||
einfachen Online-Benchmark-Builder.
|
|
||||||
git-memo:
|
|
||||||
title: Git-Spickzettel
|
|
||||||
description: >-
|
|
||||||
Git ist eine dezentrale Versionsverwaltungssoftware. Mit diesem
|
|
||||||
Spickzettel hast du schnellen Zugriff auf die gängigsten Git-Befehle.
|
|
||||||
slugify-string:
|
|
||||||
title: Slugify String
|
|
||||||
description: Mache einen String URL-, Dateinamen- und ID-sicher.
|
|
||||||
encryption:
|
|
||||||
title: Text verschlüsseln / entschlüsseln
|
|
||||||
description: >-
|
|
||||||
Verschlüssele und entschlüssele Klartext mithilfe von Kryptoalgorithmen
|
|
||||||
wie AES, TripleDES, Rabbit oder RC4.
|
|
||||||
random-port-generator:
|
|
||||||
title: Zufälliger Port-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere zufällige Portnummern außerhalb des Bereichs der "bekannten"
|
|
||||||
Ports (0-1023).
|
|
||||||
yaml-prettify:
|
|
||||||
title: YAML verschönern und formatieren
|
|
||||||
description: Verschönere deinen YAML-String in ein menschenlesbares Format.
|
|
||||||
eta-calculator:
|
|
||||||
title: ETA-Rechner
|
|
||||||
description: >-
|
|
||||||
Ein ETA (Estimated Time of Arrival)-Rechner, um die ungefähre Endzeit
|
|
||||||
einer Aufgabe zu erfahren, z. B. den Zeitpunkt des Endes eines Downloads.
|
|
||||||
roman-numeral-converter:
|
|
||||||
title: Römische Zahlen Konverter
|
|
||||||
description: >-
|
|
||||||
Konvertiere römische Zahlen in Dezimalzahlen und Dezimalzahlen in römische
|
|
||||||
Zahlen.
|
|
||||||
hmac-generator:
|
|
||||||
title: HMAC-Generator
|
|
||||||
description: >-
|
|
||||||
Berechnet einen hashbasierten Nachrichtenauthentifizierungscode (HMAC)
|
|
||||||
unter Verwendung eines geheimen Schlüssels und deiner bevorzugten
|
|
||||||
Hash-Funktion.
|
|
||||||
bip39-generator:
|
|
||||||
title: BIP39-Passphrasengenerator
|
|
||||||
description: >-
|
|
||||||
Generiere BIP39-Passphrasen aus vorhandener oder zufälliger Mnemonik oder
|
|
||||||
erhalte die Mnemonik aus der Passphrase.
|
|
||||||
base64-file-converter:
|
|
||||||
title: Base64-Dateikonverter
|
|
||||||
description: Konvertiere Strings, Dateien oder Bilder in ihre Base64-Repräsentation.
|
|
||||||
list-converter:
|
|
||||||
title: Listenkonverter
|
|
||||||
description: >-
|
|
||||||
Dieses Tool kann spaltenbasierte Daten verarbeiten und verschiedene
|
|
||||||
Änderungen (transponieren, Präfix und Suffix hinzufügen, Liste umkehren,
|
|
||||||
Liste sortieren, Werte in Kleinbuchstaben umwandeln, Werte abschneiden)
|
|
||||||
auf jede Zeile anwenden.
|
|
||||||
base64-string-converter:
|
|
||||||
title: Base64-String-Encoder/Decoder
|
|
||||||
description: Codiere und decodiere Strings einfach in ihre Base64-Repräsentation.
|
|
||||||
toml-to-yaml:
|
|
||||||
title: TOML zu YAML
|
|
||||||
description: Parse und konvertiere TOML zu YAML.
|
|
||||||
math-evaluator:
|
|
||||||
title: Mathematischer Auswerter
|
|
||||||
description: >-
|
|
||||||
Ein Taschenrechner zum Auswerten mathematischer Ausdrücke. Du kannst
|
|
||||||
Funktionen wie sqrt, cos, sin, abs usw. verwenden.
|
|
||||||
json-to-yaml-converter:
|
|
||||||
title: JSON zu YAML
|
|
||||||
description: Konvertiere JSON einfach in YAML mit diesem Live-Online-Konverter.
|
|
||||||
url-parser:
|
|
||||||
title: URL-Parser
|
|
||||||
description: >-
|
|
||||||
Parse eine URL-Zeichenfolge, um alle verschiedenen Teile (Protokoll,
|
|
||||||
Ursprung, Parameter, Port, Benutzername-Passwort usw.) zu erhalten.
|
|
||||||
iban-validator-and-parser:
|
|
||||||
title: IBAN-Validator und -Parser
|
|
||||||
description: >-
|
|
||||||
Validiere und parse IBAN-Nummern. Überprüfe, ob die IBAN gültig ist, und
|
|
||||||
erhalte das Land, BBAN, ob es sich um eine QR-IBAN handelt und das
|
|
||||||
IBAN-freundliche Format.
|
|
||||||
user-agent-parser:
|
|
||||||
title: User-Agent-Parser
|
|
||||||
description: >-
|
|
||||||
Erkenne und parse Browser, Engine, Betriebssystem, CPU und
|
|
||||||
Gerätetyp/-modell aus einer User-Agent-Zeichenfolge.
|
|
||||||
numeronym-generator:
|
|
||||||
title: Numeronym-Generator
|
|
||||||
description: >-
|
|
||||||
Ein Numeronym ist ein Wort, bei dem eine Zahl verwendet wird, um eine
|
|
||||||
Abkürzung zu bilden. Zum Beispiel ist "i18n" ein Numeronym für
|
|
||||||
"internationalization", wobei 18 für die Anzahl der Buchstaben zwischen
|
|
||||||
dem ersten "i" und dem letzten "n" im Wort steht.
|
|
||||||
case-converter:
|
|
||||||
title: Fall-Konverter
|
|
||||||
description: >-
|
|
||||||
Ändere den Fall eines Strings und wähle zwischen verschiedenen Formaten
|
|
||||||
aus.
|
|
||||||
html-entities:
|
|
||||||
title: HTML-Entity-Escape
|
|
||||||
description: >-
|
|
||||||
Escape oder unescape HTML-Entitäten (ersetze <, >, &, " und ' durch ihre
|
|
||||||
HTML-Version).
|
|
||||||
json-prettify:
|
|
||||||
title: JSON verschönern und formatieren
|
|
||||||
description: Verschönere deinen JSON-String in ein menschenlesbares Format.
|
|
||||||
docker-run-to-docker-compose-converter:
|
|
||||||
title: Docker run zu Docker compose Konverter
|
|
||||||
description: Wandle docker run-Befehle in docker-compose-Dateien um!
|
|
||||||
mac-address-lookup:
|
|
||||||
title: MAC-Adressensuche
|
|
||||||
description: Finde den Anbieter und Hersteller eines Geräts anhand seiner MAC-Adresse.
|
|
||||||
mime-types:
|
|
||||||
title: MIME-Typen
|
|
||||||
description: Konvertiere MIME-Typen in Erweiterungen und umgekehrt.
|
|
||||||
toml-to-json:
|
|
||||||
title: TOML zu JSON
|
|
||||||
description: Parse und konvertiere TOML zu JSON.
|
|
||||||
lorem-ipsum-generator:
|
|
||||||
title: Lorem Ipsum Generator
|
|
||||||
description: >-
|
|
||||||
Lorem Ipsum ist ein Platzhaltertext, der häufig verwendet wird, um die
|
|
||||||
visuelle Form eines Dokuments oder einer Schriftart ohne Verwendung von
|
|
||||||
bedeutendem Inhalt zu demonstrieren.
|
|
||||||
qrcode-generator:
|
|
||||||
title: QR-Code-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere und downloade QR-Codes für eine URL oder einfach einen Text und
|
|
||||||
passe die Hintergrund- und Vordergrundfarben an.
|
|
||||||
wifi-qrcode-generator:
|
|
||||||
title: WLAN-QR-Code-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere und lade QR-Codes für schnelle Verbindungen zu WLAN-Netzwerken
|
|
||||||
herunter.
|
|
||||||
xml-formatter:
|
|
||||||
title: XML-Formatter
|
|
||||||
description: Verschönere deinen XML-String in ein menschenlesbares Format.
|
|
||||||
temperature-converter:
|
|
||||||
title: Temperaturkonverter
|
|
||||||
description: >-
|
|
||||||
Temperaturgradumrechnungen für Kelvin, Celsius, Fahrenheit, Rankine,
|
|
||||||
Delisle, Newton, Réaumur und Rømer.
|
|
||||||
chmod-calculator:
|
|
||||||
title: Chmod-Rechner
|
|
||||||
description: >-
|
|
||||||
Berechne deine Chmod-Berechtigungen und -Befehle mit diesem
|
|
||||||
Online-Chmod-Rechner.
|
|
||||||
rsa-key-pair-generator:
|
|
||||||
title: RSA-Schlüsselpaar-Generator
|
|
||||||
description: Generiere neue zufällige RSA-Private- und Public-Key-PEM-Zertifikate.
|
|
||||||
html-wysiwyg-editor:
|
|
||||||
title: HTML-WYSIWYG-Editor
|
|
||||||
description: >-
|
|
||||||
Online-HTML-Editor mit funktionsreichem WYSIWYG-Editor, erhalte sofort den
|
|
||||||
Quellcode des Inhalts.
|
|
||||||
yaml-to-toml:
|
|
||||||
title: YAML zu TOML
|
|
||||||
description: Parse und konvertiere YAML zu TOML.
|
|
||||||
mac-address-generator:
|
|
||||||
title: MAC-Adressen-Generator
|
|
||||||
description: >-
|
|
||||||
Gebe die Menge und das Präfix ein. MAC-Adressen werden in deiner gewählten
|
|
||||||
Schreibweise (Groß- oder Kleinbuchstaben) generiert.
|
|
||||||
json-diff:
|
|
||||||
title: JSON-Unterschied
|
|
||||||
description: Vergleiche zwei JSON-Objekte und erhalte die Unterschiede zwischen ihnen.
|
|
||||||
jwt-parser:
|
|
||||||
title: JWT-Parser
|
|
||||||
description: >-
|
|
||||||
Parse und decodiere deinen JSON-Web-Token (JWT) und zeige dessen Inhalt
|
|
||||||
an.
|
|
||||||
date-converter:
|
|
||||||
title: Datum-Uhrzeit-Konverter
|
|
||||||
description: Konvertiere Datum und Uhrzeit in verschiedene Formate.
|
|
||||||
phone-parser-and-formatter:
|
|
||||||
title: Telefonnummer-Parser und -Formatter
|
|
||||||
description: >-
|
|
||||||
Parse, validiere und formatiere Telefonnummern. Erhalte Informationen zur
|
|
||||||
Telefonnummer, wie z. B. die Landesvorwahl, den Typ usw.
|
|
||||||
ipv4-subnet-calculator:
|
|
||||||
title: IPv4-Subnetzrechner
|
|
||||||
description: >-
|
|
||||||
Parse deine IPv4-CIDR-Blöcke und erhalte alle Informationen, die du über
|
|
||||||
dein Subnetz benötigst.
|
|
||||||
og-meta-generator:
|
|
||||||
title: Open Graph Meta-Generator
|
|
||||||
description: Generiere Open Graph- und Social-HTML-Metatags für deine Website.
|
|
||||||
ipv6-ula-generator:
|
|
||||||
title: IPv6-ULA-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere deine eigenen lokalen, nicht routbaren IP-Adressen in deinem
|
|
||||||
Netzwerk gemäß RFC4193.
|
|
||||||
hash-text:
|
|
||||||
title: Text hashen
|
|
||||||
description: >-
|
|
||||||
Hashe einen Text-String mit der von dir benötigten Funktion: MD5, SHA1,
|
|
||||||
SHA256, SHA224, SHA512, SHA384, SHA3 oder RIPEMD160
|
|
||||||
json-to-toml:
|
|
||||||
title: JSON zu TOML
|
|
||||||
description: Parse und konvertiere JSON zu TOML.
|
|
||||||
device-information:
|
|
||||||
title: Geräteinformationen
|
|
||||||
description: >-
|
|
||||||
Informationen zu deinem aktuellen Gerät (Bildschirmgröße, Pixelverhältnis,
|
|
||||||
Benutzeragent, ...) erhalten.
|
|
||||||
pdf-signature-checker:
|
|
||||||
title: PDF-Signaturprüfer
|
|
||||||
description: >-
|
|
||||||
Überprüfe die Signaturen einer PDF-Datei. Eine signierte PDF-Datei enthält
|
|
||||||
eine oder mehrere Signaturen, die verwendet werden können, um
|
|
||||||
festzustellen, ob der Inhalt der Datei seit dem Zeitpunkt der Signierung
|
|
||||||
geändert wurde.
|
|
||||||
json-minify:
|
|
||||||
title: JSON minifizieren
|
|
||||||
description: >-
|
|
||||||
Minifiziere und komprimiere dein JSON, indem unnötige Leerzeichen entfernt
|
|
||||||
werden.
|
|
||||||
ulid-generator:
|
|
||||||
title: ULID-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere zufällige Universally Unique Lexicographically Sortable
|
|
||||||
Identifier (ULID).
|
|
||||||
string-obfuscator:
|
|
||||||
title: String-Verschleierer
|
|
||||||
description: >-
|
|
||||||
Verschleiere einen String (wie ein Secret, eine IBAN oder ein Token), um
|
|
||||||
ihn weitergeben zu können und identifizierbar zu machen, ohne seinen
|
|
||||||
Inhalt preiszugeben.
|
|
||||||
base-converter:
|
|
||||||
title: Ganzzahl-Basiskonverter
|
|
||||||
description: >-
|
|
||||||
Konvertiere Zahlen zwischen verschiedenen Basen (Dezimal, Hexadezimal,
|
|
||||||
Binär, Oktal, Base64, ...).
|
|
||||||
yaml-to-json-converter:
|
|
||||||
title: YAML zu JSON
|
|
||||||
description: Konvertiere YAML einfach in JSON mit diesem Live-Online-Konverter.
|
|
||||||
uuid-generator:
|
|
||||||
title: UUID-Generator
|
|
||||||
description: >-
|
|
||||||
Ein Universally Unique Identifier (UUID) ist eine 128-Bit-Nummer, die zur
|
|
||||||
Identifizierung von Informationen in Computersystemen verwendet wird. Die
|
|
||||||
Anzahl der möglichen UUIDs beträgt 16^32, was 2^128 oder etwa 3,4x10^38
|
|
||||||
entspricht (was ziemlich viel ist!).
|
|
||||||
ipv4-address-converter:
|
|
||||||
title: IPv4-Adresskonverter
|
|
||||||
description: >-
|
|
||||||
Konvertiere eine IP-Adresse in Dezimal, Binär, Hexadezimal oder sogar in
|
|
||||||
IPv6.
|
|
||||||
text-statistics:
|
|
||||||
title: Textstatistiken
|
|
||||||
description: >-
|
|
||||||
Informationen zu einem Text erhalten, wie die Anzahl der Zeichen, die
|
|
||||||
Anzahl der Wörter, die Größe usw.
|
|
||||||
text-to-nato-alphabet:
|
|
||||||
title: Text zu NATO-Alphabet
|
|
||||||
description: >-
|
|
||||||
Wandle Text in das NATO-Phonetik-Alphabet für die mündliche Übermittlung
|
|
||||||
um.
|
|
||||||
basic-auth-generator:
|
|
||||||
title: Basic-Auth-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere einen Base64-Basic-Auth-Header aus einem Benutzernamen und einem
|
|
||||||
Passwort.
|
|
||||||
text-to-unicode:
|
|
||||||
title: Text zu Unicode
|
|
||||||
description: Parse und konvertiere Text in Unicode und umgekehrt.
|
|
||||||
ipv4-range-expander:
|
|
||||||
title: IPv4-Bereichserweiterer
|
|
||||||
description: >-
|
|
||||||
Bei Angabe einer Start- und End-IPv4-Adresse berechnet dieses Tool ein
|
|
||||||
gültiges IPv4-Netzwerk mit seiner CIDR-Notation.
|
|
||||||
text-diff:
|
|
||||||
title: Textunterschied
|
|
||||||
description: Vergleiche zwei Texte und sieh die Unterschiede zwischen ihnen.
|
|
||||||
otp-generator:
|
|
||||||
title: OTP-Code-Generator
|
|
||||||
description: >-
|
|
||||||
Generiere und validiere zeitbasierte OTPs (Einmalpasswörter) für
|
|
||||||
Multi-Faktor-Authentifizierung.
|
|
||||||
url-encoder:
|
|
||||||
title: Kodieren/Decodieren von URL-formatierten Zeichenfolgen
|
|
||||||
description: >-
|
|
||||||
Kodiere zum URL-kodierten Format (auch als "prozentkodiert" bekannt) oder
|
|
||||||
decodiere es.
|
|
||||||
text-to-binary:
|
|
||||||
title: Text zu ASCII-Binär
|
|
||||||
description: Konvertiere Text in seine ASCII-Binärrepräsentation und umgekehrt.
|
|
||||||
+45
-45
@@ -7,7 +7,7 @@ home:
|
|||||||
toggleMenu: 'Toggle menu'
|
toggleMenu: 'Toggle menu'
|
||||||
home: Home
|
home: Home
|
||||||
uiLib: 'UI Lib'
|
uiLib: 'UI Lib'
|
||||||
support: 'Support IT-Tools development'
|
support: 'Support IT Tools development'
|
||||||
buyMeACoffee: 'Buy me a coffee'
|
buyMeACoffee: 'Buy me a coffee'
|
||||||
follow:
|
follow:
|
||||||
title: 'You like it-tools?'
|
title: 'You like it-tools?'
|
||||||
@@ -15,7 +15,7 @@ home:
|
|||||||
githubRepository: 'IT-Tools GitHub repository'
|
githubRepository: 'IT-Tools GitHub repository'
|
||||||
p2: 'or follow us on'
|
p2: 'or follow us on'
|
||||||
twitterAccount: 'IT-Tools Twitter account'
|
twitterAccount: 'IT-Tools Twitter account'
|
||||||
thankYou: 'Thank you!'
|
thankYou: 'Thank you !'
|
||||||
nav:
|
nav:
|
||||||
github: 'GitHub repository'
|
github: 'GitHub repository'
|
||||||
githubRepository: 'IT-Tools GitHub repository'
|
githubRepository: 'IT-Tools GitHub repository'
|
||||||
@@ -72,7 +72,7 @@ tools:
|
|||||||
|
|
||||||
password-strength-analyser:
|
password-strength-analyser:
|
||||||
title: Password strength analyser
|
title: Password strength analyser
|
||||||
description: Discover the strength of your password with this client-side-only password strength analyser and crack time estimation tool.
|
description: Discover the strength of your password with this client side only password strength analyser and crack time estimation tool.
|
||||||
|
|
||||||
chronometer:
|
chronometer:
|
||||||
title: Chronometer
|
title: Chronometer
|
||||||
@@ -98,7 +98,7 @@ tools:
|
|||||||
|
|
||||||
svg-placeholder-generator:
|
svg-placeholder-generator:
|
||||||
title: SVG placeholder generator
|
title: SVG placeholder generator
|
||||||
description: Generate svg images to use as a placeholder in your applications.
|
description: Generate svg images to use as placeholder in your applications.
|
||||||
|
|
||||||
json-to-csv:
|
json-to-csv:
|
||||||
title: JSON to CSV
|
title: JSON to CSV
|
||||||
@@ -126,11 +126,11 @@ tools:
|
|||||||
|
|
||||||
crontab-generator:
|
crontab-generator:
|
||||||
title: Crontab generator
|
title: Crontab generator
|
||||||
description: Validate and generate crontab and get the human-readable description of the cron schedule.
|
description: Validate and generate crontab and get the human readable description of the cron schedule.
|
||||||
|
|
||||||
http-status-codes:
|
http-status-codes:
|
||||||
title: HTTP status codes
|
title: HTTP status codes
|
||||||
description: The list of all HTTP status codes, their name, and their meaning.
|
description: The list of all HTTP status codes their name and their meaning.
|
||||||
|
|
||||||
sql-prettify:
|
sql-prettify:
|
||||||
title: SQL prettify and format
|
title: SQL prettify and format
|
||||||
@@ -142,7 +142,7 @@ tools:
|
|||||||
|
|
||||||
git-memo:
|
git-memo:
|
||||||
title: Git cheatsheet
|
title: Git cheatsheet
|
||||||
description: Git is a decentralized version management software. With this cheatsheet, you will have quick access to the most common git commands.
|
description: Git is a decentralized version management software. With this cheatsheet you will have a quick access to the most common git commands.
|
||||||
|
|
||||||
slugify-string:
|
slugify-string:
|
||||||
title: Slugify string
|
title: Slugify string
|
||||||
@@ -150,7 +150,7 @@ tools:
|
|||||||
|
|
||||||
encryption:
|
encryption:
|
||||||
title: Encrypt / decrypt text
|
title: Encrypt / decrypt text
|
||||||
description: Encrypt clear text and decrypt ciphertext using crypto algorithms like AES, TripleDES, Rabbit or RC4.
|
description: Encrypt and decrypt text clear text using crypto algorithm like AES, TripleDES, Rabbit or RC4.
|
||||||
|
|
||||||
random-port-generator:
|
random-port-generator:
|
||||||
title: Random port generator
|
title: Random port generator
|
||||||
@@ -158,11 +158,11 @@ tools:
|
|||||||
|
|
||||||
yaml-prettify:
|
yaml-prettify:
|
||||||
title: YAML prettify and format
|
title: YAML prettify and format
|
||||||
description: Prettify your YAML string into a friendly, human-readable format.
|
description: Prettify your YAML string to a human friendly readable format.
|
||||||
|
|
||||||
eta-calculator:
|
eta-calculator:
|
||||||
title: ETA calculator
|
title: ETA calculator
|
||||||
description: An ETA (Estimated Time of Arrival) calculator to determine the approximate end time of a task, for example, the end time and duration of a file download.
|
description: An ETA (Estimated Time of Arrival) calculator to know the approximate end time of a task, for example the moment of ending of a download.
|
||||||
|
|
||||||
roman-numeral-converter:
|
roman-numeral-converter:
|
||||||
title: Roman numeral converter
|
title: Roman numeral converter
|
||||||
@@ -174,11 +174,11 @@ tools:
|
|||||||
|
|
||||||
bip39-generator:
|
bip39-generator:
|
||||||
title: BIP39 passphrase generator
|
title: BIP39 passphrase generator
|
||||||
description: Generate a BIP39 passphrase from an existing or random mnemonic, or get the mnemonic from the passphrase.
|
description: Generate BIP39 passphrase from existing or random mnemonic, or get the mnemonic from the passphrase.
|
||||||
|
|
||||||
base64-file-converter:
|
base64-file-converter:
|
||||||
title: Base64 file converter
|
title: Base64 file converter
|
||||||
description: Convert a string, file, or image into its base64 representation.
|
description: Convert string, files or images into a it\'s base64 representation.
|
||||||
|
|
||||||
list-converter:
|
list-converter:
|
||||||
title: List converter
|
title: List converter
|
||||||
@@ -186,7 +186,7 @@ tools:
|
|||||||
|
|
||||||
base64-string-converter:
|
base64-string-converter:
|
||||||
title: Base64 string encoder/decoder
|
title: Base64 string encoder/decoder
|
||||||
description: Simply encode and decode strings into their base64 representation.
|
description: Simply encode and decode string into a their base64 representation.
|
||||||
|
|
||||||
toml-to-yaml:
|
toml-to-yaml:
|
||||||
title: TOML to YAML
|
title: TOML to YAML
|
||||||
@@ -198,15 +198,15 @@ tools:
|
|||||||
|
|
||||||
json-to-yaml-converter:
|
json-to-yaml-converter:
|
||||||
title: JSON to YAML converter
|
title: JSON to YAML converter
|
||||||
description: Simply convert JSON to YAML with this online live converter.
|
description: Simply convert JSON to YAML with this live online converter.
|
||||||
|
|
||||||
url-parser:
|
url-parser:
|
||||||
title: URL parser
|
title: Url parser
|
||||||
description: Parse a URL into its separate constituent parts (protocol, origin, params, port, username-password, ...)
|
description: Parse an url string to get all the different parts (protocol, origin, params, port, username-password, ...)
|
||||||
|
|
||||||
iban-validator-and-parser:
|
iban-validator-and-parser:
|
||||||
title: IBAN validator and parser
|
title: IBAN validator and parser
|
||||||
description: Validate and parse IBAN numbers. Check if an IBAN is valid and get the country, BBAN, if it is a QR-IBAN and the IBAN friendly format.
|
description: Validate and parse IBAN numbers. Check if IBAN is valid and get the country, BBAN, if it is a QR-IBAN and the IBAN friendly format.
|
||||||
|
|
||||||
user-agent-parser:
|
user-agent-parser:
|
||||||
title: User-agent parser
|
title: User-agent parser
|
||||||
@@ -218,27 +218,27 @@ tools:
|
|||||||
|
|
||||||
case-converter:
|
case-converter:
|
||||||
title: Case converter
|
title: Case converter
|
||||||
description: Transform the case of a string and choose between different formats
|
description: Change the case of a string and chose between different formats
|
||||||
|
|
||||||
html-entities:
|
html-entities:
|
||||||
title: Escape HTML entities
|
title: Escape html entities
|
||||||
description: Escape or unescape HTML entities (replace characters like <,>, &, " and \' with their HTML version)
|
description: Escape or unescape html entities (replace <,>, &, " and \' to their html version)
|
||||||
|
|
||||||
json-prettify:
|
json-prettify:
|
||||||
title: JSON prettify and format
|
title: JSON prettify and format
|
||||||
description: Prettify your JSON string into a friendly, human-readable format.
|
description: Prettify your JSON string to a human friendly readable format.
|
||||||
|
|
||||||
docker-run-to-docker-compose-converter:
|
docker-run-to-docker-compose-converter:
|
||||||
title: Docker run to Docker compose converter
|
title: Docker run to Docker compose converter
|
||||||
description: Transforms "docker run" commands into docker-compose files!
|
description: Turns docker run commands into docker-compose files!
|
||||||
|
|
||||||
mac-address-lookup:
|
mac-address-lookup:
|
||||||
title: MAC address lookup
|
title: MAC address lookup
|
||||||
description: Find the vendor and manufacturer of a device by its MAC address.
|
description: Find the vendor and manufacturer of a device by its MAC address.
|
||||||
|
|
||||||
mime-types:
|
mime-types:
|
||||||
title: MIME types
|
title: Mime types
|
||||||
description: Convert MIME types to file extensions and vice-versa.
|
description: Convert mime types to extensions and vice-versa.
|
||||||
|
|
||||||
toml-to-json:
|
toml-to-json:
|
||||||
title: TOML to JSON
|
title: TOML to JSON
|
||||||
@@ -250,19 +250,19 @@ tools:
|
|||||||
|
|
||||||
qrcode-generator:
|
qrcode-generator:
|
||||||
title: QR Code generator
|
title: QR Code generator
|
||||||
description: Generate and download a QR code for a URL (or just plain text), and customize the background and foreground colors.
|
description: Generate and download QR-code for an url or just a text and customize the background and foreground colors.
|
||||||
|
|
||||||
wifi-qrcode-generator:
|
wifi-qrcode-generator:
|
||||||
title: WiFi QR Code generator
|
title: WiFi QR Code generator
|
||||||
description: Generate and download QR codes for quick connections to WiFi networks.
|
description: Generate and download QR-codes for quick connections to WiFi networks.
|
||||||
|
|
||||||
xml-formatter:
|
xml-formatter:
|
||||||
title: XML formatter
|
title: XML formatter
|
||||||
description: Prettify your XML string into a friendly, human-readable format.
|
description: Prettify your XML string to a human friendly readable format.
|
||||||
|
|
||||||
temperature-converter:
|
temperature-converter:
|
||||||
title: Temperature converter
|
title: Temperature converter
|
||||||
description: Degrees temperature conversions for Kelvin, Celsius, Fahrenheit, Rankine, Delisle, Newton, Réaumur, and Rømer.
|
description: Temperature degrees conversions for Kelvin, Celsius, Fahrenheit, Rankine, Delisle, Newton, Réaumur and Rømer.
|
||||||
|
|
||||||
chmod-calculator:
|
chmod-calculator:
|
||||||
title: Chmod calculator
|
title: Chmod calculator
|
||||||
@@ -270,11 +270,11 @@ tools:
|
|||||||
|
|
||||||
rsa-key-pair-generator:
|
rsa-key-pair-generator:
|
||||||
title: RSA key pair generator
|
title: RSA key pair generator
|
||||||
description: Generate a new random RSA private and public pem certificate key pair.
|
description: Generate new random RSA private and public key pem certificates.
|
||||||
|
|
||||||
html-wysiwyg-editor:
|
html-wysiwyg-editor:
|
||||||
title: HTML WYSIWYG editor
|
title: HTML WYSIWYG editor
|
||||||
description: Online, feature-rich WYSIWYG HTML editor which generates the source code of the content immediately.
|
description: Online HTML editor with feature-rich WYSIWYG editor, get the source code of the content immediately.
|
||||||
|
|
||||||
yaml-to-toml:
|
yaml-to-toml:
|
||||||
title: YAML to TOML
|
title: YAML to TOML
|
||||||
@@ -302,15 +302,15 @@ tools:
|
|||||||
|
|
||||||
ipv4-subnet-calculator:
|
ipv4-subnet-calculator:
|
||||||
title: IPv4 subnet calculator
|
title: IPv4 subnet calculator
|
||||||
description: Parse your IPv4 CIDR blocks and get all the info you need about your subnet.
|
description: Parse your IPv4 CIDR blocks and get all the info you need about your sub network.
|
||||||
|
|
||||||
og-meta-generator:
|
og-meta-generator:
|
||||||
title: Open graph meta generator
|
title: Open graph meta generator
|
||||||
description: Generate open-graph and socials HTML meta tags for your website.
|
description: Generate open-graph and socials html meta tags for your website.
|
||||||
|
|
||||||
ipv6-ula-generator:
|
ipv6-ula-generator:
|
||||||
title: IPv6 ULA generator
|
title: IPv6 ULA generator
|
||||||
description: Generate your own local, non-routable IP addresses for your network according to RFC4193.
|
description: Generate your own local, non-routable IP addresses on your network according to RFC4193.
|
||||||
|
|
||||||
hash-text:
|
hash-text:
|
||||||
title: Hash text
|
title: Hash text
|
||||||
@@ -330,7 +330,7 @@ tools:
|
|||||||
|
|
||||||
json-minify:
|
json-minify:
|
||||||
title: JSON minify
|
title: JSON minify
|
||||||
description: Minify and compress your JSON by removing unnecessary whitespace.
|
description: Minify and compress your JSON by removing unnecessary white spaces.
|
||||||
|
|
||||||
ulid-generator:
|
ulid-generator:
|
||||||
title: ULID generator
|
title: ULID generator
|
||||||
@@ -342,31 +342,31 @@ tools:
|
|||||||
|
|
||||||
base-converter:
|
base-converter:
|
||||||
title: Integer base converter
|
title: Integer base converter
|
||||||
description: Convert a number between different bases (decimal, hexadecimal, binary, octal, base64, ...)
|
description: Convert number between different bases (decimal, hexadecimal, binary, octal, base64, ...)
|
||||||
|
|
||||||
yaml-to-json-converter:
|
yaml-to-json-converter:
|
||||||
title: YAML to JSON converter
|
title: YAML to JSON converter
|
||||||
description: Simply convert YAML to JSON with this online live converter.
|
description: Simply convert YAML to JSON with this live online converter.
|
||||||
|
|
||||||
uuid-generator:
|
uuid-generator:
|
||||||
title: UUIDs generator
|
title: UUIDs generator
|
||||||
description: A Universally Unique Identifier (UUID) is a 128-bit number used to identify information in computer systems. The number of possible UUIDs is 16^32, which is 2^128 or about 3.4x10^38 (which is a lot!).
|
description: A Universally Unique Identifier (UUID) is a 128-bit number used to identify information in computer systems. The number of possible UUIDs is 16^32, which is 2^128 or about 3.4x10^38 (which is a lot!).
|
||||||
|
|
||||||
ipv4-address-converter:
|
ipv4-address-converter:
|
||||||
title: IPv4 address converter
|
title: Ipv4 address converter
|
||||||
description: Convert an IP address into decimal, binary, hexadecimal, or even an IPv6 representation of it.
|
description: Convert an ip address into decimal, binary, hexadecimal or event in ipv6
|
||||||
|
|
||||||
text-statistics:
|
text-statistics:
|
||||||
title: Text statistics
|
title: Text statistics
|
||||||
description: Get information about a text, the number of characters, the number of words, its size in bytes, ...
|
description: Get information about a text, the amount of characters, the amount of words, it\'s size, ...
|
||||||
|
|
||||||
text-to-nato-alphabet:
|
text-to-nato-alphabet:
|
||||||
title: Text to NATO alphabet
|
title: Text to NATO alphabet
|
||||||
description: Transform text into the NATO phonetic alphabet for oral transmission.
|
description: Transform text into NATO phonetic alphabet for oral transmission.
|
||||||
|
|
||||||
basic-auth-generator:
|
basic-auth-generator:
|
||||||
title: Basic auth generator
|
title: Basic auth generator
|
||||||
description: Generate a base64 basic auth header from a username and password.
|
description: Generate a base64 basic auth header from an username and a password.
|
||||||
|
|
||||||
text-to-unicode:
|
text-to-unicode:
|
||||||
title: Text to Unicode
|
title: Text to Unicode
|
||||||
@@ -374,7 +374,7 @@ tools:
|
|||||||
|
|
||||||
ipv4-range-expander:
|
ipv4-range-expander:
|
||||||
title: IPv4 range expander
|
title: IPv4 range expander
|
||||||
description: Given a start and an end IPv4 address, this tool calculates a valid IPv4 subnet along with its CIDR notation.
|
description: Given a start and an end IPv4 address this tool calculates a valid IPv4 network with its CIDR notation.
|
||||||
|
|
||||||
text-diff:
|
text-diff:
|
||||||
title: Text diff
|
title: Text diff
|
||||||
@@ -385,9 +385,9 @@ tools:
|
|||||||
description: Generate and validate time-based OTP (one time password) for multi-factor authentication.
|
description: Generate and validate time-based OTP (one time password) for multi-factor authentication.
|
||||||
|
|
||||||
url-encoder:
|
url-encoder:
|
||||||
title: Encode/decode URL-formatted strings
|
title: Encode/decode url formatted strings
|
||||||
description: Encode text to URL-encoded format (also known as "percent-encoded"), or decode from it.
|
description: Encode to url-encoded format (also known as "percent-encoded") or decode from it.
|
||||||
|
|
||||||
text-to-binary:
|
text-to-binary:
|
||||||
title: Text to ASCII binary
|
title: Text to ASCII binary
|
||||||
description: Convert text to its ASCII binary representation and vice-versa.
|
description: Convert text to its ASCII binary representation and vice versa.
|
||||||
+7
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "it-tools",
|
"name": "it-tools",
|
||||||
"version": "2024.5.10-33e5294",
|
"version": "2023.12.21-5ed3693",
|
||||||
"description": "Collection of handy online tools for developers, with great UX. ",
|
"description": "Collection of handy online tools for developers, with great UX. ",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"productivity",
|
"productivity",
|
||||||
@@ -42,6 +42,9 @@
|
|||||||
"@tiptap/starter-kit": "2.1.6",
|
"@tiptap/starter-kit": "2.1.6",
|
||||||
"@tiptap/vue-3": "2.0.3",
|
"@tiptap/vue-3": "2.0.3",
|
||||||
"@types/figlet": "^1.5.8",
|
"@types/figlet": "^1.5.8",
|
||||||
|
"@types/lodash.defaultsdeep": "^4.6.9",
|
||||||
|
"@types/lodash.flattendeep": "^4.4.9",
|
||||||
|
"@types/lodash.last": "^3.0.9",
|
||||||
"@vicons/material": "^0.12.0",
|
"@vicons/material": "^0.12.0",
|
||||||
"@vicons/tabler": "^0.12.0",
|
"@vicons/tabler": "^0.12.0",
|
||||||
"@vueuse/core": "^10.3.0",
|
"@vueuse/core": "^10.3.0",
|
||||||
@@ -68,6 +71,9 @@
|
|||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "^3.1.2",
|
||||||
"libphonenumber-js": "^1.10.28",
|
"libphonenumber-js": "^1.10.28",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
|
"lodash.defaultsdeep": "^4.6.1",
|
||||||
|
"lodash.flattendeep": "^4.4.0",
|
||||||
|
"lodash.last": "^3.0.0",
|
||||||
"marked": "^10.0.0",
|
"marked": "^10.0.0",
|
||||||
"mathjs": "^11.9.1",
|
"mathjs": "^11.9.1",
|
||||||
"mime-types": "^2.1.35",
|
"mime-types": "^2.1.35",
|
||||||
|
|||||||
Generated
+55
-6
@@ -26,6 +26,15 @@ dependencies:
|
|||||||
'@types/figlet':
|
'@types/figlet':
|
||||||
specifier: ^1.5.8
|
specifier: ^1.5.8
|
||||||
version: 1.5.8
|
version: 1.5.8
|
||||||
|
'@types/lodash.defaultsdeep':
|
||||||
|
specifier: ^4.6.9
|
||||||
|
version: 4.6.9
|
||||||
|
'@types/lodash.flattendeep':
|
||||||
|
specifier: ^4.4.9
|
||||||
|
version: 4.4.9
|
||||||
|
'@types/lodash.last':
|
||||||
|
specifier: ^3.0.9
|
||||||
|
version: 3.0.9
|
||||||
'@vicons/material':
|
'@vicons/material':
|
||||||
specifier: ^0.12.0
|
specifier: ^0.12.0
|
||||||
version: 0.12.0
|
version: 0.12.0
|
||||||
@@ -104,6 +113,15 @@ dependencies:
|
|||||||
lodash:
|
lodash:
|
||||||
specifier: ^4.17.21
|
specifier: ^4.17.21
|
||||||
version: 4.17.21
|
version: 4.17.21
|
||||||
|
lodash.defaultsdeep:
|
||||||
|
specifier: ^4.6.1
|
||||||
|
version: 4.6.1
|
||||||
|
lodash.flattendeep:
|
||||||
|
specifier: ^4.4.0
|
||||||
|
version: 4.4.0
|
||||||
|
lodash.last:
|
||||||
|
specifier: ^3.0.0
|
||||||
|
version: 3.0.0
|
||||||
marked:
|
marked:
|
||||||
specifier: ^10.0.0
|
specifier: ^10.0.0
|
||||||
version: 10.0.0
|
version: 10.0.0
|
||||||
@@ -2951,6 +2969,24 @@ packages:
|
|||||||
'@types/lodash': 4.14.192
|
'@types/lodash': 4.14.192
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/@types/lodash.defaultsdeep@4.6.9:
|
||||||
|
resolution: {integrity: sha512-pLtCFK0YkHfGtGLYLNMTbFB5/G5+RsmQCIbbHH8GOAXjv+gDkVilY98kILfe8JH2Kev0OCReYxp1AjxEjP8ixA==}
|
||||||
|
dependencies:
|
||||||
|
'@types/lodash': 4.14.200
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@types/lodash.flattendeep@4.4.9:
|
||||||
|
resolution: {integrity: sha512-Oacs/ZMuMvVWkhMqvj+Spad457Beln5pnkauif+6s65fE2cSL7J7NoMfwkxjuQsOsr4DUCDH/iDbmuZo81Nypw==}
|
||||||
|
dependencies:
|
||||||
|
'@types/lodash': 4.14.200
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@types/lodash.last@3.0.9:
|
||||||
|
resolution: {integrity: sha512-HMIEyk2LJWDumrHsuSh7ZokUs+xyXa0nZO/s3paaKjOvwrjBNoQHsM0UqcpmzEt7CJ29a16XNe3vr8buvHeMCg==}
|
||||||
|
dependencies:
|
||||||
|
'@types/lodash': 4.14.200
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@types/lodash@4.14.192:
|
/@types/lodash@4.14.192:
|
||||||
resolution: {integrity: sha512-km+Vyn3BYm5ytMO13k9KTp27O75rbQ0NFw+U//g+PX7VZyjCioXaRFisqSIJRECljcTv73G3i6BpglNGHgUQ5A==}
|
resolution: {integrity: sha512-km+Vyn3BYm5ytMO13k9KTp27O75rbQ0NFw+U//g+PX7VZyjCioXaRFisqSIJRECljcTv73G3i6BpglNGHgUQ5A==}
|
||||||
|
|
||||||
@@ -3351,7 +3387,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@unhead/dom': 0.5.1
|
'@unhead/dom': 0.5.1
|
||||||
'@unhead/schema': 0.5.1
|
'@unhead/schema': 0.5.1
|
||||||
'@vueuse/shared': 10.7.2(vue@3.3.4)
|
'@vueuse/shared': 10.9.0(vue@3.3.4)
|
||||||
unhead: 0.5.1
|
unhead: 0.5.1
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
@@ -3993,10 +4029,10 @@ packages:
|
|||||||
- vue
|
- vue
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@vueuse/shared@10.7.2(vue@3.3.4):
|
/@vueuse/shared@10.9.0(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-qFbXoxS44pi2FkgFjPvF4h7c9oMDutpyBdcJdMYIMg9XyXli2meFMuaKn+UMgsClo//Th6+beeCgqweT/79BVA==}
|
resolution: {integrity: sha512-Uud2IWncmAfJvRaFYzv5OHDli+FbOzxiVEQdLCKQKLyhz94PIyFC3CHcH7EDMwIn8NPtD06+PNbC/PiO0LGLtw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
vue-demi: 0.14.6(vue@3.3.4)
|
vue-demi: 0.14.7(vue@3.3.4)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- '@vue/composition-api'
|
||||||
- vue
|
- vue
|
||||||
@@ -6694,6 +6730,18 @@ packages:
|
|||||||
resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
|
resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/lodash.defaultsdeep@4.6.1:
|
||||||
|
resolution: {integrity: sha512-3j8wdDzYuWO3lM3Reg03MuQR957t287Rpcxp1njpEa8oDrikb+FwGdW3n+FELh/A6qib6yPit0j/pv9G/yeAqA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/lodash.flattendeep@4.4.0:
|
||||||
|
resolution: {integrity: sha512-uHaJFihxmJcEX3kT4I23ABqKKalJ/zDrDg0lsFtc1h+3uw49SIJ5beyhx5ExVRti3AvKoOJngIj7xz3oylPdWQ==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/lodash.last@3.0.0:
|
||||||
|
resolution: {integrity: sha512-14mq7rSkCxG4XMy9lF2FbIOqqgF0aH0NfPuQ3LPR3vIh0kHnUvIYP70dqa1Hf47zyXfQ8FzAg0MYOQeSuE1R7A==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/lodash.merge@4.6.2:
|
/lodash.merge@4.6.2:
|
||||||
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
||||||
dev: true
|
dev: true
|
||||||
@@ -9151,8 +9199,8 @@ packages:
|
|||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vue-demi@0.14.6(vue@3.3.4):
|
/vue-demi@0.14.7(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==}
|
resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
requiresBuild: true
|
requiresBuild: true
|
||||||
@@ -9442,6 +9490,7 @@ packages:
|
|||||||
|
|
||||||
/workbox-google-analytics@7.0.0:
|
/workbox-google-analytics@7.0.0:
|
||||||
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
|
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
|
||||||
|
deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
|
||||||
dependencies:
|
dependencies:
|
||||||
workbox-background-sync: 7.0.0
|
workbox-background-sync: 7.0.0
|
||||||
workbox-core: 7.0.0
|
workbox-core: 7.0.0
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
import { useRouteQuery } from '@vueuse/router';
|
import { useRouteQuery } from '@vueuse/router';
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { useStorage } from '@vueuse/core';
|
|
||||||
|
|
||||||
export { useQueryParam, useQueryParamOrStorage };
|
export { useQueryParam };
|
||||||
|
|
||||||
const transformers = {
|
const transformers = {
|
||||||
number: {
|
number: {
|
||||||
@@ -34,31 +33,3 @@ function useQueryParam<T>({ name, defaultValue }: { name: string; defaultValue:
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function useQueryParamOrStorage<T>({ name, storageName, defaultValue }: { name: string; storageName: string; defaultValue?: T }) {
|
|
||||||
const type = typeof defaultValue;
|
|
||||||
const transformer = transformers[type as keyof typeof transformers] ?? transformers.string;
|
|
||||||
|
|
||||||
const storageRef = useStorage(storageName, defaultValue);
|
|
||||||
const storageDefaultValue = storageRef.value ?? defaultValue;
|
|
||||||
|
|
||||||
const proxy = useRouteQuery(name, transformer.toQuery(storageDefaultValue as never));
|
|
||||||
|
|
||||||
const ref = computed<T>({
|
|
||||||
get() {
|
|
||||||
return transformer.fromQuery(proxy.value) as unknown as T;
|
|
||||||
},
|
|
||||||
set(value) {
|
|
||||||
proxy.value = transformer.toQuery(value as never);
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
watch(
|
|
||||||
ref,
|
|
||||||
(newValue) => {
|
|
||||||
storageRef.value = newValue;
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
return ref;
|
|
||||||
}
|
|
||||||
@@ -3,7 +3,6 @@ const { availableLocales, locale } = useI18n();
|
|||||||
|
|
||||||
const localesLong: Record<string, string> = {
|
const localesLong: Record<string, string> = {
|
||||||
en: 'English',
|
en: 'English',
|
||||||
de: 'Deutsch',
|
|
||||||
es: 'Español',
|
es: 'Español',
|
||||||
fr: 'Français',
|
fr: 'Français',
|
||||||
pt: 'Português',
|
pt: 'Português',
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { generateTree } from './lib/generate-tree';
|
||||||
|
import { parseInput } from './lib/parse-input';
|
||||||
|
import { withDefaultOnError } from '@/utils/defaults';
|
||||||
|
|
||||||
|
const inputStructure = ref([
|
||||||
|
'my-app',
|
||||||
|
' src',
|
||||||
|
' index.html',
|
||||||
|
' main.ts',
|
||||||
|
' main.scss',
|
||||||
|
' - build',
|
||||||
|
' - index.html',
|
||||||
|
' main.js',
|
||||||
|
' main.css',
|
||||||
|
'',
|
||||||
|
' ',
|
||||||
|
' .prettierrc.json',
|
||||||
|
' .gitlab-ci.yml',
|
||||||
|
' README.md',
|
||||||
|
'empty dir',
|
||||||
|
].join('\n'));
|
||||||
|
const outputTree = computed(() => withDefaultOnError(() => generateTree(parseInput(inputStructure.value)), ''));
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<c-input-text
|
||||||
|
v-model:value="inputStructure"
|
||||||
|
label="Your indented structure"
|
||||||
|
placeholder="Paste your indented structure here..."
|
||||||
|
rows="20"
|
||||||
|
multiline
|
||||||
|
raw-text
|
||||||
|
monospace
|
||||||
|
/>
|
||||||
|
|
||||||
|
<n-divider />
|
||||||
|
|
||||||
|
<n-form-item label="Your tree-like structure:">
|
||||||
|
<TextareaCopyable :value="outputTree" />
|
||||||
|
</n-form-item>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
import { Folder } from '@vicons/tabler';
|
||||||
|
import { defineTool } from '../tool';
|
||||||
|
|
||||||
|
export const tool = defineTool({
|
||||||
|
name: 'Folder Structure Diagram',
|
||||||
|
path: '/folder-structure-diagram',
|
||||||
|
description: 'tree-like utility for generating ASCII folder structure diagrams',
|
||||||
|
keywords: ['folder', 'structure', 'diagram', 'tree', 'ascii'],
|
||||||
|
component: () => import('./folder-structure-diagram.vue'),
|
||||||
|
icon: Folder,
|
||||||
|
createdAt: new Date('2024-04-20'),
|
||||||
|
});
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
/**
|
||||||
|
* Represents a single item in a file system
|
||||||
|
* (i.e. a file or a folder)
|
||||||
|
*/
|
||||||
|
export interface FileStructure {
|
||||||
|
/** The name of the file or folder */
|
||||||
|
name: string
|
||||||
|
|
||||||
|
/** If a folder, the contents of the folder */
|
||||||
|
children: FileStructure[]
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The number of spaces in front of the name
|
||||||
|
* in the original source string
|
||||||
|
*/
|
||||||
|
indentCount: number
|
||||||
|
|
||||||
|
/** The parent directory of this file or folder */
|
||||||
|
parent: FileStructure | null
|
||||||
|
}
|
||||||
@@ -0,0 +1,165 @@
|
|||||||
|
import { describe, expect, it } from 'vitest';
|
||||||
|
import { generateTree } from './generate-tree';
|
||||||
|
import { mockInput } from './mock-input';
|
||||||
|
import { parseInput } from './parse-input';
|
||||||
|
|
||||||
|
describe('generateTree', () => {
|
||||||
|
it('returns an UTF-8 representation of the provided FileStructure object', () => {
|
||||||
|
const actual = generateTree(parseInput(mockInput));
|
||||||
|
|
||||||
|
const expected = `
|
||||||
|
.
|
||||||
|
├── my-app
|
||||||
|
│ ├── src
|
||||||
|
│ │ ├── index.html
|
||||||
|
│ │ ├── main.ts
|
||||||
|
│ │ └── main.scss
|
||||||
|
│ ├── build
|
||||||
|
│ │ ├── index.html
|
||||||
|
│ │ ├── main.js
|
||||||
|
│ │ └── main.css
|
||||||
|
│ ├── .prettierrc.json
|
||||||
|
│ ├── .gitlab-ci.yml
|
||||||
|
│ └── README.md
|
||||||
|
└── empty dir
|
||||||
|
|
||||||
|
`.trim();
|
||||||
|
|
||||||
|
expect(actual).toEqual(expected);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('returns an ASCII representation of the provided FileStructure object', () => {
|
||||||
|
const actual = generateTree(parseInput(mockInput), { charset: 'ascii' });
|
||||||
|
|
||||||
|
const expected = `
|
||||||
|
.
|
||||||
|
|-- my-app
|
||||||
|
| |-- src
|
||||||
|
| | |-- index.html
|
||||||
|
| | |-- main.ts
|
||||||
|
| | \`-- main.scss
|
||||||
|
| |-- build
|
||||||
|
| | |-- index.html
|
||||||
|
| | |-- main.js
|
||||||
|
| | \`-- main.css
|
||||||
|
| |-- .prettierrc.json
|
||||||
|
| |-- .gitlab-ci.yml
|
||||||
|
| \`-- README.md
|
||||||
|
\`-- empty dir
|
||||||
|
|
||||||
|
`.trim();
|
||||||
|
|
||||||
|
expect(actual).toEqual(expected);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('does not render lines for parent directories that have already printed all of their children', () => {
|
||||||
|
const input = `
|
||||||
|
|
||||||
|
grandparent
|
||||||
|
parent
|
||||||
|
child
|
||||||
|
parent
|
||||||
|
child
|
||||||
|
grandchild
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
|
const actual = generateTree(parseInput(input));
|
||||||
|
|
||||||
|
const expected = `
|
||||||
|
.
|
||||||
|
└── grandparent
|
||||||
|
├── parent
|
||||||
|
│ └── child
|
||||||
|
└── parent
|
||||||
|
└── child
|
||||||
|
└── grandchild
|
||||||
|
|
||||||
|
`.trim();
|
||||||
|
|
||||||
|
expect(actual).toEqual(expected);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('appends a trailing slash to directories if trailingDirSlash === true', () => {
|
||||||
|
const input = `
|
||||||
|
|
||||||
|
grandparent
|
||||||
|
parent/
|
||||||
|
child
|
||||||
|
parent//
|
||||||
|
child
|
||||||
|
grandchild
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
|
const actual = generateTree(parseInput(input), { trailingDirSlash: true });
|
||||||
|
|
||||||
|
const expected = `
|
||||||
|
.
|
||||||
|
└── grandparent/
|
||||||
|
├── parent/
|
||||||
|
│ └── child
|
||||||
|
└── parent//
|
||||||
|
└── child/
|
||||||
|
└── grandchild
|
||||||
|
|
||||||
|
`.trim();
|
||||||
|
|
||||||
|
expect(actual).toEqual(expected);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('prints each items\' full path if fullPath === true', () => {
|
||||||
|
const input = `
|
||||||
|
|
||||||
|
grandparent
|
||||||
|
parent/
|
||||||
|
child
|
||||||
|
parent//
|
||||||
|
child
|
||||||
|
grandchild
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
|
const actual = generateTree(parseInput(input), { fullPath: true });
|
||||||
|
|
||||||
|
const expected = `
|
||||||
|
.
|
||||||
|
└── ./grandparent
|
||||||
|
├── ./grandparent/parent/
|
||||||
|
│ └── ./grandparent/parent/child
|
||||||
|
└── ./grandparent/parent//
|
||||||
|
└── ./grandparent/parent//child
|
||||||
|
└── ./grandparent/parent//child/grandchild
|
||||||
|
|
||||||
|
`.trim();
|
||||||
|
|
||||||
|
expect(actual).toEqual(expected);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('does not render the root dot if rootDot === false', () => {
|
||||||
|
const input = `
|
||||||
|
|
||||||
|
grandparent
|
||||||
|
parent
|
||||||
|
child
|
||||||
|
parent
|
||||||
|
child
|
||||||
|
grandchild
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
|
const actual = generateTree(parseInput(input), { rootDot: false });
|
||||||
|
|
||||||
|
const expected = `
|
||||||
|
grandparent
|
||||||
|
├── parent
|
||||||
|
│ └── child
|
||||||
|
└── parent
|
||||||
|
└── child
|
||||||
|
└── grandchild
|
||||||
|
|
||||||
|
`.trim();
|
||||||
|
|
||||||
|
expect(actual).toEqual(expected);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,138 @@
|
|||||||
|
import type { RecursiveArray } from 'lodash';
|
||||||
|
import defaultsDeep from 'lodash.defaultsdeep';
|
||||||
|
import flattenDeep from 'lodash.flattendeep';
|
||||||
|
import last from 'lodash.last';
|
||||||
|
import type { FileStructure } from './FileStructure';
|
||||||
|
import { LINE_STRINGS } from './line-strings';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents all rendering options available
|
||||||
|
* when calling `generateTree`
|
||||||
|
*/
|
||||||
|
interface GenerateTreeOptions {
|
||||||
|
/**
|
||||||
|
* Which set of characters to use when
|
||||||
|
* rendering directory lines
|
||||||
|
*/
|
||||||
|
charset?: 'ascii' | 'utf-8'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether or not to append trailing slashes
|
||||||
|
* to directories. Items that already include a
|
||||||
|
* trailing slash will not have another appended.
|
||||||
|
*/
|
||||||
|
trailingDirSlash?: boolean
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether or not to print the full
|
||||||
|
* path of the item
|
||||||
|
*/
|
||||||
|
fullPath?: boolean
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether or not to render a dot as the root of the tree
|
||||||
|
*/
|
||||||
|
rootDot?: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
/** The default options if no options are provided */
|
||||||
|
const defaultOptions: GenerateTreeOptions = {
|
||||||
|
charset: 'utf-8',
|
||||||
|
trailingDirSlash: false,
|
||||||
|
fullPath: false,
|
||||||
|
rootDot: true,
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generates an ASCII tree diagram, given a FileStructure
|
||||||
|
* @param structure The FileStructure object to convert into ASCII
|
||||||
|
* @param options The rendering options
|
||||||
|
*/
|
||||||
|
export function generateTree(structure: FileStructure,
|
||||||
|
options?: GenerateTreeOptions): string {
|
||||||
|
return flattenDeep([
|
||||||
|
getAsciiLine(structure, defaultsDeep({}, options, defaultOptions)),
|
||||||
|
structure.children.map(c => generateTree(c, options)) as RecursiveArray<
|
||||||
|
string
|
||||||
|
>,
|
||||||
|
])
|
||||||
|
// Remove null entries. Should only occur for the very first node
|
||||||
|
// when `options.rootDot === false`
|
||||||
|
.filter(line => line != null)
|
||||||
|
.join('\n');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a line of ASCII that represents
|
||||||
|
* a single FileStructure object
|
||||||
|
* @param structure The file to render
|
||||||
|
* @param options The rendering options
|
||||||
|
*/
|
||||||
|
function getAsciiLine(structure: FileStructure,
|
||||||
|
options: GenerateTreeOptions): string | null {
|
||||||
|
const lines = LINE_STRINGS[options.charset as string];
|
||||||
|
|
||||||
|
// Special case for the root element
|
||||||
|
if (!structure.parent) {
|
||||||
|
return options.rootDot ? structure.name : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const chunks = [
|
||||||
|
isLastChild(structure) ? lines.LAST_CHILD : lines.CHILD,
|
||||||
|
getName(structure, options),
|
||||||
|
];
|
||||||
|
|
||||||
|
let current = structure.parent;
|
||||||
|
while (current && current.parent) {
|
||||||
|
chunks.unshift(isLastChild(current) ? lines.EMPTY : lines.DIRECTORY);
|
||||||
|
current = current.parent;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Join all the chunks together to create the final line.
|
||||||
|
// If we're not rendering the root `.`, chop off the first 4 characters.
|
||||||
|
return chunks.join('').substring(options.rootDot ? 0 : lines.CHILD.length);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the name of a file or folder according to the
|
||||||
|
* rules specified by the rendering rules
|
||||||
|
* @param structure The file or folder to get the name of
|
||||||
|
* @param options The rendering options
|
||||||
|
*/
|
||||||
|
function getName(structure: FileStructure,
|
||||||
|
options: GenerateTreeOptions): string {
|
||||||
|
const nameChunks = [structure.name];
|
||||||
|
|
||||||
|
// Optionally append a trailing slash
|
||||||
|
if (
|
||||||
|
// if the trailing slash option is enabled
|
||||||
|
options.trailingDirSlash
|
||||||
|
// and if the item has at least one child
|
||||||
|
&& structure.children.length > 0
|
||||||
|
// and if the item doesn't already have a trailing slash
|
||||||
|
&& !/\/\s*$/.test(structure.name)
|
||||||
|
) {
|
||||||
|
nameChunks.push('/');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Optionally prefix the name with its full path
|
||||||
|
if (options.fullPath && structure.parent && structure.parent) {
|
||||||
|
nameChunks.unshift(
|
||||||
|
getName(
|
||||||
|
structure.parent,
|
||||||
|
defaultsDeep({}, { trailingDirSlash: true }, options),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return nameChunks.join('');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A utility function do determine if a file or folder
|
||||||
|
* is the last child of its parent
|
||||||
|
* @param structure The file or folder to test
|
||||||
|
*/
|
||||||
|
function isLastChild(structure: FileStructure): boolean {
|
||||||
|
return Boolean(structure.parent && last(structure.parent.children) === structure);
|
||||||
|
}
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/**
|
||||||
|
* Represents an object that contains the
|
||||||
|
* actual strings used to render the tree
|
||||||
|
*/
|
||||||
|
export interface LineStringSet {
|
||||||
|
/** The string to render immediately before non-last children */
|
||||||
|
CHILD: string
|
||||||
|
|
||||||
|
/** The string to render immediately before the last child */
|
||||||
|
LAST_CHILD: string
|
||||||
|
|
||||||
|
/** The string to render for parent directories */
|
||||||
|
DIRECTORY: string
|
||||||
|
|
||||||
|
/** The string to render for empty space */
|
||||||
|
EMPTY: string
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Contains all strings for tree rendering */
|
||||||
|
export const LINE_STRINGS: { [charset: string]: LineStringSet } = {
|
||||||
|
'ascii': {
|
||||||
|
CHILD: '|-- ',
|
||||||
|
LAST_CHILD: '`-- ',
|
||||||
|
DIRECTORY: '| ',
|
||||||
|
EMPTY: ' ',
|
||||||
|
},
|
||||||
|
'utf-8': {
|
||||||
|
CHILD: '├── ',
|
||||||
|
LAST_CHILD: '└── ',
|
||||||
|
DIRECTORY: '│ ',
|
||||||
|
EMPTY: ' ',
|
||||||
|
},
|
||||||
|
};
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
// not using a template string in order
|
||||||
|
// to have more control over whitespace
|
||||||
|
export const mockInput = [
|
||||||
|
'my-app',
|
||||||
|
' src',
|
||||||
|
' index.html',
|
||||||
|
' main.ts',
|
||||||
|
' main.scss',
|
||||||
|
' - build',
|
||||||
|
' - index.html',
|
||||||
|
' main.js',
|
||||||
|
' main.css',
|
||||||
|
'',
|
||||||
|
' ',
|
||||||
|
' .prettierrc.json',
|
||||||
|
' .gitlab-ci.yml',
|
||||||
|
' README.md',
|
||||||
|
'empty dir',
|
||||||
|
].join('\n');
|
||||||
@@ -0,0 +1,147 @@
|
|||||||
|
import { describe, expect, it } from 'vitest';
|
||||||
|
import type { FileStructure } from './FileStructure';
|
||||||
|
import { mockInput } from './mock-input';
|
||||||
|
import { parseInput, splitInput } from './parse-input';
|
||||||
|
|
||||||
|
describe('parse-input', () => {
|
||||||
|
it('parses plain text input into a FileStructure object', () => {
|
||||||
|
const actual = parseInput(mockInput);
|
||||||
|
|
||||||
|
const root: FileStructure = {
|
||||||
|
name: '.',
|
||||||
|
children: [],
|
||||||
|
indentCount: -1,
|
||||||
|
parent: null,
|
||||||
|
};
|
||||||
|
|
||||||
|
const myApp: FileStructure = {
|
||||||
|
name: 'my-app',
|
||||||
|
children: [],
|
||||||
|
indentCount: 0,
|
||||||
|
parent: root,
|
||||||
|
};
|
||||||
|
root.children.push(myApp);
|
||||||
|
|
||||||
|
const src: FileStructure = {
|
||||||
|
name: 'src',
|
||||||
|
children: [],
|
||||||
|
indentCount: 2,
|
||||||
|
parent: myApp,
|
||||||
|
};
|
||||||
|
myApp.children.push(src);
|
||||||
|
|
||||||
|
const srcIndexHtml: FileStructure = {
|
||||||
|
name: 'index.html',
|
||||||
|
children: [],
|
||||||
|
indentCount: 4,
|
||||||
|
parent: src,
|
||||||
|
};
|
||||||
|
src.children.push(srcIndexHtml);
|
||||||
|
|
||||||
|
const mainTs: FileStructure = {
|
||||||
|
name: 'main.ts',
|
||||||
|
children: [],
|
||||||
|
indentCount: 4,
|
||||||
|
parent: src,
|
||||||
|
};
|
||||||
|
src.children.push(mainTs);
|
||||||
|
|
||||||
|
const mainScss: FileStructure = {
|
||||||
|
name: 'main.scss',
|
||||||
|
children: [],
|
||||||
|
indentCount: 3,
|
||||||
|
parent: src,
|
||||||
|
};
|
||||||
|
src.children.push(mainScss);
|
||||||
|
|
||||||
|
const build: FileStructure = {
|
||||||
|
name: 'build',
|
||||||
|
children: [],
|
||||||
|
indentCount: 2,
|
||||||
|
parent: myApp,
|
||||||
|
};
|
||||||
|
myApp.children.push(build);
|
||||||
|
|
||||||
|
const buildIndexHtml: FileStructure = {
|
||||||
|
name: 'index.html',
|
||||||
|
children: [],
|
||||||
|
indentCount: 4,
|
||||||
|
parent: build,
|
||||||
|
};
|
||||||
|
build.children.push(buildIndexHtml);
|
||||||
|
|
||||||
|
const mainJs: FileStructure = {
|
||||||
|
name: 'main.js',
|
||||||
|
children: [],
|
||||||
|
indentCount: 4,
|
||||||
|
parent: build,
|
||||||
|
};
|
||||||
|
build.children.push(mainJs);
|
||||||
|
|
||||||
|
const mainCss: FileStructure = {
|
||||||
|
name: 'main.css',
|
||||||
|
children: [],
|
||||||
|
indentCount: 4,
|
||||||
|
parent: build,
|
||||||
|
};
|
||||||
|
build.children.push(mainCss);
|
||||||
|
|
||||||
|
const prettierRcJson: FileStructure = {
|
||||||
|
name: '.prettierrc.json',
|
||||||
|
children: [],
|
||||||
|
indentCount: 2,
|
||||||
|
parent: myApp,
|
||||||
|
};
|
||||||
|
myApp.children.push(prettierRcJson);
|
||||||
|
|
||||||
|
const gitlabCiYml: FileStructure = {
|
||||||
|
name: '.gitlab-ci.yml',
|
||||||
|
children: [],
|
||||||
|
indentCount: 2,
|
||||||
|
parent: myApp,
|
||||||
|
};
|
||||||
|
myApp.children.push(gitlabCiYml);
|
||||||
|
|
||||||
|
const readmeMd: FileStructure = {
|
||||||
|
name: 'README.md',
|
||||||
|
children: [],
|
||||||
|
indentCount: 2,
|
||||||
|
parent: myApp,
|
||||||
|
};
|
||||||
|
myApp.children.push(readmeMd);
|
||||||
|
|
||||||
|
const emptyDir: FileStructure = {
|
||||||
|
name: 'empty dir',
|
||||||
|
children: [],
|
||||||
|
indentCount: 0,
|
||||||
|
parent: root,
|
||||||
|
};
|
||||||
|
root.children.push(emptyDir);
|
||||||
|
|
||||||
|
expect(actual).toEqual(root);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('splitInput', () => {
|
||||||
|
it('splits plain text into an array of File Structure objects', () => {
|
||||||
|
const actual = splitInput(mockInput);
|
||||||
|
|
||||||
|
const expected = [
|
||||||
|
{ name: 'my-app', children: [], indentCount: 0, parent: null },
|
||||||
|
{ name: 'src', children: [], indentCount: 2, parent: null },
|
||||||
|
{ name: 'index.html', children: [], indentCount: 4, parent: null },
|
||||||
|
{ name: 'main.ts', children: [], indentCount: 4, parent: null },
|
||||||
|
{ name: 'main.scss', children: [], indentCount: 3, parent: null },
|
||||||
|
{ name: 'build', children: [], indentCount: 2, parent: null },
|
||||||
|
{ name: 'index.html', children: [], indentCount: 4, parent: null },
|
||||||
|
{ name: 'main.js', children: [], indentCount: 4, parent: null },
|
||||||
|
{ name: 'main.css', children: [], indentCount: 4, parent: null },
|
||||||
|
{ name: '.prettierrc.json', children: [], indentCount: 2, parent: null },
|
||||||
|
{ name: '.gitlab-ci.yml', children: [], indentCount: 2, parent: null },
|
||||||
|
{ name: 'README.md', children: [], indentCount: 2, parent: null },
|
||||||
|
{ name: 'empty dir', children: [], indentCount: 0, parent: null },
|
||||||
|
];
|
||||||
|
|
||||||
|
expect(actual).toEqual(expected);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
import last from 'lodash.last';
|
||||||
|
import type { FileStructure } from './FileStructure';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Matches the whitespace in front of a file name.
|
||||||
|
* Also will match a markdown bullet point if included.
|
||||||
|
* For example, testing against " - hello" will return
|
||||||
|
* a positive match with the first capturing group
|
||||||
|
* with " - " and a second with " "
|
||||||
|
*/
|
||||||
|
const leadingWhitespaceAndBulletRegex = /^((\s*)(?:-\s)?)/;
|
||||||
|
|
||||||
|
/** Matches lines that only contain whitespace */
|
||||||
|
const onlyWhitespaceRegex = /^\s*$/;
|
||||||
|
|
||||||
|
/** Used to split a block of text into individual lines */
|
||||||
|
const newlineSplitterRegex = /[^\r\n]+/g;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Translates a block of user-created text into
|
||||||
|
* a nested FileStructure structure
|
||||||
|
* @param input The plain-text input from the user
|
||||||
|
*/
|
||||||
|
export function parseInput(input: string): FileStructure {
|
||||||
|
const structures = splitInput(input);
|
||||||
|
|
||||||
|
const root: FileStructure = {
|
||||||
|
name: '.',
|
||||||
|
children: [],
|
||||||
|
indentCount: -1,
|
||||||
|
parent: null,
|
||||||
|
};
|
||||||
|
|
||||||
|
const path = [root];
|
||||||
|
for (const s of structures) {
|
||||||
|
while (last(path)!.indentCount >= s.indentCount) {
|
||||||
|
path.pop();
|
||||||
|
}
|
||||||
|
|
||||||
|
const parent = last(path) as FileStructure;
|
||||||
|
parent.children.push(s);
|
||||||
|
s.parent = parent;
|
||||||
|
|
||||||
|
path.push(s);
|
||||||
|
}
|
||||||
|
|
||||||
|
return root;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Splits a block of user-created text into
|
||||||
|
* individual, un-nested FileStructure objects.
|
||||||
|
* Used internally as part of `parseInput`.
|
||||||
|
* @param input The plain-text input from the user
|
||||||
|
*/
|
||||||
|
export function splitInput(input: string): FileStructure[] {
|
||||||
|
let lines = input.match(newlineSplitterRegex)?.map(m => m) || [];
|
||||||
|
|
||||||
|
// filter out empty lines
|
||||||
|
lines = lines.filter(l => !onlyWhitespaceRegex.test(l));
|
||||||
|
|
||||||
|
return lines.map((l) => {
|
||||||
|
const matchResult = leadingWhitespaceAndBulletRegex.exec(l);
|
||||||
|
|
||||||
|
if (!matchResult) {
|
||||||
|
throw new Error(
|
||||||
|
`Unable to execute leadingWhitespaceAndBulletRegex against string: "${l}"`,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const name = l.replace(matchResult[1], '');
|
||||||
|
const indentCount = matchResult[2].length;
|
||||||
|
|
||||||
|
return {
|
||||||
|
name,
|
||||||
|
children: [],
|
||||||
|
indentCount,
|
||||||
|
parent: null,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -6,6 +6,7 @@ import { tool as asciiTextDrawer } from './ascii-text-drawer';
|
|||||||
|
|
||||||
import { tool as textToUnicode } from './text-to-unicode';
|
import { tool as textToUnicode } from './text-to-unicode';
|
||||||
import { tool as safelinkDecoder } from './safelink-decoder';
|
import { tool as safelinkDecoder } from './safelink-decoder';
|
||||||
|
import { tool as folderStructureDiagram } from './folder-structure-diagram';
|
||||||
import { tool as pdfSignatureChecker } from './pdf-signature-checker';
|
import { tool as pdfSignatureChecker } from './pdf-signature-checker';
|
||||||
import { tool as numeronymGenerator } from './numeronym-generator';
|
import { tool as numeronymGenerator } from './numeronym-generator';
|
||||||
import { tool as macAddressGenerator } from './mac-address-generator';
|
import { tool as macAddressGenerator } from './mac-address-generator';
|
||||||
@@ -128,6 +129,7 @@ export const toolsByCategory: ToolCategory[] = [
|
|||||||
httpStatusCodes,
|
httpStatusCodes,
|
||||||
jsonDiff,
|
jsonDiff,
|
||||||
safelinkDecoder,
|
safelinkDecoder,
|
||||||
|
folderStructureDiagram,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -94,19 +94,5 @@ describe('token-generator', () => {
|
|||||||
expect(token).toHaveLength(256);
|
expect(token).toHaveLength(256);
|
||||||
expect(token).toMatch(/^[a-zA-Z]+$/);
|
expect(token).toMatch(/^[a-zA-Z]+$/);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should generate a random string with just numbers except 1 and 2 if only withNumbers is set and deniedChars contains 1 and 2', () => {
|
|
||||||
const token = createToken({
|
|
||||||
withLowercase: false,
|
|
||||||
withUppercase: false,
|
|
||||||
withNumbers: true,
|
|
||||||
withSymbols: false,
|
|
||||||
length: 256,
|
|
||||||
deniedChars: '12',
|
|
||||||
});
|
|
||||||
|
|
||||||
expect(token).toHaveLength(256);
|
|
||||||
expect(token).toMatch(/^[0-9]+$/);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -5,7 +5,6 @@ export function createToken({
|
|||||||
withLowercase = true,
|
withLowercase = true,
|
||||||
withNumbers = true,
|
withNumbers = true,
|
||||||
withSymbols = false,
|
withSymbols = false,
|
||||||
deniedChars = '',
|
|
||||||
length = 64,
|
length = 64,
|
||||||
alphabet,
|
alphabet,
|
||||||
}: {
|
}: {
|
||||||
@@ -13,7 +12,6 @@ export function createToken({
|
|||||||
withLowercase?: boolean
|
withLowercase?: boolean
|
||||||
withNumbers?: boolean
|
withNumbers?: boolean
|
||||||
withSymbols?: boolean
|
withSymbols?: boolean
|
||||||
deniedChars?: string
|
|
||||||
length?: number
|
length?: number
|
||||||
alphabet?: string
|
alphabet?: string
|
||||||
}) {
|
}) {
|
||||||
@@ -22,7 +20,7 @@ export function createToken({
|
|||||||
withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '',
|
withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '',
|
||||||
withNumbers ? '0123456789' : '',
|
withNumbers ? '0123456789' : '',
|
||||||
withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '',
|
withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '',
|
||||||
].filter(c => !(deniedChars?.includes(c))).join(''); ;
|
].join(''); ;
|
||||||
|
|
||||||
return shuffleString(allAlphabet.repeat(length)).substring(0, length);
|
return shuffleString(allAlphabet.repeat(length)).substring(0, length);
|
||||||
}
|
}
|
||||||
@@ -1,87 +1,75 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { createToken } from './token-generator.service';
|
import { createToken } from './token-generator.service';
|
||||||
import { useCopy } from '@/composable/copy';
|
import { useCopy } from '@/composable/copy';
|
||||||
import { useQueryParamOrStorage } from '@/composable/queryParams';
|
import { useQueryParam } from '@/composable/queryParams';
|
||||||
import { computedRefreshable } from '@/composable/computedRefreshable';
|
import { computedRefreshable } from '@/composable/computedRefreshable';
|
||||||
|
|
||||||
const count = useQueryParamOrStorage({ name: 'count', storageName: 'token-generator:count', defaultValue: 1 });
|
const length = useQueryParam({ name: 'length', defaultValue: 64 });
|
||||||
const length = useQueryParamOrStorage({ name: 'length', storageName: 'token-generator:length', defaultValue: 64 });
|
const withUppercase = useQueryParam({ name: 'uppercase', defaultValue: true });
|
||||||
const withUppercase = useQueryParamOrStorage({ name: 'uppercase', storageName: 'token-generator:uppercase', defaultValue: true });
|
const withLowercase = useQueryParam({ name: 'lowercase', defaultValue: true });
|
||||||
const withLowercase = useQueryParamOrStorage({ name: 'lowercase', storageName: 'token-generator:lowercase', defaultValue: true });
|
const withNumbers = useQueryParam({ name: 'numbers', defaultValue: true });
|
||||||
const withNumbers = useQueryParamOrStorage({ name: 'numbers', storageName: 'token-generator:numbers', defaultValue: true });
|
const withSymbols = useQueryParam({ name: 'symbols', defaultValue: false });
|
||||||
const withSymbols = useQueryParamOrStorage({ name: 'symbols', storageName: 'token-generator:symbols', defaultValue: false });
|
|
||||||
const deniedChars = useQueryParamOrStorage({ name: 'deny', storageName: 'token-generator:deny', defaultValue: '' });
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
const [tokens, refreshTokens] = computedRefreshable(() =>
|
const [token, refreshToken] = computedRefreshable(() =>
|
||||||
Array.from({ length: count.value },
|
createToken({
|
||||||
() => createToken({
|
length: length.value,
|
||||||
length: length.value,
|
withUppercase: withUppercase.value,
|
||||||
withUppercase: withUppercase.value,
|
withLowercase: withLowercase.value,
|
||||||
withLowercase: withLowercase.value,
|
withNumbers: withNumbers.value,
|
||||||
withNumbers: withNumbers.value,
|
withSymbols: withSymbols.value,
|
||||||
withSymbols: withSymbols.value,
|
}),
|
||||||
deniedChars: deniedChars.value,
|
|
||||||
})).join('\n'),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const { copy } = useCopy({ source: tokens, text: t('tools.token-generator.copied') });
|
const { copy } = useCopy({ source: token, text: t('tools.token-generator.copied') });
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<c-card>
|
<c-card>
|
||||||
<n-form label-placement="left" label-width="140">
|
<n-form label-placement="left" label-width="140">
|
||||||
<n-space justify="center">
|
<div flex justify-center>
|
||||||
<n-form-item :label="t('tools.token-generator.uppercase')">
|
<div>
|
||||||
<n-switch v-model:value="withUppercase" />
|
<n-form-item :label="t('tools.token-generator.uppercase')">
|
||||||
</n-form-item>
|
<n-switch v-model:value="withUppercase" />
|
||||||
|
</n-form-item>
|
||||||
|
|
||||||
<n-form-item :label="t('tools.token-generator.lowercase')">
|
<n-form-item :label="t('tools.token-generator.lowercase')">
|
||||||
<n-switch v-model:value="withLowercase" />
|
<n-switch v-model:value="withLowercase" />
|
||||||
</n-form-item>
|
</n-form-item>
|
||||||
<n-form-item :label="t('tools.token-generator.numbers')">
|
</div>
|
||||||
<n-switch v-model:value="withNumbers" />
|
|
||||||
</n-form-item>
|
|
||||||
|
|
||||||
<n-form-item :label="t('tools.token-generator.symbols')">
|
<div>
|
||||||
<n-switch v-model:value="withSymbols" />
|
<n-form-item :label="t('tools.token-generator.numbers')">
|
||||||
</n-form-item>
|
<n-switch v-model:value="withNumbers" />
|
||||||
</n-space>
|
</n-form-item>
|
||||||
|
|
||||||
|
<n-form-item :label="t('tools.token-generator.symbols')">
|
||||||
|
<n-switch v-model:value="withSymbols" />
|
||||||
|
</n-form-item>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</n-form>
|
</n-form>
|
||||||
|
|
||||||
<n-form-item label="Denied Characters" label-placement="left">
|
|
||||||
<c-input-text
|
|
||||||
v-model:value="deniedChars"
|
|
||||||
placeholder="Put characters to deny from token"
|
|
||||||
/>
|
|
||||||
</n-form-item>
|
|
||||||
|
|
||||||
<n-form-item :label="`${t('tools.token-generator.length')} (${length})`" label-placement="left">
|
<n-form-item :label="`${t('tools.token-generator.length')} (${length})`" label-placement="left">
|
||||||
<n-slider v-model:value="length" :step="1" :min="1" :max="512" mr-2 />
|
<n-slider v-model:value="length" :step="1" :min="1" :max="512" />
|
||||||
<n-input-number v-model:value="length" size="small" />
|
|
||||||
</n-form-item>
|
|
||||||
|
|
||||||
<n-form-item label="Number of token to generate" label-placement="left">
|
|
||||||
<n-input-number v-model:value="count" size="small" />
|
|
||||||
</n-form-item>
|
</n-form-item>
|
||||||
|
|
||||||
<c-input-text
|
<c-input-text
|
||||||
v-model:value="tokens"
|
v-model:value="token"
|
||||||
multiline
|
multiline
|
||||||
:placeholder="t('tools.token-generator.tokenPlaceholder')"
|
:placeholder="t('tools.token-generator.tokenPlaceholder')"
|
||||||
readonly
|
readonly
|
||||||
rows="3"
|
rows="3"
|
||||||
autosize
|
autosize
|
||||||
class="token-display"
|
class="token-display"
|
||||||
word-wrap
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div mt-5 flex justify-center gap-3>
|
<div mt-5 flex justify-center gap-3>
|
||||||
<c-button @click="copy()">
|
<c-button @click="copy()">
|
||||||
{{ t('tools.token-generator.button.copy') }}
|
{{ t('tools.token-generator.button.copy') }}
|
||||||
</c-button>
|
</c-button>
|
||||||
<c-button @click="refreshTokens">
|
<c-button @click="refreshToken">
|
||||||
{{ t('tools.token-generator.button.refresh') }}
|
{{ t('tools.token-generator.button.refresh') }}
|
||||||
</c-button>
|
</c-button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const decodeInput = ref('Hello%20world%20%3A)');
|
|||||||
const decodeOutput = computed(() => withDefaultOnError(() => decodeURIComponent(decodeInput.value), ''));
|
const decodeOutput = computed(() => withDefaultOnError(() => decodeURIComponent(decodeInput.value), ''));
|
||||||
|
|
||||||
const decodeValidation = useValidation({
|
const decodeValidation = useValidation({
|
||||||
source: decodeInput,
|
source: encodeInput,
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
validator: value => isNotThrowing(() => decodeURIComponent(value)),
|
validator: value => isNotThrowing(() => decodeURIComponent(value)),
|
||||||
|
|||||||
Reference in new issue
Block a user