Ei kuvausta

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

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.