ChatGPT-miniprogram  by leon-fong

WeChat mini-program for ChatGPT

created 2 years ago
374 stars

Top 76.9% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a WeChat Mini Program for interacting with ChatGPT, targeting users who want a convenient mobile interface for AI conversations. It offers features like conversation history, prompt management, and content saving, aiming to simplify AI access on mobile devices.

How It Works

The mini program acts as a frontend client for the ChatGPT API. It utilizes a standard WeChat Mini Program development structure, allowing for customization of API endpoints and prompts. The architecture is designed for ease of deployment within the WeChat ecosystem, with configuration files for managing API keys and base URLs.

Quick Start & Requirements

  • Install dependencies: yarn install
  • Open WeChat DevTools, build npm, configure config/development.js and config/production.js with BaseUrl and APPID.
  • Set OPEN_API_KEY in config/index.js.
  • Build for production: yarn build:prod
  • Official documentation: Not explicitly linked, but configuration paths are provided.

Highlighted Details

  • Customizable prompt list via api/prompts.js.
  • Features include clearing screen, reply animations, and cancelling requests.
  • AI content saving with copy/select options.
  • Supports setting a reverse proxy for API access.

Maintenance & Community

  • Community contributions are encouraged via standard Git pull request workflows.
  • No specific community channels (Discord/Slack) or roadmap are mentioned.

Licensing & Compatibility

  • License: MIT
  • Compatible with commercial use and closed-source linking due to the permissive MIT license.

Limitations & Caveats

The project is presented as a demonstration, and users are responsible for deploying and configuring API access, including potential reverse proxy setups to circumvent API access issues. Specific instructions for automated code uploading are provided, implying manual upload is also an option.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.