├── .env.example ├── .eslintrc.json ├── .gitignore ├── LICENSE ├── README.md ├── README_EN.md ├── components.json ├── messages ├── en.json └── zh.json ├── next.config.mjs ├── package.json ├── pnpm-lock.yaml ├── postcss.config.mjs ├── public ├── favicon.ico ├── logo.svg └── qrcode.png ├── src ├── app │ ├── [locale] │ │ ├── [name] │ │ │ ├── IFrame.tsx │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ ├── model-judge │ │ │ ├── InputApiKey.tsx │ │ │ └── page.tsx │ │ └── page.tsx │ ├── api │ │ └── all-model │ │ │ └── route.tsx │ ├── globals.css │ ├── layout.tsx │ └── page.tsx ├── components │ ├── BuyMeACoffee.tsx │ ├── ClientComponent.tsx │ ├── Footer.tsx │ ├── GoogleOneTapLogin.tsx │ ├── Header.tsx │ ├── LanguageSwitcher.tsx │ ├── Layout.tsx │ ├── LocaleProvider.tsx │ ├── LoginDialog.tsx │ ├── MermaidDiagram.tsx │ ├── RenderCard.tsx │ └── ui │ │ ├── button.tsx │ │ ├── card.tsx │ │ ├── dialog.tsx │ │ ├── form.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── select.tsx │ │ ├── textarea.tsx │ │ ├── toast.tsx │ │ └── toaster.tsx ├── config │ └── index.ts ├── context │ ├── common-context.tsx │ └── next-auth-context.tsx ├── hooks │ └── use-toast.ts ├── i18n.ts ├── lib │ ├── AIStream.ts │ ├── auth.ts │ ├── errors.ts │ ├── supabase.ts │ └── utils.ts └── middleware.ts ├── tailwind.config.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/README.md -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/README_EN.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/components.json -------------------------------------------------------------------------------- /messages/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/messages/en.json -------------------------------------------------------------------------------- /messages/zh.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/messages/zh.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/public/logo.svg -------------------------------------------------------------------------------- /public/qrcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/public/qrcode.png -------------------------------------------------------------------------------- /src/app/[locale]/[name]/IFrame.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/[locale]/[name]/IFrame.tsx -------------------------------------------------------------------------------- /src/app/[locale]/[name]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/[locale]/[name]/page.tsx -------------------------------------------------------------------------------- /src/app/[locale]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/[locale]/layout.tsx -------------------------------------------------------------------------------- /src/app/[locale]/model-judge/InputApiKey.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/[locale]/model-judge/InputApiKey.tsx -------------------------------------------------------------------------------- /src/app/[locale]/model-judge/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/[locale]/model-judge/page.tsx -------------------------------------------------------------------------------- /src/app/[locale]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/[locale]/page.tsx -------------------------------------------------------------------------------- /src/app/api/all-model/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/api/all-model/route.tsx -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/components/BuyMeACoffee.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/BuyMeACoffee.tsx -------------------------------------------------------------------------------- /src/components/ClientComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ClientComponent.tsx -------------------------------------------------------------------------------- /src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/Footer.tsx -------------------------------------------------------------------------------- /src/components/GoogleOneTapLogin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/GoogleOneTapLogin.tsx -------------------------------------------------------------------------------- /src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/Header.tsx -------------------------------------------------------------------------------- /src/components/LanguageSwitcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/LanguageSwitcher.tsx -------------------------------------------------------------------------------- /src/components/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/Layout.tsx -------------------------------------------------------------------------------- /src/components/LocaleProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/LocaleProvider.tsx -------------------------------------------------------------------------------- /src/components/LoginDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/LoginDialog.tsx -------------------------------------------------------------------------------- /src/components/MermaidDiagram.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/MermaidDiagram.tsx -------------------------------------------------------------------------------- /src/components/RenderCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/RenderCard.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/form.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/context/common-context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/context/common-context.tsx -------------------------------------------------------------------------------- /src/context/next-auth-context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/context/next-auth-context.tsx -------------------------------------------------------------------------------- /src/hooks/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/hooks/use-toast.ts -------------------------------------------------------------------------------- /src/i18n.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/i18n.ts -------------------------------------------------------------------------------- /src/lib/AIStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/lib/AIStream.ts -------------------------------------------------------------------------------- /src/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/lib/auth.ts -------------------------------------------------------------------------------- /src/lib/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/lib/errors.ts -------------------------------------------------------------------------------- /src/lib/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/lib/supabase.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashclub/ModelJudge/HEAD/tsconfig.json --------------------------------------------------------------------------------