暫無描述

QingFeng 61f2f20088 merge it-tools pr #913 4 月之前
.github 88b881880c refactor(ci): reduced timeout in e2e (#666) 1 年之前
.vscode 847323ccba docs(ide): updated vscode extensions settings (#472) 1 年之前
_templates ee4c853b9f refactor(ui): new c-table ui component (#665) 1 年之前
locales e6114f71b0 合并上游工具类 2024/03/04 8 月之前
public fcf4cfe64d refactor(share): new share banner 2 年之前
scripts f080933d2a refactor(ui): replaced naive ui cards with custom ones 1 年之前
src 61f2f20088 merge it-tools pr #913 4 月之前
.dockerignore 686fbb02b5 同步上游 1 年之前
.eslintrc-auto-import.json 686fbb02b5 同步上游 1 年之前
.eslintrc.cjs 6f93cba3da feat(copy): support legacy copy to clipboard for older browser (#581) 1 年之前
.gitignore cf382b5a10 chore(e2e): execute e2e against built app (#511) 1 年之前
.nvmrc 686fbb02b5 同步上游 1 年之前
.prettierrc 02c4963531 refactor(lint): externalization of prettier for simpler IDE support 2 年之前
.versionrc db21c5a1be chore: added standard-version 2 年之前
CHANGELOG.md 686fbb02b5 同步上游 1 年之前
Dockerfile 686fbb02b5 同步上游 1 年之前
LICENSE eff7c23ebb chore: added license file 2 年之前
README.md 3b71512fde 同步上游版本 Nov 29, 2023 修复部分汉化 11 月之前
auto-imports.d.ts 3b71512fde 同步上游版本 Nov 29, 2023 修复部分汉化 11 月之前
components.d.ts fe064e6e43 同步上游工具类 9 月之前
env.d.ts ad202bd372 revert(pwa): fallback to autoUpdate 1 年之前
index.html 30c7c46b7e 默认语言 1 年之前
netlify.toml 93799af83c chore(config): netlify deployment support (#443) 1 年之前
nginx.conf 972ffe6f69 fix(docker): nginx config to redirect to index.html 1 年之前
package-lock.json fe064e6e43 同步上游工具类 9 月之前
package.json 312e653b84 合并上游部分代码 合并上游PR 引入二维码解析及雪花算法解析 4 月之前
playwright.config.ts 18dd1400bd refactor(CI): run e2e against built app and no longer vercel (#610) 1 年之前
pnpm-lock.yaml 55bcef2628 fix 4 月之前
renovate.json 363c2e47e6 chore(deps): added renovate.json (#477) 1 年之前
tsconfig.app.json 76b2761d62 chore(deps): switched to fucking typescript v5 (#501) 1 年之前
tsconfig.json 64c92a661c chore: first commit 2 年之前
tsconfig.vite-config.json 76b2761d62 chore(deps): switched to fucking typescript v5 (#501) 1 年之前
tsconfig.vitest.json 76b2761d62 chore(deps): switched to fucking typescript v5 (#501) 1 年之前
unocss.config.ts 3b71512fde 同步上游版本 Nov 29, 2023 修复部分汉化 11 月之前
vercel.json 2e046ad09f feat(config): added vercel.json 2 年之前
vite.config.ts 233d5565f6 refactor(i18n): merge tools scoped locales with global ones (#612) 1 年之前

README.md

logo

Useful tools for developer and people working in IT. Have a look !.

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

Self host solutions for your homelab

From docker hub:

docker run -d --name it-tools --restart unless-stopped -p 8080:80 corentinth/it-tools:latest

From github packages:

docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corentinth/it-tools:latest

Other solutions:

Contribute

Recommended IDE Setup

VSCode with the following extensions:

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:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from 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.

Contributors

Big thanks to all the people who have already contributed!

contributors

Credits

Coded with ❤️ by Corentin Thomasset.

This project is continuously deployed using vercel.com.

Contributor graph is generated using contrib.rocks.

License

This project is under the GNU GPLv3.