Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Source code update #1428

Merged
merged 9 commits into from
Jul 1, 2024
Merged

refactor: Source code update #1428

merged 9 commits into from
Jul 1, 2024

Conversation

Bin-Huang
Copy link
Owner

@Bin-Huang Bin-Huang commented Jun 30, 2024

This is a major update that I've been working on for a long time, aiming to bring the current repository up to a newer version of the official Chatbox release. This update is the result of countless refactors and optimizations over the past year, essentially a complete rewrite of the current repository.

Here's a quick overview of what's new:

  1. Framework Migration: Switched from Tauri to Electron. This change was made because Tauri heavily relies on the user's OS Webview Runtime, which proved unstable and unreliable in production. I gathered a lot of feedback from Windows and Linux users, and most issues stemmed from the Tauri framework itself, which was hard to fix.
  2. State Management and Styling: Add Jotai for state management and TailwindCSS for styling, making the code easier to maintain.
  3. UI Redesign: Completely redesigned and implemented a new user interface to enhance visual appeal and user experience.
  4. Development Infrastructure: Set up a more developer-friendly infrastructure for building, compiling, and packaging, addressing common development challenges mentioned by the community.
  5. Feature Optimization: Refactored, optimized, and rewrote every feature and code file to improve user interaction and performance.

In essence, this is an entirely new codebase compared to the previous version. I've decided to keep it open-source as a contribution to the community.

To avoid any confusion, I want to clarify that this version doesn't include many new features that have been released. The main goal of this PR is to update the core of the application, fix existing issues, and improve basic user experience and performance, paving the way for future updates and iterations. This repository might become the community version of Chatbox, distinct from the official Chatbox release.



@Bin-Huang
Copy link
Owner Author

This version also improves the development and build instructions, making them simpler and more stable.

  1. Clone the repository

  2. Install the required dependencies

npm install
  1. Start the application (in development mode)
npm run dev
  1. Build the application, package the installer for current platform
npm run package
  1. Build the application, package the installer for all platforms
npm run package:all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant