# ValGod **Repository Path**: isfive/vite-programer ## Basic Information - **Project Name**: ValGod - **Description**: 程序员翻译工具(vue3+vite)http://isfive.gitee.io/vite-programer/ - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: http://isfive.gitee.io/vite-programer/ - **GVP Project**: No ## Statistics - **Stars**: 29 - **Forks**: 3 - **Created**: 2020-08-10 - **Last Updated**: 2024-09-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 变量名神器ValGod ![ValGod](https://socialify.git.ci/qiuquanwu/ValGod/image?description=1&font=Source%20Code%20Pro&language=1&owner=1&pattern=Plus&stargazers=1&theme=Light) 使用技术: - 框架:vue-next - 构建工具:vite - 复制粘贴插件:clipboard.js - 请求库:axios - 在线地址:[http://isfive.gitee.io/vite-programer/](http://isfive.gitee.io/vite-programer/) - 在线地址:[备用地址](https://valgod.vercel.app/) - github仓库:[备用仓库](https://github.com/qiuquanwu/ValGod) # 私有部署 ## 配合后端java(推荐) 后端接口:[https://github.com/qiuquanwu/vite-programer-backend](https://github.com/qiuquanwu/vite-programer-backend) ## 内部搭建配置(纯js): 修改src/config/index.js [注册有道云翻译api,百度云api的教程](https://github.com/qiuquanwu/vite-programer-backend/blob/master/readme.md) ```javascript // 有道应用配置 export const YD_APP_KEY = "78ab6bc4c8f5e1a5" export const YD_KEY ='jYOJPLr0Mu9rCp77YAMWGYX1GirBe92w' // 百度应用配置 export const BD_APP_ID = '20200811000539625' export const BD_KEY = 'qoLUfDJ1scEIdj3RitFC' ``` # 计划中 - ❌批量导入,导出 - ✅️可设置需要的命名方式 - ❌自定义模板 - ❌项目约定命名文档生成 # 更新日志 ## 统计vue项目代码行数 ``` find ./src "(" -name "*.html" -or -name "*.vue" -or -name "*.js" -or -name "*.ts" -or -name "*.css" -or -name "*.styl" -or -name "*.less" -or -name "*.scss" ")" -print | xargs wc -l ``` ```shell 11 ./src/animal.js 0 ./src/api/index.js 14 ./src/App.vue 72 ./src/components/ExportModal.vue 361 ./src/components/GodVal.vue 230 ./src/components/GodValNew.vue 200 ./src/components/JsonView.vue 64 ./src/components/ResultItem.vue 41 ./src/components/ResultItemNew.vue 35 ./src/config/index.js 8 ./src/index.css 28 ./src/main.js 19 ./src/util/bd.js 87 ./src/util/generator.js 10 ./src/util/getResultArray.js 200 ./src/util/md5.js 31 ./src/util/request.js 247 ./src/util/sha256.js 1658 total ``` ## 2022年1月4日 - 限定字符查询 - 修复部分bug ## 2021年1月27日 13点06分 - 历史查询导出json - ❌导出excel表格(ing) ## 2021年1月21日 18点08分 - 实现按需加载antd-vue ## 2021年1月20日 13点55分 - ui改版(2.0版本) ![](./img/demov3.png) ## 2021年1月18日 18点45分 - 优化体验 ## 2021年1月17日 19点03分 - 升级到vite2.x ## 2021年1月13日 17点48分 - 历史查询记录 ## 2021年1月10日 07点48分 - 按下回车触发 - 取消alert提示 ![](./img/demov1.png)