Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PEUYi2ZahVbFDot56M3F8d |
||
|---|---|---|
| .github | ||
| .vscode | ||
| _templates/generator/ui-component | ||
| locales | ||
| public | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .eslintrc-auto-import.json | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierrc | ||
| .versionrc | ||
| auto-imports.d.ts | ||
| CHANGELOG.md | ||
| components.d.ts | ||
| Dockerfile | ||
| env.d.ts | ||
| index.html | ||
| LICENSE | ||
| nginx.conf | ||
| package.json | ||
| playwright.config.ts | ||
| pnpm-lock.yaml | ||
| README.md | ||
| renovate.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.vite-config.json | ||
| tsconfig.vitest.json | ||
| unocss.config.ts | ||
| vite.config.ts | ||
| wrangler.jsonc | ||
Toolbox
Useful tools for developers and people working in IT. Try it!
Toolbox is a fork of IT-Tools by Corentin Thomasset.
Functionalities and roadmap
Please check the issues to see if some feature listed to be implemented.
You have an idea of a tool? Submit a feature request!
Self host
Build and run the Docker image:
docker build -t toolbox .
docker run -d --name toolbox --restart unless-stopped -p 8080:80 toolbox
Build variables
The build reads these optional environment variables:
| Variable | Default | Purpose |
|---|---|---|
VITE_APP_ENV |
The Vite mode: production for pnpm build, development for pnpm dev |
Shows development-only pages, such as the UI library, when development. |
VITE_COMMIT_SHA |
WORKERS_CI_COMMIT_SHA, which Cloudflare Workers Builds sets |
Links the footer version to the built commit. |
Contribute
Recommended IDE Setup
VSCode with the following extensions:
- Volar (and disable Vetur)
- TypeScript Vue Plugin (Volar).
- ESLint
- i18n Ally
with the following settings:
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"i18n-ally.localesPaths": ["locales", "src/tools/*/locales"],
"i18n-ally.keystyle": "nested"
}
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
Project Setup
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile and Minify for Production
pnpm build
Run Unit Tests with Vitest
pnpm test
Lint with ESLint
pnpm lint
Create a new tool
To create a new tool, there is a script that generate the boilerplate of the new tool, simply run:
pnpm run script:create:tool my-tool-name
It will create a directory in src/tools with the correct files, and a the import in src/tools/index.ts. You will just need to add the imported tool in the proper category and develop the tool.
Credits
Toolbox is a fork of IT-Tools, coded with ❤️ by Corentin Thomasset and the IT-Tools contributors.
destan maintains this fork.
This project is continuously deployed using Cloudflare.
License
This project is under the GNU GPLv3.