an API
What type of request is this?
New tool idea
Clear and concise description of the feature you are proposing
I think it would be amazing if some of the tools were accessible via a REST API.
Is their example of this tool in the wild?
I also use/self-host stirling pdf. https://github.com/Stirling-Tools/Stirling-PDF it has a REST API that I use for automations and code.
Additional context
No response
Validations
- [X] Check the feature is not already implemented in the project.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
Hi @chris-merrill, an API is server-side, so as it-tools is client side only, an API will never be possible, sorry
Is it possible to go "in that direction"? Not building completely new, but have input and output in a format, that could be used as kind of an API? I was thinking about an example:
The UUIDs generator (depending on version) takes parameters UUID version and Quantity and responds with a string. If I can add the parameters via URL like https://it-tools.tech/uuid-generator/?uuidVersion=v4&quantity=2 and the response is displayed on the website as it is right now as a default, but could take another parameter like response=json and the result for https://it-tools.tech/uuid-generator/?uuidVersion=v4&quantity=2&response=json would be a raw text file with the json contents, I could then "build my own API" around that or work with HTTP requests.
Hi @wohfab, it-tools is a pure "client side" tool. No server part, exce^pt for serving "static file". So response=json weuld need to be evaluated by a browser with something like Selenium/Puppeeter or some command line tool like https://www.npmjs.com/package/domcurl. Curl or wget alone will not evaluate client js so response will be boilerplate
@chris-merrill @wohfab the tools of IT-Tools are easy to export and use in another place whereever js/ts is used. If You have client code which You want to be able to do the same that a Tool here does just copy the <tool>.service.ts of the tool into Your project. Heck, You can ask a GPT to rewrite it in any other language and I'm sure it will be a breeze. ; )
@chris-merrill @wohfab the tools of IT-Tools are easy to export and use in another place whereever js/ts is used. If You have client code which You want to be able to do the same that a Tool here does just copy the
<tool>.service.tsof the tool into Your project. Heck, You can ask a GPT to rewrite it in any other language and I'm sure it will be a breeze. ; )
I was wanting to learn how to create an MCP service, so I picked this as a starter. Right now some of the tools need refining, but it works. I used VS Code, Copilot Chat Agent, Playwright MCP & Claude Sonnet 4. You can use it as an MCP service or just an API. https://github.com/wrenchpilot/it-tools-mcp
Hi @wrenchpilot, really impressive and may be extended with tools from my fork? if anyone wants more tools
And if you arr interested in up to date version of it-tools, I made kind of 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)
@sharevb nice! I'll take a look!