2022-07-25 23:21:42 +02:00
|
|
|
import { tool as base64FileConverter } from './base64-file-converter';
|
|
|
|
import { tool as base64StringConverter } from './base64-string-converter';
|
2022-07-25 18:37:14 +02:00
|
|
|
import { tool as basicAuthGenerator } from './basic-auth-generator';
|
2023-10-31 13:34:24 +02:00
|
|
|
import { tool as macAddressGenerator } from './mac-address-generator';
|
2023-10-16 00:57:47 +02:00
|
|
|
import { tool as textToBinary } from './text-to-binary';
|
2023-09-12 00:57:42 +02:00
|
|
|
import { tool as ulidGenerator } from './ulid-generator';
|
2023-08-27 20:12:31 +02:00
|
|
|
import { tool as ibanValidatorAndParser } from './iban-validator-and-parser';
|
2023-08-16 23:43:45 +02:00
|
|
|
import { tool as stringObfuscator } from './string-obfuscator';
|
2023-08-26 16:43:47 +02:00
|
|
|
import { tool as textDiff } from './text-diff';
|
2023-08-08 09:19:43 +02:00
|
|
|
import { tool as emojiPicker } from './emoji-picker';
|
2023-06-25 10:26:29 +02:00
|
|
|
import { tool as passwordStrengthAnalyser } from './password-strength-analyser';
|
2023-06-23 21:40:43 +02:00
|
|
|
import { tool as yamlToToml } from './yaml-to-toml';
|
2023-06-23 21:40:30 +02:00
|
|
|
import { tool as jsonToToml } from './json-to-toml';
|
2023-06-23 21:39:37 +02:00
|
|
|
import { tool as tomlToYaml } from './toml-to-yaml';
|
2023-06-23 21:33:54 +02:00
|
|
|
import { tool as tomlToJson } from './toml-to-json';
|
2023-06-18 17:57:18 +02:00
|
|
|
import { tool as jsonToCsv } from './json-to-csv';
|
2023-05-16 23:12:37 +02:00
|
|
|
import { tool as cameraRecorder } from './camera-recorder';
|
2023-05-07 11:29:22 +02:00
|
|
|
import { tool as listConverter } from './list-converter';
|
2023-05-01 16:43:45 +02:00
|
|
|
import { tool as phoneParserAndFormatter } from './phone-parser-and-formatter';
|
2023-04-22 00:49:03 +02:00
|
|
|
import { tool as jsonDiff } from './json-diff';
|
2023-04-19 20:30:45 +02:00
|
|
|
import { tool as ipv4RangeExpander } from './ipv4-range-expander';
|
2023-04-14 01:20:47 +02:00
|
|
|
import { tool as httpStatusCodes } from './http-status-codes';
|
2023-04-10 17:34:58 +02:00
|
|
|
import { tool as yamlToJson } from './yaml-to-json-converter';
|
|
|
|
import { tool as jsonToYaml } from './json-to-yaml-converter';
|
2023-04-09 20:58:27 +02:00
|
|
|
import { tool as ipv6UlaGenerator } from './ipv6-ula-generator';
|
2023-04-08 21:10:00 +02:00
|
|
|
import { tool as ipv4AddressConverter } from './ipv4-address-converter';
|
2023-04-05 22:55:40 +02:00
|
|
|
import { tool as benchmarkBuilder } from './benchmark-builder';
|
2023-04-06 10:28:12 +02:00
|
|
|
import { tool as userAgentParser } from './user-agent-parser';
|
2023-03-28 23:31:11 +02:00
|
|
|
import { tool as ipv4SubnetCalculator } from './ipv4-subnet-calculator';
|
2023-03-27 17:31:13 +02:00
|
|
|
import { tool as dockerRunToDockerComposeConverter } from './docker-run-to-docker-compose-converter';
|
2023-03-26 19:04:42 +02:00
|
|
|
import { tool as htmlWysiwygEditor } from './html-wysiwyg-editor';
|
2023-03-10 18:16:55 +01:00
|
|
|
import { tool as rsaKeyPairGenerator } from './rsa-key-pair-generator';
|
2023-02-15 00:43:08 +01:00
|
|
|
import { tool as textToNatoAlphabet } from './text-to-nato-alphabet';
|
2023-02-10 22:06:32 +01:00
|
|
|
import { tool as slugifyString } from './slugify-string';
|
2023-02-06 23:11:22 +01:00
|
|
|
import { tool as keycodeInfo } from './keycode-info';
|
2023-02-04 16:56:17 +08:00
|
|
|
import { tool as jsonMinify } from './json-minify';
|
2022-04-18 10:16:59 +02:00
|
|
|
import { tool as bcrypt } from './bcrypt';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as bip39 } from './bip39-generator';
|
2022-04-16 00:03:31 +02:00
|
|
|
import { tool as caseConverter } from './case-converter';
|
2023-01-13 18:26:28 +01:00
|
|
|
import { tool as chmodCalculator } from './chmod-calculator';
|
2022-07-24 00:58:18 +02:00
|
|
|
import { tool as chronometer } from './chronometer';
|
2022-04-15 18:50:07 +02:00
|
|
|
import { tool as colorConverter } from './color-converter';
|
2022-04-14 02:02:05 +02:00
|
|
|
import { tool as crontabGenerator } from './crontab-generator';
|
2022-04-12 01:43:49 +02:00
|
|
|
import { tool as dateTimeConverter } from './date-time-converter';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as deviceInformation } from './device-information';
|
|
|
|
import { tool as cypher } from './encryption';
|
2022-07-24 18:28:06 +02:00
|
|
|
import { tool as etaCalculator } from './eta-calculator';
|
2023-06-18 17:24:39 +01:00
|
|
|
import { tool as percentageCalculator } from './percentage-calculator';
|
2022-04-12 13:24:14 +02:00
|
|
|
import { tool as gitMemo } from './git-memo';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as hashText } from './hash-text';
|
2022-08-03 13:59:45 +02:00
|
|
|
import { tool as hmacGenerator } from './hmac-generator';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as htmlEntities } from './html-entities';
|
2022-04-12 14:27:52 +02:00
|
|
|
import { tool as baseConverter } from './integer-base-converter';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as jsonViewer } from './json-viewer';
|
2023-01-13 18:26:28 +01:00
|
|
|
import { tool as jwtParser } from './jwt-parser';
|
2022-04-14 00:00:29 +02:00
|
|
|
import { tool as loremIpsumGenerator } from './lorem-ipsum-generator';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as mathEvaluator } from './math-evaluator';
|
2022-08-17 14:36:52 +02:00
|
|
|
import { tool as metaTagGenerator } from './meta-tag-generator';
|
2023-01-13 18:26:28 +01:00
|
|
|
import { tool as mimeTypes } from './mime-types';
|
|
|
|
import { tool as otpCodeGeneratorAndValidator } from './otp-code-generator-and-validator';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as qrCodeGenerator } from './qr-code-generator';
|
2023-09-06 09:46:40 +02:00
|
|
|
import { tool as wifiQrCodeGenerator } from './wifi-qr-code-generator';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as randomPortGenerator } from './random-port-generator';
|
|
|
|
import { tool as romanNumeralConverter } from './roman-numeral-converter';
|
2022-07-24 14:37:27 +02:00
|
|
|
import { tool as sqlPrettify } from './sql-prettify';
|
2022-08-03 13:58:00 +02:00
|
|
|
import { tool as svgPlaceholderGenerator } from './svg-placeholder-generator';
|
2023-01-13 18:26:28 +01:00
|
|
|
import { tool as temperatureConverter } from './temperature-converter';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as textStatistics } from './text-statistics';
|
|
|
|
import { tool as tokenGenerator } from './token-generator';
|
2023-01-13 18:26:28 +01:00
|
|
|
import type { ToolCategory } from './tools.types';
|
2022-07-23 23:04:57 +02:00
|
|
|
import { tool as urlEncoder } from './url-encoder';
|
|
|
|
import { tool as urlParser } from './url-parser';
|
|
|
|
import { tool as uuidGenerator } from './uuid-generator';
|
2023-04-07 00:18:06 +02:00
|
|
|
import { tool as macAddressLookup } from './mac-address-lookup';
|
2023-06-18 12:27:26 +02:00
|
|
|
import { tool as xmlFormatter } from './xml-formatter';
|
2022-04-04 00:25:29 +02:00
|
|
|
|
|
|
|
export const toolsByCategory: ToolCategory[] = [
|
|
|
|
{
|
|
|
|
name: 'Crypto',
|
2023-09-12 00:57:42 +02:00
|
|
|
components: [tokenGenerator, hashText, bcrypt, uuidGenerator, ulidGenerator, cypher, bip39, hmacGenerator, rsaKeyPairGenerator, passwordStrengthAnalyser],
|
2022-04-04 00:25:29 +02:00
|
|
|
},
|
2022-04-04 23:33:39 +02:00
|
|
|
{
|
|
|
|
name: 'Converter',
|
2022-04-22 23:31:40 +02:00
|
|
|
components: [
|
|
|
|
dateTimeConverter,
|
|
|
|
baseConverter,
|
|
|
|
romanNumeralConverter,
|
2022-07-25 23:21:42 +02:00
|
|
|
base64StringConverter,
|
|
|
|
base64FileConverter,
|
2022-04-22 23:31:40 +02:00
|
|
|
colorConverter,
|
|
|
|
caseConverter,
|
2023-02-15 00:43:08 +01:00
|
|
|
textToNatoAlphabet,
|
2023-10-16 00:57:47 +02:00
|
|
|
textToBinary,
|
2023-04-10 17:34:58 +02:00
|
|
|
yamlToJson,
|
2023-06-23 21:40:43 +02:00
|
|
|
yamlToToml,
|
2023-04-10 17:34:58 +02:00
|
|
|
jsonToYaml,
|
2023-06-23 21:40:30 +02:00
|
|
|
jsonToToml,
|
2023-05-07 11:29:22 +02:00
|
|
|
listConverter,
|
2023-06-23 21:33:54 +02:00
|
|
|
tomlToJson,
|
2023-06-23 21:39:37 +02:00
|
|
|
tomlToYaml,
|
2022-04-22 23:31:40 +02:00
|
|
|
],
|
2022-04-04 23:33:39 +02:00
|
|
|
},
|
2022-04-13 13:29:44 +02:00
|
|
|
{
|
|
|
|
name: 'Web',
|
2022-08-24 00:10:53 +02:00
|
|
|
components: [
|
|
|
|
urlEncoder,
|
|
|
|
htmlEntities,
|
|
|
|
urlParser,
|
|
|
|
deviceInformation,
|
|
|
|
basicAuthGenerator,
|
|
|
|
metaTagGenerator,
|
|
|
|
otpCodeGeneratorAndValidator,
|
2022-11-14 22:13:26 +01:00
|
|
|
mimeTypes,
|
2022-12-27 09:38:35 +01:00
|
|
|
jwtParser,
|
2023-02-06 23:11:22 +01:00
|
|
|
keycodeInfo,
|
2023-02-10 22:06:32 +01:00
|
|
|
slugifyString,
|
2023-03-26 19:04:42 +02:00
|
|
|
htmlWysiwygEditor,
|
2023-04-06 10:28:12 +02:00
|
|
|
userAgentParser,
|
2023-04-14 01:20:47 +02:00
|
|
|
httpStatusCodes,
|
2023-04-22 00:49:03 +02:00
|
|
|
jsonDiff,
|
2022-08-24 00:10:53 +02:00
|
|
|
],
|
2022-08-03 13:58:00 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-16 23:12:37 +02:00
|
|
|
name: 'Images and videos',
|
2023-09-06 09:46:40 +02:00
|
|
|
components: [qrCodeGenerator, wifiQrCodeGenerator, svgPlaceholderGenerator, cameraRecorder],
|
2022-04-13 13:29:44 +02:00
|
|
|
},
|
2022-04-12 13:24:14 +02:00
|
|
|
{
|
|
|
|
name: 'Development',
|
2023-03-27 17:31:13 +02:00
|
|
|
components: [
|
|
|
|
gitMemo,
|
|
|
|
randomPortGenerator,
|
|
|
|
crontabGenerator,
|
|
|
|
jsonViewer,
|
|
|
|
jsonMinify,
|
2023-06-18 17:57:18 +02:00
|
|
|
jsonToCsv,
|
2023-03-27 17:31:13 +02:00
|
|
|
sqlPrettify,
|
|
|
|
chmodCalculator,
|
|
|
|
dockerRunToDockerComposeConverter,
|
2023-06-18 12:27:26 +02:00
|
|
|
xmlFormatter,
|
2023-03-27 17:31:13 +02:00
|
|
|
],
|
2022-04-12 13:24:14 +02:00
|
|
|
},
|
2023-03-28 23:31:11 +02:00
|
|
|
{
|
|
|
|
name: 'Network',
|
2023-10-31 13:34:24 +02:00
|
|
|
components: [ipv4SubnetCalculator, ipv4AddressConverter, ipv4RangeExpander, macAddressLookup, macAddressGenerator, ipv6UlaGenerator],
|
2023-03-28 23:31:11 +02:00
|
|
|
},
|
2022-06-02 00:10:03 +02:00
|
|
|
{
|
|
|
|
name: 'Math',
|
2023-06-18 17:24:39 +01:00
|
|
|
components: [mathEvaluator, etaCalculator, percentageCalculator],
|
2022-06-02 00:10:03 +02:00
|
|
|
},
|
2022-07-24 00:58:18 +02:00
|
|
|
{
|
|
|
|
name: 'Measurement',
|
2023-04-05 22:55:40 +02:00
|
|
|
components: [chronometer, temperatureConverter, benchmarkBuilder],
|
2022-07-24 00:58:18 +02:00
|
|
|
},
|
2022-04-14 00:00:29 +02:00
|
|
|
{
|
|
|
|
name: 'Text',
|
2023-08-26 16:43:47 +02:00
|
|
|
components: [loremIpsumGenerator, textStatistics, emojiPicker, stringObfuscator, textDiff],
|
2022-04-14 00:00:29 +02:00
|
|
|
},
|
2023-05-01 16:43:45 +02:00
|
|
|
{
|
|
|
|
name: 'Data',
|
2023-08-27 20:12:31 +02:00
|
|
|
components: [phoneParserAndFormatter, ibanValidatorAndParser],
|
2023-05-01 16:43:45 +02:00
|
|
|
},
|
2022-04-04 00:25:29 +02:00
|
|
|
];
|
2022-04-04 00:24:45 +02:00
|
|
|
|
|
|
|
export const tools = toolsByCategory.flatMap(({ components }) => components);
|
2022-04-22 23:31:40 +02:00
|
|
|
export const toolsWithCategory = toolsByCategory.flatMap(({ components, name }) =>
|
2023-05-28 23:13:24 +02:00
|
|
|
components.map(tool => ({ category: name, ...tool })),
|
2022-04-22 23:31:40 +02:00
|
|
|
);
|