Commit b1f72e3
committed
feat(init): set up ZeroLimit project with Tauri, React, and Rust
WHAT:
- Initializes the ZeroLimit project, establishing the core structure for a Tauri desktop application.
- Integrates a React frontend, including routing, a default layout, and initial pages (Dashboard, About).
- Incorporates Shadcn UI components, theme management, and internationalization (i18n) with multiple language support.
- Sets up the Rust backend for Tauri, providing commands for CLI proxy control (start, stop, status), system tray integration, and global state management.
- Adds essential development configurations: `.editorconfig`, `.gitignore`, `.prettierrc`, and `components.json`.
- Includes project documentation (`README.md`, `docs/USAGE.md`) and all necessary public assets (icons, provider images, screenshots).
- Introduces components for displaying detailed and compact AI provider quota information.
- Updates `src/server.ts` to support configurable port via `process.env.PORT` and renames the port variable to `PORT`.
WHY:
- To establish the complete foundational framework for the ZeroLimit application, enabling cross-platform desktop functionality.
- To provide a modern, maintainable, and scalable architecture for both the user interface and backend logic.
- To ensure consistent code style, formatting, and project setup for efficient development.
- To deliver a localized and user-friendly experience for monitoring AI coding assistant quotas.
- To prepare the application for future feature development and deployment.
feat(app): implement core UI, routing, state management, and API services
Introduces main application pages: LoginPage, ProvidersPage, QuotaPage, SettingsPage.
Sets up client-side routing with MainRoutes and ProtectedRoute for navigation and access control.
Adds API service modules (apiCall, authFiles, client, config, oauth, quota) for backend interaction.
Implements Zustand stores (useAuthStore, useCliProxyStore, useConfigStore, useLanguageStore, useThemeStore) for global state management.
Includes utility functions for connection, constants, language, privacy, and quota data processing.
Integrates Tauri-specific services for desktop application features.
Configures TypeScript and Vite for the frontend build process.
To provide a comprehensive and interactive graphical user interface for the CLI Proxy application.
To enable users to manage authentication, connect providers, monitor quota, and customize application settings.
To establish a modular and maintainable frontend architecture that supports both web and desktop environments.
To facilitate efficient and type-safe communication with the CLI Proxy API.
To ensure consistent state management and user experience across the application.1 parent 2dd8288 commit b1f72e3
149 files changed
Lines changed: 6697 additions & 0 deletions
File tree
- docs
- public
- antigravity
- claude
- gemini
- openai
- screenshots
- src-tauri
- capabilities
- icons
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- src
- commands
- src
- components
- quota
- ui
- hooks
- i18n
- locales
- layouts
- lib
- pages
- router
- services
- api
- storage
- tauri
- stores
- types
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments