├── .dockerignore ├── .github └── workflows │ └── docker-build.yml ├── .gitignore ├── Caddyfile ├── Dockerfile ├── LICENSE ├── README.md ├── backend ├── package-lock.json ├── package.json └── src │ ├── app.js │ ├── controllers │ ├── adminController.js │ ├── authController.js │ └── userController.js │ ├── database │ ├── cf_panel.db │ └── init.js │ ├── middleware │ └── auth.js │ ├── models │ ├── Card.js │ ├── CustomHostname.js │ ├── Domain.js │ ├── User.js │ └── UserDomain.js │ ├── routes │ ├── admin.js │ ├── auth.js │ └── user.js │ └── services │ ├── CleanupService.js │ └── CloudflareService.js ├── docker-compose.yml ├── frontend ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── src │ ├── App.jsx │ ├── components │ │ ├── Layout │ │ │ └── AppLayout.jsx │ │ ├── ProtectedRoute.jsx │ │ └── UserPermissions.jsx │ ├── index.css │ ├── main.jsx │ ├── pages │ │ ├── Dashboard.jsx │ │ ├── Domains.jsx │ │ ├── Domains.module.css │ │ ├── Login.jsx │ │ ├── NotFound.jsx │ │ ├── Profile.jsx │ │ ├── Redeem.jsx │ │ └── admin │ │ │ ├── AdminDomains.jsx │ │ │ ├── Cards.jsx │ │ │ └── Users.jsx │ ├── services │ │ └── api.js │ └── utils │ │ ├── auth.js │ │ └── clipboard.js ├── tailwind.config.js └── vite.config.js ├── package.json └── start.sh /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/docker-build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/.github/workflows/docker-build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/.gitignore -------------------------------------------------------------------------------- /Caddyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/Caddyfile -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/README.md -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/app.js -------------------------------------------------------------------------------- /backend/src/controllers/adminController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/controllers/adminController.js -------------------------------------------------------------------------------- /backend/src/controllers/authController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/controllers/authController.js -------------------------------------------------------------------------------- /backend/src/controllers/userController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/controllers/userController.js -------------------------------------------------------------------------------- /backend/src/database/cf_panel.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/database/cf_panel.db -------------------------------------------------------------------------------- /backend/src/database/init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/database/init.js -------------------------------------------------------------------------------- /backend/src/middleware/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/middleware/auth.js -------------------------------------------------------------------------------- /backend/src/models/Card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/models/Card.js -------------------------------------------------------------------------------- /backend/src/models/CustomHostname.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/models/CustomHostname.js -------------------------------------------------------------------------------- /backend/src/models/Domain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/models/Domain.js -------------------------------------------------------------------------------- /backend/src/models/User.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/models/User.js -------------------------------------------------------------------------------- /backend/src/models/UserDomain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/models/UserDomain.js -------------------------------------------------------------------------------- /backend/src/routes/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/routes/admin.js -------------------------------------------------------------------------------- /backend/src/routes/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/routes/auth.js -------------------------------------------------------------------------------- /backend/src/routes/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/routes/user.js -------------------------------------------------------------------------------- /backend/src/services/CleanupService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/services/CleanupService.js -------------------------------------------------------------------------------- /backend/src/services/CloudflareService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/backend/src/services/CloudflareService.js -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/App.jsx -------------------------------------------------------------------------------- /frontend/src/components/Layout/AppLayout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/components/Layout/AppLayout.jsx -------------------------------------------------------------------------------- /frontend/src/components/ProtectedRoute.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/components/ProtectedRoute.jsx -------------------------------------------------------------------------------- /frontend/src/components/UserPermissions.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/components/UserPermissions.jsx -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/main.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Dashboard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/Dashboard.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Domains.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/Domains.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Domains.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/Domains.module.css -------------------------------------------------------------------------------- /frontend/src/pages/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/Login.jsx -------------------------------------------------------------------------------- /frontend/src/pages/NotFound.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/NotFound.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Profile.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/Profile.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Redeem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/Redeem.jsx -------------------------------------------------------------------------------- /frontend/src/pages/admin/AdminDomains.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/admin/AdminDomains.jsx -------------------------------------------------------------------------------- /frontend/src/pages/admin/Cards.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/admin/Cards.jsx -------------------------------------------------------------------------------- /frontend/src/pages/admin/Users.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/pages/admin/Users.jsx -------------------------------------------------------------------------------- /frontend/src/services/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/services/api.js -------------------------------------------------------------------------------- /frontend/src/utils/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/utils/auth.js -------------------------------------------------------------------------------- /frontend/src/utils/clipboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/src/utils/clipboard.js -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/frontend/vite.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/package.json -------------------------------------------------------------------------------- /start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyuanluo/cf-pro-panel/HEAD/start.sh --------------------------------------------------------------------------------