https://github.com/arbing/properties-yaml-converter
在线 Properties 与 YAML 配置格式互转工具
https://github.com/arbing/properties-yaml-converter
config converter frontend github-pages properties yaml
Last synced: 9 days ago
JSON representation
在线 Properties 与 YAML 配置格式互转工具
- Host: GitHub
- URL: https://github.com/arbing/properties-yaml-converter
- Owner: arbing
- Created: 2026-05-12T02:31:10.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-12T02:48:06.000Z (about 2 months ago)
- Last Synced: 2026-05-12T04:35:10.791Z (about 2 months ago)
- Topics: config, converter, frontend, github-pages, properties, yaml
- Language: JavaScript
- Homepage: https://arbing.github.io/properties-yaml-converter/
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Properties / YAML 互转在线工具
一个纯前端在线工具,用于在 Java `.properties` 配置与 YAML 配置之间双向转换。
## 功能
- Properties 转 YAML
- YAML 转 Properties
- 支持点号 key 转嵌套 YAML
- 支持基础标量类型:字符串、数字、布尔值、null
- 输入错误提示
- 示例填充、复制、清空、左右交换
- 无后端、无构建依赖,可直接部署到 GitHub Pages
## 本地运行
直接用浏览器打开 `index.html`,或启动静态服务:
```bash
python3 -m http.server 5173
```
然后访问:
```text
http://localhost:5173
```
## 部署到 GitHub Pages
推送到 GitHub 后,在仓库 Settings → Pages 中选择 `main` 分支和根目录即可。