├── .eslintignore ├── .eslintrc ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc.cjs ├── .prettierignore ├── .prettierrc ├── .stylelintrc.cjs ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── changelogs.md ├── docs ├── en-US │ └── guide.md └── zh-CN │ └── guide.md ├── index.html ├── netlify.toml ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── analytic.js ├── apple-touch-icon.png ├── favicon.svg ├── pwa-192x192.png ├── pwa-512x512.png ├── qrcode.jpeg └── robots.txt ├── src ├── App.vue ├── components │ ├── ReloadPrompt.vue │ └── icons │ │ ├── Favicon.vue │ │ ├── Github.vue │ │ └── QQ.vue ├── constants.ts ├── enums │ └── index.ts ├── i18n │ ├── index.ts │ └── locales │ │ ├── en-us │ │ └── index.ts │ │ ├── ru-ru │ │ └── index.ts │ │ └── zh-cn │ │ └── index.ts ├── layouts │ ├── AppFooter.vue │ └── AppHeader.vue ├── main.ts ├── ocr │ ├── engine.ts │ └── tesseract │ │ └── index.ts ├── router │ └── index.ts ├── style.css ├── utils │ ├── strings.test.ts │ └── strings.ts ├── views │ ├── Home.vue │ └── Ocr.vue └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json ├── vercel.json └── vite.config.ts /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | src/assets 3 | public -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm run lint-staged 5 | -------------------------------------------------------------------------------- /.lintstagedrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/.lintstagedrc.cjs -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | src/assets 4 | public -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/.prettierrc -------------------------------------------------------------------------------- /.stylelintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/.stylelintrc.cjs -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/README.md -------------------------------------------------------------------------------- /changelogs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/changelogs.md -------------------------------------------------------------------------------- /docs/en-US/guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/docs/en-US/guide.md -------------------------------------------------------------------------------- /docs/zh-CN/guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/docs/zh-CN/guide.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/index.html -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/analytic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/public/analytic.js -------------------------------------------------------------------------------- /public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/public/apple-touch-icon.png -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/public/favicon.svg -------------------------------------------------------------------------------- /public/pwa-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/public/pwa-192x192.png -------------------------------------------------------------------------------- /public/pwa-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/public/pwa-512x512.png -------------------------------------------------------------------------------- /public/qrcode.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/public/qrcode.jpeg -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Allow: / -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/components/ReloadPrompt.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/components/ReloadPrompt.vue -------------------------------------------------------------------------------- /src/components/icons/Favicon.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/components/icons/Favicon.vue -------------------------------------------------------------------------------- /src/components/icons/Github.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/components/icons/Github.vue -------------------------------------------------------------------------------- /src/components/icons/QQ.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/components/icons/QQ.vue -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/enums/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/enums/index.ts -------------------------------------------------------------------------------- /src/i18n/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/i18n/index.ts -------------------------------------------------------------------------------- /src/i18n/locales/en-us/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/i18n/locales/en-us/index.ts -------------------------------------------------------------------------------- /src/i18n/locales/ru-ru/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/i18n/locales/ru-ru/index.ts -------------------------------------------------------------------------------- /src/i18n/locales/zh-cn/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/i18n/locales/zh-cn/index.ts -------------------------------------------------------------------------------- /src/layouts/AppFooter.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/layouts/AppFooter.vue -------------------------------------------------------------------------------- /src/layouts/AppHeader.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/layouts/AppHeader.vue -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/ocr/engine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/ocr/engine.ts -------------------------------------------------------------------------------- /src/ocr/tesseract/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/ocr/tesseract/index.ts -------------------------------------------------------------------------------- /src/router/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/router/index.ts -------------------------------------------------------------------------------- /src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/style.css -------------------------------------------------------------------------------- /src/utils/strings.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/utils/strings.test.ts -------------------------------------------------------------------------------- /src/utils/strings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/utils/strings.ts -------------------------------------------------------------------------------- /src/views/Home.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/views/Home.vue -------------------------------------------------------------------------------- /src/views/Ocr.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/src/views/Ocr.vue -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const __VERSION__: string; 3 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/vercel.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plantree/ocr-pwa/HEAD/vite.config.ts --------------------------------------------------------------------------------