chatgpt-vue  by lianginx

Chat app using OpenAI's gpt-3.5-turbo model API

created 2 years ago
608 stars

Top 54.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a simple, web-based chat interface for interacting with OpenAI's GPT-3.5 Turbo model. Built with Vue 3, TypeScript, and Tailwind CSS, it's designed for users who want a straightforward way to experience ChatGPT-like conversations directly in their browser, supporting continuous dialogue history.

How It Works

The application leverages the Vue 3 framework for its reactive UI and component-based architecture. It utilizes TypeScript for enhanced code quality and maintainability. API requests to OpenAI's GPT-3.5 Turbo are made directly from the frontend using the browser's network environment, eliminating the need for a backend proxy. This approach simplifies deployment and setup for users with direct internet access to OpenAI's API.

Quick Start & Requirements

  • Install dependencies and run: npm install && npm run dev or yarn && yarn dev
  • Requires Node.js runtime.
  • An OpenAI API Key is necessary.
  • Access to OpenAI API from your network environment is crucial.
  • Project runs locally via Vite at http://localhost:5173/.
  • Official documentation: https://vitejs.dev/

Highlighted Details

  • Frontend-only implementation for direct API calls.
  • Continuous conversation history support.
  • Built with modern Vue 3, TypeScript, and Tailwind CSS.
  • API key management via an in-app settings modal.

Maintenance & Community

The project is maintained by the author, lianginx. Further community interaction or roadmap details are not specified in the README.

Licensing & Compatibility

  • License: MIT
  • This permissive license allows for commercial use and integration into closed-source projects.

Limitations & Caveats

The application's functionality is entirely dependent on the user's browser's network connectivity to the OpenAI API, as no proxy or backend is utilized. Users in restricted network environments may not be able to connect.

Health Check
Last commit

2 years ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
8 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.