DevToys是一款Windows下的开源的工具包,里面提供了诸多实用的开发者工具,比如 JSON 格式化、正则表达式测试、Base64 编码与解码、PNG/JPEG 图片压缩、色盲模拟器等功能。作者将其称之为「开发人员的瑞士军刀」。基于c#编写,遵守MIT开源协议。
功能特色:
转换器
JSON <> YAML
时间戳
数字
Cron Parser 定时表达式
加密/解密
HTML
URL
Base64 文字/图片
GZip
JWT 解码
规范格式
JSON
SQL
XML
生成器
Hash (MD5, SHA1, SHA256, SHA512)
UUID 1 and 4
Lorem Ipsum
Checksum
文本
Escape / Unescape
Inspector & Case Converter
正则表达式Regex Tester
文本比较
XML 验证
Markdown 预览
图像
色盲模拟
颜色拾取/反色
PNG / JPEG 压缩
图片转换
源码:https://github.com/veler/DevToys
----------------------------------------------
A Swiss Army knife for developers.
Note
DevToys 2.0
is currently under development in branch dev/2.0
.
Introduction
DevToys helps with daily development tasks like formatting JSON, comparing text, and testing RegExp. No need to use many untrustworthy websites to do simple tasks with your data. With Smart Detection, DevToys can detect the best tool to use for the data copied to the Windows clipboard. Compact overlay lets you keep the app small and on top of other windows. Multiple instances of the app can be used at once.
Many tools are available.
- Converters
- JSON <> YAML
- Timestamp
- Number Base
- Cron Parser
- Encoders / Decoders
- HTML
- URL
- Base64 Text & Image
- GZip
- JWT Decoder
- Formatters
- JSON
- SQL
- XML
- Generators
- Hash (MD5, SHA1, SHA256, SHA512)
- UUID 1 and 4
- Lorem Ipsum
- Checksum
- Text
- Escape / Unescape
- Inspector & Case Converter
- Regex Tester
- Text Comparer
- XML Validator
- Markdown Preview
- Graphic
- Color Blindness Simulator
- Color Picker & Contrast
- PNG / JPEG Compressor
- Image Converter
... and more are coming!
How to install (as an end-user)
Prerequisite
- You need Windows 10 build 1903+ or later.
Microsoft Store
- Search for DevToys in the Microsoft Store App or click here
Manual
- Download and extract the latest release.
- Double click the *.msixbundle file.
- Install.
WinGet
- Open a PowerShell command prompt.
- Type
winget search DevToys
to search and see details about DevToys. - Type
winget install DevToys
to install the app.
Note: a Microsoft Store account is required for WinGet. We're trying to workaround it. See here microsoft/winget-pkgs#43996
Chocolatey
- Make sure you already have Chocolatey installed on your computer.
- Open a PowerShell command prompt.
- Type
choco install devtoys
or visit the chocolatey community package.
App Permission
DevToys works entirely offline, meaning that none of the data used by the app goes on internet. However, the app requires some other permissions in order to work correctly.
Uses all system resources
- This permission is required for some tools likePNG / JPEG Compressor
or (upcoming)On-screen color picker / measurer
, which use a 3rd party Open-Source Win32 process like Efficient-Compression-Tool. All the code requiring this permission can be found here.
How to run DevToys
Using Start Menu
Open Windows' start menu(在‘windows桌面底部的搜索栏’), type DevToys
and press [Enter]
.
Using PowerShell
A cool thing about DevToys is that you can start it in command line! For this, simply open a PowerShell command prompt and type start devtoys:?tool={tool name}
For example, start devtoys:?tool=jsonyaml
will open DevToys and start on the Json <> Yaml
tool.
Here is the list of tool name you can use:
base64
- Base64 Text Encoder/Decoderbase64img
- Base64 Image Encoder/Decodergzip
- GZip Encoder/Decoderhash
- Hash Generatoruuid
- UUID Generatorloremipsum
- Lorem Ipsum Generatorchecksum
- Checksum Filecronparser
- Cron Parserjsonformat
Json Formattersqlformat
- SQL Formatterxmlformat
- XML Formatterjsonyaml
- Json <> Yamljwt
- JWT Decodercolorblind
- Color Blindness Simulatorcolor
- Color Picker & Contrastimgcomp
- PNG/JPEG compressorimageconverter
- Image Convertermarkdown
- Markdown Previewregex
- Regular Expression Testertime
- Unix Timestamp Converterbaseconverter
- Number Base Converterstring
- String Utilitiesurl
- URL Encoder/Decoderhtml
- HTML Encoder/Decoderdiff
- Text Comparerxmlvalidator
- XML Validatorescape
- Text Escape / Unescapesettings
- Settings
from