GithubHelp home page GithubHelp logo

normal-coder / chatwizard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lisiur/chatwizard

0.0 0.0 0.0 23.55 MB

OpenAI chat client desktop app (Windows, MacOS, Linux)

License: MIT License

JavaScript 1.09% Rust 47.78% TypeScript 50.50% CSS 0.54% HTML 0.09%

chatwizard's Introduction

ChatWizard

ChatWizard

OpenAI chat client Desktop Application (Windows, MacOS, Linux)

Declaration

  • All data will only be stored locally.
  • Chat logs and API keys will only be used for the OpenAI API and will not be sent to any other destination.
  • If concerned about API key leakage, the in-app forwarding function can be used (which enables storage of the API key on your own server, requiring only a reverse-proxy address to the OpenAI API).

Screenshots

Casual Chat

Topic Chat

Local Prompt

Prompt Market

Plugins

Setting

Tray Window

Features

  • plugin
  • stream response
  • stop replying
  • tray window
  • network proxy
  • forward api
  • lazy loading of chat records
  • export image
  • chat configuration
  • prompt market
  • local prompt
  • i18n
  • dark/light theme

Todo

  • multi user
  • shared chat
  • export pdf/image/markdown

Installation

If a 404 error page appears when clicking the download link, this may be due to the application being packaged at the moment. Please try again later or alternatively, download the most up-to-date version directly from here.

  • Mac

    MacOS users may encounter this problem: "ChatWizard.app" is damaged and can't be opened. You should move it to the Trash.

    open terminal and execute:

    xattr -cr /Applications/ChatWizard.app
  • Windows:

  • Linux

    It is not surprising for the app to fail to launch on a Linux system. This is likely because the two packages were built on the Ubuntu20. Perhaps you could consider building them locally.

  • From Source

    1. First you need to install Tauri development environment and pnpm
    2. Next, use the following command to build.
      git clone https://github.com/lisiur/ChatWizard.git
      cd ChatWizard
      pnpm install
      pnpm run install
      pnpm run build
    3. Your local build version will be located at target/release/bundle/

Upgrade

ChatWizard has built-in upgrade support, and each time you restart the application, it automatically checks for any new releases. If a new version is available, a small red dot will be displayed in the lower left corner.

Plugin

You need to install chat-wizard-cli to use plugin.

Install chat-wizard-cli

How to use

  1. You need to rename the downloaded binary file to a more user-friendly name and add it to your environment variables. Let us assume that the binary file is named chat-wizard-cli.
  2. Then you need to install plugin in ChatWizard App. For instance, assuming the plugin named commit-summary has already been installed.
  3. And finally you can execute: chat-wizard-cli exec commit-summary in terminal.

Q&A

1. Why chat-wizard-cli is so large, almost more then 10 MB

As CLI and GUI programs are completely separate, you can easily install and use plugins with just CLI. However, the current configuration of CLI is still dependent on GUI, which will gradually be improved in the future.

2. Where is the plugin source code

Check this repo

Development

  • dev

    # root
    pnpm install
    pnpm run install
    pnpm run dev
  • build

    pnpm run build

Contribute

i18n

Language definitions are here: web/src/i18n. Refer to the contents of template.ts to add a new language definition.

chatwizard's People

Contributors

lisiur avatar normal-coder avatar

chatwizard's Issues

[Bug]: After starting for a while under macOS, no available windows can be found when switching windows

Describe the bug

After starting for a while under macOS, no available windows can be found when switching windows

Steps to Reproduce

  1. Launch ChatWizard on macOS.
  2. After using it for a while (maybe switching to other applications), switch back to ChatWizard, there is no valid window to switch.
  3. Confirm that the "hide main window" setting is not turned on

Expected behavior

The window can be switched normally, and the window will not disappear

Please select the app version

0.5.0

Please select the Platform / OS Type

Darwin(macOS)

Please provide your OS version, eg 13.3.1

13.4.1 (c) (22F770820d)

Please select the OS Arch you are using when encounter the problem

x86_64

Additional context

No response

[Feature]: Allows to set the application home page as the "Chat" window, or set it as the default value

Is your feature request related to a problem? Please describe.

For most desktop ChatGPT users, customizing the prompt or quickly switching the context of the conversation (switching between different conversations) is a strong appeal.

By default, the application uses a non-important entry (casual chat) as the home page, so that users will encounter the problem of switching every time they come in. This drastically degrades the experience.

Describe the solution you'd like

Set the default session window to "Chat" as default

Describe alternatives you've considered

  • Provide setting items, allowing users to set the default window Tab to open.
  • or set the default session window to "Chat" as default

Additional context

None

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.