desk_gpt Svelte Themes

Desk_gpt

Menu bar ChatGPT app written in Svelte, Python, and Rust

desk_gpt

Silly project to mimic the fantastic QuickGPT app but using the Python SDK instead of the web interface.

Minimum requirements

Installation

  • Clone the repo
    git clone https://github.com/pythoninthegrass/desk_gpt.git
    cd desk_gpt
    
  • Install the backend
    poetry install
    
  • Install the frontend
    cd app
    npm install         # bun install
    

Quickstart

Run server

cd backend
./run_django.py

Run frontend

Either run the vite dev server

cd app
npm run dev             # vite dev

or start the tauri app (recommended)

cd app/src-tauri
npm run tauri dev       # bunx tauri dev

TODO

  • devbox services
    • Automates the setup of the backend and frontend services
  • Tauri integration
    • Add tray icon
    • Add global shortcut
    • Add notifications
  • Package the app
    • Create a distributable package
    • Setup CI
  • Add upload file feature
    • Add file attachments
  • UI/UX design tweaks
    • Add loading spinner
    • Expand flexbox(?) viewport width
    • Fixed width for chat form
    • Change font
    • Better code snippet formatting
    • Streaming responses
    • Copy code blocks
  • Create sidebar
    • + New chat button
    • Chat history with title truncated
    • Clear conversations button
    • Log out button
  • Auth (Login / Logout)
    • Save token to disk
    • Load token from disk
  • Add tests
    • Backend
    • Frontend
  • Handle monorepo-ish structure
    • Either dependencies all go in the root or in the respecitve subdirectory

Top categories

Loading Svelte Themes