Skip to content

feat: add 5 new developer tools (cURL to Code, JSON to Types, HTML to Markdown, CSS/JS Prettify & Minify, Byte Unit Converter)#1811

Open
stevenlee87 wants to merge 19 commits into
CorentinTh:mainfrom
stevenlee87:main
Open

feat: add 5 new developer tools (cURL to Code, JSON to Types, HTML to Markdown, CSS/JS Prettify & Minify, Byte Unit Converter)#1811
stevenlee87 wants to merge 19 commits into
CorentinTh:mainfrom
stevenlee87:main

Conversation

@stevenlee87

Copy link
Copy Markdown

Summary

Add 5 frequently requested developer tools:

  • cURL to Code (/curl-to-code) — Convert cURL commands to code in 8 languages (Python, JavaScript, Node.js, Go, PHP, Java, C#, Rust). Uses curlconverter library.
  • JSON to TypeScript/Go (/json-to-types) — Generate TypeScript interfaces or Go structs from JSON samples. Custom recursive converter with support for nested objects, arrays, and
    union types.
  • HTML to Markdown (/html-to-markdown) — Convert HTML to Markdown using turndown. Inverse of the existing Markdown to HTML tool.
  • CSS/JS Prettify & Minify (/css-js-prettify-minify) — Format or compress CSS and JavaScript code. Uses js-beautify for prettifying with configurable indent size.
  • Byte Unit Converter (/byte-unit-converter) — Convert between data size units in both Decimal (SI, base 1000: B/KB/MB/GB/TB/PB) and Binary (IEC, base 1024: B/KiB/MiB/GiB/TiB/PiB)
    systems side by side.

Changes

  • Added 5 new tool directories under src/tools/
  • Registered all tools in src/tools/index.ts (Converter, Development, Measurement categories)
  • Added English and Chinese (zh) translations in locales/
  • Extended TextareaCopyable.vue with highlight.js support for TypeScript, JavaScript, Python, Go, and CSS
  • Added WASM files to public/ for curlconverter browser support
  • Added Vite alias for @vueuse/shared to fix pre-existing build compatibility issue

New dependencies

  • curlconverter — cURL command parsing
  • turndown / @types/turndown — HTML to Markdown conversion
  • js-beautify / @types/js-beautify — CSS/JS code formatting

Screenshots

(Tools are live at the deployed instance for review)

Access addresses of 5 new tools:

my it-tools

https://it-tools.88586688.xyz/

stevenlee87 and others added 7 commits June 3, 2026 15:16
Use single-space matching ` ?` instead of `\s*` to avoid super-linear
backtracking. Safe because preceding step already collapses all
whitespace to single spaces.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change `\/\/.*$/gm` to `\/\/[^\n]*/g` to avoid backtracking with
`.*` and `$` anchor in multiline mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The @unhead/vue@0.5.1 package resolves @vueuse/shared@14 which removed
the resolveUnref export. Alias @vueuse/shared to the hoisted v10
version that still exports it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The lockfile was out of sync with package.json after adding
curlconverter, turndown, and js-beautify, causing CI install to fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sharevb

sharevb commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Hi @stevenlee87 if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools).

And my fork has these tools too (but not complete css/js tool)

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants