Skip to content

Latest commit

 

History

History
168 lines (115 loc) · 6.04 KB

README.md

File metadata and controls

168 lines (115 loc) · 6.04 KB

🔧 DevKit — Smart Developer Toolbox

Not just a tool collection — a thinking developer's assistant. Paste to detect, chain tools together.

不只是工具集合,是会思考的开发者助手 —— 粘贴即识别,工具可串联。

License: MIT Version: 2.2.0 PRs Welcome PWA Ready Zero Dependencies Bilingual Author: Cedric.Wang


English

💡 Why DevKit?

There are already many developer tool collections on GitHub (it-tools, DevToys, SmallDevTools…). They all do one thing: pile tools together.

DevKit is different. It introduces two mechanisms you won't find elsewhere:

🧠 Smart Detect

Paste anything, and DevKit auto-analyzes what it is (JSON? Base64? URL-encoded? Timestamp? Color? JWT?), tells you the confidence level, and recommends the next action.

Paste eyJhbGciOiJIUzI1NiJ9 →

  • Detected as Base64 (70% confidence)
  • One-click decode → get {"alg":"HS256"} → auto-detected as JSON → one-click format

🔗 Pipeline

Chain multiple tools into a pipeline: Base64 decode → JSON format → extract field → Base64 encode. Complete multi-step operations in one click — no manual copy-paste of intermediate results.

🛠️ Included Tools (15)

Category Tools
Smart Assistant Smart Detect, Pipeline
Encoding JSON Formatter, Base64, URL, Hash, JWT Decoder
Generators UUID, Password, Lorem Ipsum, QR Code
Converters Timestamp, Color, Regex Tester, HTTP Status
Text Tools Case Converter, Text Diff, Word Counter

✨ Key Features

  • 🌐 Bilingual (EN/ZH) — Auto-detects browser language, manual toggle available
  • 🧠 Smart Detect — Paste-to-identify with confidence scoring and chain actions
  • 🔗 Pipeline — Chain tools into multi-step workflows
  • ⌨️ Command Palette — Ctrl+K fuzzy search + keyboard navigation
  • 🎨 Dark/Light Theme — System preference detection, manual toggle
  • 📱 PWA — Installable, offline support via Service Worker
  • 📦 Zero Dependencies — No npm, no build tools, no frameworks
  • 🔌 Plugin System — Add a new tool in one file via DevKit.register()

🚀 Quick Start

Option A: Direct open

Open index.html in your browser — that's it.

Option B: Local server

python3 -m http.server 8080
# or
npx serve . --port 3000

🛠️ Tech Stack

  • Native HTML5 + CSS3 + JavaScript (ES6+)
  • Web Crypto API (hash, UUID, password generation)
  • Service Worker + Cache API (offline support)
  • CSS Custom Properties (theme system)
  • Traditional <script> loading (works with file:// protocol)
  • No frameworks, no build tools, no third-party libraries

🤝 Contributing

See CONTRIBUTING.md and PLUGINS.md.

📄 License

MIT License

🙏 Acknowledgements

  • it-tools — inspiration for tool collection
  • Linear — command palette interaction
  • Raycast — "smart detect" product reference

中文

💡 为什么是 DevKit?

GitHub 上已经有很多开发者工具集合(it-tools、DevToys、SmallDevTools…),它们都做了一件事:把工具堆在一起。

DevKit 不一样。它引入了两个你在其他工具里看不到的机制:

🧠 智能识别(Smart Detect)

粘贴任何内容,DevKit 会自动分析这是什么(JSON?Base64?URL编码?时间戳?颜色?JWT?),告诉你置信度,并推荐下一步操作。

粘贴 eyJhbGciOiJIUzI1NiJ9 →

  • 识别为 Base64(置信度 70%)
  • 一键解码 → 得到 {"alg":"HS256"} → 自动识别为 JSON → 一键格式化

🔗 工具链(Pipeline)

将多个工具串联成流水线:Base64解码 → JSON格式化 → 提取字段 → Base64编码。一键完成多步操作,无需手动复制粘贴中间结果。

🛠️ 包含工具(15 个)

分类 工具
智能助手 智能识别、工具链 Pipeline
编码转换 JSON 格式化、Base64、URL、哈希、JWT 解码器
生成工具 UUID、密码、占位文本、QR 二维码
转换工具 时间戳、颜色、正则测试、HTTP 状态码
文本工具 大小写转换、文本对比、字数统计

✨ 核心特性

  • 🌐 双语(英/中) — 自动检测浏览器语言,可手动切换
  • 🧠 智能识别 — 粘贴即识别,置信度评分,链式操作
  • 🔗 工具链 — 将多个工具串联成多步骤工作流
  • ⌨️ 命令面板 — Ctrl+K 模糊搜索 + 键盘导航
  • 🎨 暗色/亮色主题 — 系统偏好检测,手动切换
  • 📱 PWA — 可安装,Service Worker 离线支持
  • 📦 零依赖 — 无 npm、无构建工具、无框架
  • 🔌 插件系统 — 通过 DevKit.register() 一个文件添加新工具

🚀 快速开始

方式 A:直接打开

在浏览器中打开 index.html 即可。

方式 B:本地服务器

python3 -m http.server 8080
# 或
npx serve . --port 3000

🤝 贡献

请阅读 贡献指南 和 插件开发指南。

📄 许可证

MIT License

🙏 致谢

  • it-tools —— 工具集合的灵感来源
  • Linear —— 命令面板交互灵感
  • Raycast —— "智能识别"产品形态参考

⭐ If DevKit helps you, please consider giving it a Star! / 如果 DevKit 对你有帮助,欢迎 Star 支持!