it-tools

sharevb/it-tools Docker Image

it-tools增强版Docker镜像,集成个人及社区贡献的功能,提供开发者实用在线工具集合,基于nginx-unprivileged基础镜像,默认监听8080端口。

4 次收藏下载次数: 0状态:社区镜像维护者:sharevb仓库类型:镜像最近更新:
下载命令
点击查看

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

yml
services:
  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 ImageLocal Installation
ghcr.io/sharevb/it-tools:latestsudo 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 imagecopy & paste oneliner (from github repo)
You may need to clear cache and hard reload to get new features loadingInstalling 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:

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

From github packages:

sh
docker 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:

  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

sh
pnpm install

Compile and Hot-Reload for Development

sh
pnpm dev

Type-Check, Compile and Minify for Production

sh
pnpm build

Run Unit Tests with https://vitest.dev/

sh
pnpm test

Lint with https://eslint.org/

sh
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:

sh
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!

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 镜像,适用于 不同场景 等不同场景:

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 it-tools 镜像标签

docker pull docker.xuanyuan.run/sharevb/it-tools:<标签>

DockerHub 原生拉取命令

docker pull sharevb/it-tools:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告