it-tools增强版Docker镜像,集成个人及社区贡献的功能,提供开发者实用在线工具集合,基于nginx-unprivileged基础镜像,默认监听8080端口。
BREAKING CHANGE for Docker Image
Since Docker base image is now nginx-unpriviledged, docker image now listen to 8080 and no more 80. So you need to update your port mapping, ie from 8080:80 to 8080:8080.
Check out these change here: https://sharevb-it-tools.vercel.app/
You can use my image in your docker-compose file if you want an update to date version of it-tools (with my PR and some of others) until the main branch has been updated.
- github action triggers on every push to this branch - https://github.com/sharevb/it-tools/pkgs/container/it-tools
(Thanks to https://github.com/gitmotion/it-tools for this model of README fork)
Added features
Almost https://github.com/sharevb/it-tools/pulls.
Build docker image for a subfolder
According to https://github.com/sharevb/it-tools/pull/461#issuecomment-***:
docker build -t it-tools --build-arg BASE_URL="/my-folder/" . docker run -d --name it-tools --restart unless-stopped -p 8080:8080 it-tools
Use in Docker Compose file
ymlservices: it-tools: container_name: it-tools image: ghcr.io/sharevb/it-tools:nightly pull_policy: always restart: unless-stopped ports: - 8080:8080
Installation methods
Local installation required installing first: python3 make g++
| Docker Image | Local Installation |
|---|---|
ghcr.io/sharevb/it-tools:latest | sudo apt-get install python3 make g++ && git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i && pnpm dev |
| replace your current image with this image | copy & paste oneliner (from github repo) |
| You may need to clear cache and hard reload to get new features loading | Installing packages for the first time may take some time; please wait until it finishes |
Useful tools for developer and people working in IT. Have a look !.
Functionalities and roadmap
Please check the https://github.com/sharevb/it-tools/issues to see if some feature listed to be implemented.
You have an idea of a tool? Submit a https://github.com/sharevb/it-tools/issues/new/choose!
Self host
Self host solutions for your homelab
From docker hub:
shdocker run -d --name it-tools --restart unless-stopped -p 8080:8080 corentinth/it-tools:latest
From github packages:
shdocker run -d --name it-tools --restart unless-stopped -p 8080:8080 ghcr.io/corentinth/it-tools:latest
Other solutions:
-
- Tipi
- Unraid
Contribute
Recommended IDE Setup
https://code.visualstudio.com/ with the following extensions:
- https://marketplace.visualstudio.com/items?itemName=Vue.volar (and disable Vetur)
- https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin.
- https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
- https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally
with the following settings:
json{ "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 https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin 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 https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-*** 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
shpnpm install
Compile and Hot-Reload for Development
shpnpm dev
Type-Check, Compile and Minify for Production
shpnpm build
Run Unit Tests with https://vitest.dev/
shpnpm test
Lint with https://eslint.org/
shpnpm lint
Create a new tool
To create a new tool, there is a script that generate the boilerplate of the new tool, simply run:
shpnpm 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!
Credits
Coded with ❤️ by Corentin Thomasset.
This project is continuously deployed using [***]
Contributor graph is generated using contrib.rocks.
License
This project is under the GNU GPLv3.
更多相关 Docker 镜像与资源
以下是 sharevb/it-tools 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务