├── byCloudflarePages
├── totp-manager-frontend
│ ├── src
│ │ ├── index.css
│ │ ├── .env
│ │ ├── config.js
│ │ ├── index.js
│ │ ├── reportWebVitals.js
│ │ ├── services
│ │ │ └── api.js
│ │ └── App.js
│ ├── .env
│ ├── public
│ │ ├── robots.txt
│ │ ├── favicon.ico
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ ├── manifest.json
│ │ └── index.html
│ ├── .eslintrc.js
│ ├── .gitignore
│ └── package.json
├── api
│ ├── package.json
│ ├── wrangler.toml
│ ├── index.js
│ └── pnpm-lock.yaml
└── README.MD
├── static
├── favicon.ico
├── index.html
└── bundle.js.LICENSE.txt
├── totp-manager-frontend
├── .babelrc
├── src
│ ├── index.js
│ └── App.js
├── .gitignore
├── webpack.config.js
└── package.json
├── .gitignore
├── go.mod
├── LICENSE
├── storage
└── storage.go
├── main.go
├── README.md
├── go.sum
├── handlers
└── handlers.go
├── models
└── totp.go
└── github
└── auth.go
/byCloudflarePages/totp-manager-frontend/src/index.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/.env:
--------------------------------------------------------------------------------
1 | REACT_APP_API_URL=http://localhost:8080
--------------------------------------------------------------------------------
/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lonestech/TOTPTokenManager/HEAD/static/favicon.ico
--------------------------------------------------------------------------------
/totp-manager-frontend/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["@babel/preset-env", "@babel/preset-react"]
3 | }
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/src/.env:
--------------------------------------------------------------------------------
1 | REACT_APP_API_BASE_URL=http://localhost:8080
2 | REACT_APP_GITHUB_AUTH_URL=http://localhost:8080/api/github/auth
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: ['react-app'],
3 | rules: {
4 | // 你可以在这里添加或覆盖规则
5 | }
6 | };
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lonestech/TOTPTokenManager/HEAD/byCloudflarePages/totp-manager-frontend/public/favicon.ico
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lonestech/TOTPTokenManager/HEAD/byCloudflarePages/totp-manager-frontend/public/logo192.png
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lonestech/TOTPTokenManager/HEAD/byCloudflarePages/totp-manager-frontend/public/logo512.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # 操作系统生成的文件
2 | .DS_Store
3 | Thumbs.db
4 |
5 | # 编辑器和IDE生成的文件
6 | .vscode/
7 | .idea/
8 | *.swp
9 | *~
10 |
11 | # 编译输出
12 | /bin/
13 | /build/
14 | /dist/
15 | *.exe
16 | *.dll
17 | *.so
18 | *.dylib
19 |
20 | # 依赖管理
21 | ./totp-manager-frontend/node_modules/
22 |
--------------------------------------------------------------------------------
/byCloudflarePages/totp-manager-frontend/src/config.js:
--------------------------------------------------------------------------------
1 | const config = {
2 | API_BASE_URL: process.env.REACT_APP_API_BASE_URL || 'http://localhost:8080',
3 | GITHUB_AUTH_URL: process.env.REACT_APP_GITHUB_AUTH_URL || 'http://localhost:8080/api/github/auth',
4 | };
5 |
6 | export default config;
--------------------------------------------------------------------------------
/totp-manager-frontend/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import { createRoot } from 'react-dom/client';
3 | import App from './App';
4 |
5 | const root = createRoot(document.getElementById('root'));
6 |
7 | root.render(
8 |
450 |
点击或拖拽二维码图片到此区域以导入TOTP
453 |无法生成二维码:未找到有效的 URI
551 | )} 552 |
566 |
点击或拖拽二维码图片到此区域以导入 TOTP
569 |无法生成二维码:未找到有效的 URI
732 | )} 733 |