├── .babelrc ├── .DS_Store ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── README_EN.md ├── eslint.config.js ├── index.html ├── main ├── api │ └── fox-api.ts ├── clientEntry.ts ├── index.ts ├── mcp │ └── mcp.ts ├── middleware │ ├── WebpackProxyMockPlugin.ts │ ├── defaultConfig.ts │ ├── proxyMockMiddleWare.ts │ ├── rsbuildProxyMockPlugin.ts │ └── viteProxyMockPlugin.ts ├── mockProxy │ ├── common │ │ ├── apiManageTool.ts │ │ ├── cacheRequestHistory.ts │ │ ├── createExpressCompatibilityLayer.ts │ │ ├── event.ts │ │ ├── fetchJsonData.ts │ │ ├── fun.ts │ │ ├── injectCode.ts │ │ ├── log.ts │ │ ├── mcpConfig.ts │ │ └── restart.ts │ ├── entry.ts │ ├── mock │ │ └── index.ts │ ├── proxy │ │ ├── certificate │ │ │ └── certificate.p12 │ │ └── index.ts │ └── viewRequest │ │ └── viewRequest.ts └── types │ └── global.d.ts ├── package.json ├── public ├── doc.png ├── doc_en.png ├── mcp.png ├── mcp2.png ├── mcp_en.png ├── mock_proxy.png ├── mock_proxy_en.png ├── proxymock.png ├── proxymock_en.png ├── public_net.png ├── public_net_en.png ├── send_api.png └── send_api_en.png ├── rsbuild.test.js ├── server.ts ├── server └── index.ts ├── src ├── App.jsx ├── api │ └── api.js ├── assets │ ├── api-foxi-con.svg │ ├── delete.svg │ └── edit.svg ├── common │ └── fun.js ├── components │ ├── apiDoc │ │ └── apiDocModal.jsx │ ├── apiList │ │ └── apiList.jsx │ ├── apiMangeTool │ │ ├── apifox.jsx │ │ └── apifoxModal.jsx │ ├── apiSend │ │ ├── apiResponse.jsx │ │ ├── apiSend.jsx │ │ └── apiSendTabs.jsx │ ├── apiTable │ │ └── apiTable.jsx │ ├── cacheRequestHistoryData │ │ ├── cacheRequestHistoryData.jsx │ │ ├── historyDataPreviewModal.jsx │ │ └── requestHistoryListModal.jsx │ ├── envConfig │ │ └── envConfig.jsx │ ├── envForm │ │ └── envForm.jsx │ ├── envSelect │ │ └── envSelect.jsx │ ├── groupManager │ │ └── groupModal.jsx │ ├── mockEditor │ │ ├── eventBus.js │ │ ├── jsonEditor.jsx │ │ └── mockEditor.jsx │ ├── mockEditorModal │ │ ├── editModal.css │ │ └── editModal.jsx │ ├── mockReqMenu │ │ ├── reqMenu.css │ │ ├── reqMenu.jsx │ │ └── reqMenuItem.jsx │ ├── previewMockModal │ │ ├── previewMockModal.css │ │ └── previewMockModal.jsx │ ├── proxy │ │ ├── proxy.css │ │ └── proxy.jsx │ └── settingsModal │ │ ├── BaseCodeSettings.jsx │ │ ├── McpSettings.jsx │ │ ├── PublicAccessSettings.jsx │ │ └── settingsModal.jsx └── main.jsx ├── test ├── index.html ├── index.js ├── rsbuild.html └── vite.html ├── tsconfig.json ├── vite.config.js ├── vite.test.js └── webpack.test.js / .babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/ .babelrc -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/README.md -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/README_EN.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/index.html -------------------------------------------------------------------------------- /main/api/fox-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/api/fox-api.ts -------------------------------------------------------------------------------- /main/clientEntry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/clientEntry.ts -------------------------------------------------------------------------------- /main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/index.ts -------------------------------------------------------------------------------- /main/mcp/mcp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mcp/mcp.ts -------------------------------------------------------------------------------- /main/middleware/WebpackProxyMockPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/middleware/WebpackProxyMockPlugin.ts -------------------------------------------------------------------------------- /main/middleware/defaultConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/middleware/defaultConfig.ts -------------------------------------------------------------------------------- /main/middleware/proxyMockMiddleWare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/middleware/proxyMockMiddleWare.ts -------------------------------------------------------------------------------- /main/middleware/rsbuildProxyMockPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/middleware/rsbuildProxyMockPlugin.ts -------------------------------------------------------------------------------- /main/middleware/viteProxyMockPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/middleware/viteProxyMockPlugin.ts -------------------------------------------------------------------------------- /main/mockProxy/common/apiManageTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/apiManageTool.ts -------------------------------------------------------------------------------- /main/mockProxy/common/cacheRequestHistory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/cacheRequestHistory.ts -------------------------------------------------------------------------------- /main/mockProxy/common/createExpressCompatibilityLayer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/createExpressCompatibilityLayer.ts -------------------------------------------------------------------------------- /main/mockProxy/common/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/event.ts -------------------------------------------------------------------------------- /main/mockProxy/common/fetchJsonData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/fetchJsonData.ts -------------------------------------------------------------------------------- /main/mockProxy/common/fun.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/fun.ts -------------------------------------------------------------------------------- /main/mockProxy/common/injectCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/injectCode.ts -------------------------------------------------------------------------------- /main/mockProxy/common/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/log.ts -------------------------------------------------------------------------------- /main/mockProxy/common/mcpConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/mcpConfig.ts -------------------------------------------------------------------------------- /main/mockProxy/common/restart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/common/restart.ts -------------------------------------------------------------------------------- /main/mockProxy/entry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/entry.ts -------------------------------------------------------------------------------- /main/mockProxy/mock/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/mock/index.ts -------------------------------------------------------------------------------- /main/mockProxy/proxy/certificate/certificate.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/proxy/certificate/certificate.p12 -------------------------------------------------------------------------------- /main/mockProxy/proxy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/proxy/index.ts -------------------------------------------------------------------------------- /main/mockProxy/viewRequest/viewRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/mockProxy/viewRequest/viewRequest.ts -------------------------------------------------------------------------------- /main/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/main/types/global.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/package.json -------------------------------------------------------------------------------- /public/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/doc.png -------------------------------------------------------------------------------- /public/doc_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/doc_en.png -------------------------------------------------------------------------------- /public/mcp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/mcp.png -------------------------------------------------------------------------------- /public/mcp2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/mcp2.png -------------------------------------------------------------------------------- /public/mcp_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/mcp_en.png -------------------------------------------------------------------------------- /public/mock_proxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/mock_proxy.png -------------------------------------------------------------------------------- /public/mock_proxy_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/mock_proxy_en.png -------------------------------------------------------------------------------- /public/proxymock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/proxymock.png -------------------------------------------------------------------------------- /public/proxymock_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/proxymock_en.png -------------------------------------------------------------------------------- /public/public_net.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/public_net.png -------------------------------------------------------------------------------- /public/public_net_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/public_net_en.png -------------------------------------------------------------------------------- /public/send_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/send_api.png -------------------------------------------------------------------------------- /public/send_api_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/public/send_api_en.png -------------------------------------------------------------------------------- /rsbuild.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/rsbuild.test.js -------------------------------------------------------------------------------- /server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/server.ts -------------------------------------------------------------------------------- /server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/server/index.ts -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/App.jsx -------------------------------------------------------------------------------- /src/api/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/api/api.js -------------------------------------------------------------------------------- /src/assets/api-foxi-con.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/assets/api-foxi-con.svg -------------------------------------------------------------------------------- /src/assets/delete.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/assets/delete.svg -------------------------------------------------------------------------------- /src/assets/edit.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/assets/edit.svg -------------------------------------------------------------------------------- /src/common/fun.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/common/fun.js -------------------------------------------------------------------------------- /src/components/apiDoc/apiDocModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiDoc/apiDocModal.jsx -------------------------------------------------------------------------------- /src/components/apiList/apiList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiList/apiList.jsx -------------------------------------------------------------------------------- /src/components/apiMangeTool/apifox.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiMangeTool/apifox.jsx -------------------------------------------------------------------------------- /src/components/apiMangeTool/apifoxModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiMangeTool/apifoxModal.jsx -------------------------------------------------------------------------------- /src/components/apiSend/apiResponse.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiSend/apiResponse.jsx -------------------------------------------------------------------------------- /src/components/apiSend/apiSend.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiSend/apiSend.jsx -------------------------------------------------------------------------------- /src/components/apiSend/apiSendTabs.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiSend/apiSendTabs.jsx -------------------------------------------------------------------------------- /src/components/apiTable/apiTable.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/apiTable/apiTable.jsx -------------------------------------------------------------------------------- /src/components/cacheRequestHistoryData/cacheRequestHistoryData.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/cacheRequestHistoryData/cacheRequestHistoryData.jsx -------------------------------------------------------------------------------- /src/components/cacheRequestHistoryData/historyDataPreviewModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/cacheRequestHistoryData/historyDataPreviewModal.jsx -------------------------------------------------------------------------------- /src/components/cacheRequestHistoryData/requestHistoryListModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/cacheRequestHistoryData/requestHistoryListModal.jsx -------------------------------------------------------------------------------- /src/components/envConfig/envConfig.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/envConfig/envConfig.jsx -------------------------------------------------------------------------------- /src/components/envForm/envForm.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/envForm/envForm.jsx -------------------------------------------------------------------------------- /src/components/envSelect/envSelect.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/envSelect/envSelect.jsx -------------------------------------------------------------------------------- /src/components/groupManager/groupModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/groupManager/groupModal.jsx -------------------------------------------------------------------------------- /src/components/mockEditor/eventBus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockEditor/eventBus.js -------------------------------------------------------------------------------- /src/components/mockEditor/jsonEditor.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockEditor/jsonEditor.jsx -------------------------------------------------------------------------------- /src/components/mockEditor/mockEditor.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockEditor/mockEditor.jsx -------------------------------------------------------------------------------- /src/components/mockEditorModal/editModal.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockEditorModal/editModal.css -------------------------------------------------------------------------------- /src/components/mockEditorModal/editModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockEditorModal/editModal.jsx -------------------------------------------------------------------------------- /src/components/mockReqMenu/reqMenu.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockReqMenu/reqMenu.css -------------------------------------------------------------------------------- /src/components/mockReqMenu/reqMenu.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockReqMenu/reqMenu.jsx -------------------------------------------------------------------------------- /src/components/mockReqMenu/reqMenuItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/mockReqMenu/reqMenuItem.jsx -------------------------------------------------------------------------------- /src/components/previewMockModal/previewMockModal.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/previewMockModal/previewMockModal.css -------------------------------------------------------------------------------- /src/components/previewMockModal/previewMockModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/previewMockModal/previewMockModal.jsx -------------------------------------------------------------------------------- /src/components/proxy/proxy.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/proxy/proxy.css -------------------------------------------------------------------------------- /src/components/proxy/proxy.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/proxy/proxy.jsx -------------------------------------------------------------------------------- /src/components/settingsModal/BaseCodeSettings.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/settingsModal/BaseCodeSettings.jsx -------------------------------------------------------------------------------- /src/components/settingsModal/McpSettings.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/settingsModal/McpSettings.jsx -------------------------------------------------------------------------------- /src/components/settingsModal/PublicAccessSettings.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/settingsModal/PublicAccessSettings.jsx -------------------------------------------------------------------------------- /src/components/settingsModal/settingsModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/components/settingsModal/settingsModal.jsx -------------------------------------------------------------------------------- /src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/src/main.jsx -------------------------------------------------------------------------------- /test/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/test/index.html -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/test/index.js -------------------------------------------------------------------------------- /test/rsbuild.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/test/rsbuild.html -------------------------------------------------------------------------------- /test/vite.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/test/vite.html -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/vite.config.js -------------------------------------------------------------------------------- /vite.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/vite.test.js -------------------------------------------------------------------------------- /webpack.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shunseven/mocxykit/HEAD/webpack.test.js --------------------------------------------------------------------------------