2022-04-14 05:05:55 +08:00
![logo ](.github/logo.png )
2022-03-31 06:33:29 +08:00
2022-04-16 21:33:18 +08:00
Useful tools for developer and people working in IT. [Have a look ! ](https://it-tools.tech ).
2022-03-31 06:33:29 +08:00
2022-04-14 05:05:55 +08:00
## Functionalities and roadmap
2022-03-31 06:33:29 +08:00
2022-04-14 05:05:55 +08:00
Please check the [issues ](https://github.com/CorentinTh/it-tools/issues ) to see if some feature listed to be implemented.
2022-03-31 06:33:29 +08:00
2023-06-19 06:21:36 +08:00
You have an idea of a tool? Submit a [feature request ](https://github.com/CorentinTh/it-tools/issues/new/choose )!
2022-03-31 06:33:29 +08:00
2023-03-24 05:47:14 +08:00
## Self host
2023-04-13 07:03:21 +08:00
Self host solutions for your homelab
**From docker hub:**
2023-03-24 05:47:14 +08:00
```sh
2023-04-13 07:03:21 +08:00
docker run -d --name it-tools --restart unless-stopped -p 8080:80 corentinth/it-tools:latest
2023-03-24 05:47:14 +08:00
```
2023-04-13 07:03:21 +08:00
**From github packages:**
```sh
docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corentinth/it-tools:latest
```
**Other solutions:**
2023-08-26 22:18:12 +08:00
- [Cloudron ](https://www.cloudron.io/store/tech.ittools.cloudron.html )
2023-04-13 07:03:21 +08:00
- [Tipi ](https://www.runtipi.io/docs/apps-available )
- [Unraid ](https://unraid.net/community/apps?q=it-tools )
2022-04-14 05:05:55 +08:00
## Contribute
2022-03-31 06:33:29 +08:00
2023-03-24 15:42:28 +08:00
### Recommended IDE Setup
2022-03-31 06:33:29 +08:00
2023-06-20 05:49:40 +08:00
[VSCode ](https://code.visualstudio.com/ ) with the following extensions:
2023-08-26 22:18:12 +08:00
- [Volar ](https://marketplace.visualstudio.com/items?itemName=Vue.volar ) (and disable Vetur)
2023-06-20 05:49:40 +08:00
- [TypeScript Vue Plugin (Volar) ](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin ).
- [ESLint ](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint )
- [i18n Ally ](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally )
with the following settings:
2023-08-26 22:18:12 +08:00
```json
2023-06-20 05:49:40 +08:00
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
2023-08-26 22:18:12 +08:00
"i18n-ally.localesPaths": ["locales", "src/tools/*/locales"],
2023-06-20 05:49:40 +08:00
"i18n-ally.keystyle": "nested"
}
```
2022-03-31 06:33:29 +08:00
2023-03-24 15:42:28 +08:00
### Type Support for `.vue` Imports in TS
2022-04-16 21:54:39 +08:00
2022-12-21 03:57:24 +08:00
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) ](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin ) to make the TypeScript language service aware of `.vue` types.
2022-04-16 21:54:39 +08:00
2022-12-21 03:57:24 +08:00
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode ](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669 ) 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.
2023-03-24 15:42:28 +08:00
### Project Setup
2022-03-31 06:33:29 +08:00
```sh
2022-12-21 03:57:24 +08:00
pnpm install
2022-03-31 06:33:29 +08:00
```
2022-12-21 03:57:24 +08:00
### Compile and Hot-Reload for Development
2022-03-31 06:33:29 +08:00
```sh
2022-12-21 03:57:24 +08:00
pnpm dev
2022-03-31 06:33:29 +08:00
```
2022-12-21 03:57:24 +08:00
### Type-Check, Compile and Minify for Production
2022-03-31 06:33:29 +08:00
```sh
2022-12-21 03:57:24 +08:00
pnpm build
2022-03-31 06:33:29 +08:00
```
2022-12-21 03:57:24 +08:00
### Run Unit Tests with [Vitest](https://vitest.dev/)
2022-03-31 06:33:29 +08:00
```sh
2022-12-21 03:57:24 +08:00
pnpm test
2022-03-31 06:33:29 +08:00
```
2022-12-21 03:57:24 +08:00
### Lint with [ESLint](https://eslint.org/)
2022-03-31 06:33:29 +08:00
```sh
2022-12-21 03:57:24 +08:00
pnpm lint
2022-03-31 06:33:29 +08:00
```
2022-04-16 21:28:49 +08:00
### Create a new tool
2022-04-16 21:54:39 +08:00
2022-04-16 21:28:49 +08:00
To create a new tool, there is a script that generate the boilerplate of the new tool, simply run:
```sh
2023-11-23 03:27:46 +08:00
pnpm run script:create:tool my-tool-name
2022-04-16 21:28:49 +08:00
```
2023-06-01 04:55:44 +08:00
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.
2022-04-16 21:28:49 +08:00
2023-09-12 04:59:07 +08:00
## Contributors
Big thanks to all the people who have already contributed!
[![contributors ](https://contrib.rocks/image?repo=corentinth/it-tools )](https://github.com/corentinth/it-tools/graphs/contributors)
2022-04-14 05:05:55 +08:00
## Credits
2022-03-31 06:33:29 +08:00
2022-04-14 05:05:55 +08:00
Coded with ❤️ by [Corentin Thomasset ](//corentin-thomasset.fr ).
This project is continuously deployed using [vercel.com ](https://vercel.com ).
2023-09-12 04:59:07 +08:00
Contributor graph is generated using [contrib.rocks ](https://contrib.rocks/preview?repo=corentinth/it-tools ).
2022-04-14 05:05:55 +08:00
2022-05-11 20:35:45 +08:00
< a href = "https://www.producthunt.com/posts/it-tools?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-it-tools" target = "_blank" > < img src = "https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=345793&theme=light" alt = "IT Tools - Collection of handy online tools for devs, with great UX | Product Hunt" style = "width: 250px; height: 54px;" width = "250" height = "54" / > < / a >
< a href = "https://www.producthunt.com/posts/it-tools?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-it-tools" target = "_blank" > < img src = "https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=345793&theme=light&period=daily" alt = "IT Tools - Collection of handy online tools for devs, with great UX | Product Hunt" style = "width: 250px; height: 54px;" width = "250" height = "54" / > < / a >
2022-04-14 05:05:55 +08:00
## License
2022-07-22 03:13:01 +08:00
This project is under the [GNU GPLv3 ](LICENSE ).