Skip to content

Add comprehensive Chinese README for PromptIdea MVP v0.1#2

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/create-mvp-for-promptidea-app
Draft

Add comprehensive Chinese README for PromptIdea MVP v0.1#2
Copilot wants to merge 2 commits intomainfrom
copilot/create-mvp-for-promptidea-app

Conversation

Copy link
Contributor

Copilot AI commented Oct 21, 2025

Overview

This PR adds a comprehensive Chinese README documentation for the PromptIdea MVP (version 0.1), a TikTok-style streaming platform for sharing AI prompts and generated content.

What's Changed

Replaced the minimal README with a complete 1,337-line Chinese documentation that serves as a full technical blueprint for building the PromptIdea MVP. The README starts with "MVP Generated: PromptIdea v0.1" as requested.

Documentation Includes

📱 Product Specifications

  • Core Features: Auth & onboarding, infinite scroll feed, post details with AI sandbox, creator pages, and social interactions
  • Mobile-First Design: Complete wireframe descriptions for all 5 key screens (Feed, Detail, Upload, Search, Profile)
  • User Experience: 60fps smooth scrolling, dark mode support, offline capabilities

🏗️ Technical Architecture

  • System Architecture Diagram: Mermaid syntax diagram showing complete frontend → backend → database → AI service flow
  • Tech Stack: React Native (Expo), Node.js + Express, PostgreSQL (Supabase), Firebase Storage, OpenAI API, FFmpeg

💻 Code Implementation

  • Backend Structure: Complete Express.js server setup with routes for /auth, /posts, /users, and /generate-clip
  • Database Schemas: Full SQL schemas for users, posts, comments, and interactions tables with proper indexing
  • Frontend Components: React Native/TypeScript components including FeedScreen, VideoPlayer, DetailScreen, UploadModal, and more
  • API Integration: Axios-based API service layer with authentication interceptors and error handling
  • AI Services: OpenAI API proxy and FFmpeg video generation service implementations

🚀 Deployment & Operations

  • Setup Scripts: Complete package.json files for both frontend and backend, plus Docker Compose configuration
  • Deployment Guides: Step-by-step instructions for:
    • Mobile deployment with Expo EAS Build
    • Backend deployment to Vercel
    • Database setup with Supabase
    • Media storage configuration with Firebase
  • Environment Configuration: All required environment variables (OPENAI_API_KEY, DATABASE_URL, etc.)

🧪 Testing & Quality

  • Unit Tests: Jest test examples for both backend (Express routes) and frontend (React Native components)
  • Edge Cases: Handling for API rate limits, offline mode for saved prompts, and video loading failures
  • Performance Optimization: Video preloading, image optimization, database indexing, and Redis caching strategies

🔮 Future Extensions

  • TensorFlow.js-based recommendation engine
  • Monetization features (creator tipping, paid prompts, ads)
  • Enhanced social features (DMs, live streaming, notifications)
  • Advanced search capabilities (Elasticsearch, semantic search)

Target Audience

This documentation is designed for developers to implement the PromptIdea platform in 1-2 days of focused development work, providing executable code examples and clear deployment paths.

Language

All content is written in Chinese as specified in the requirements.


Project Status: 🚀 MVP Ready - Documentation complete and ready for implementation!

Original prompt

Prompt for AI Assistant (e.g., Grok or GPT-4o): Generate an MVP for PromptIdea AppYou are an expert full-stack developer and product designer specializing in AI-integrated apps. Build a minimum viable product (MVP) for PromptIdea, a TikTok-like streaming platform for sharing AI prompts. Users scroll short clips of prompt-generated effects (e.g., art, education tools, tech demos), view details with one-click copy, and creators upload series on personal pages. Core goals: Lower AI replication barriers, explore model boundaries, empower idea-only open-sourcing.Key Features for MVP (Prioritize Mobile-First):Auth & Onboarding: Email/social login (Google). Quick setup: Select interests (art/edu/tech) for personalized feed.
Home Feed: Infinite vertical scroll of 15-30s video clips (prompt input→output animations). Tags (#ArtGen), like/save/share buttons. Recommend based on views/likes.
Post Details: Full prompt text (editable/copyable), model info (e.g., "DALL-E 3"), success rating (e.g., 95%). In-app sandbox: Upload input (image/text), generate preview via integrated AI API.
Creator Page: Upload form (prompt + media → auto-generate clip). List of user's posts as themed series. Basic profile: Bio, followers.
Interactions: Comments with "fork" toggle; Global search by tag.

Tech Stack (Fixed for Consistency):Frontend: React Native (Expo for easy build/deploy).
Backend: Node.js + Express, PostgreSQL (Supabase for quick DB/Auth).
Storage: Firebase for media/uploads.
AI Integrations: OpenAI API for prompt execution/sandbox (use your key placeholder); FFmpeg for clip gen.
Other: Redux for state, React Navigation for routing.

Output Structure (Detailed & Actionable):Architecture Diagram: Text-based (Mermaid syntax) showing frontend→backend→DB→AI flow.
Wireframes: Describe 5 key screens in text (e.g., "Feed: Full-screen video with overlay tags, bottom nav: Home/Search/Profile"). Suggest Figma links if possible.
Code Skeletons:Backend: Full Express server setup (routes for /auth, /posts, /generate-clip). Include DB schemas (SQL) and AI proxy endpoint.
Frontend: Key components (FeedScreen.tsx, DetailScreen.tsx, UploadModal.tsx). Include sample API calls (Axios).
Setup Scripts: package.json excerpts, Docker compose for local dev.

Deployment Guide: Step-by-step for Expo (mobile), Vercel (backend). Include env vars (e.g., OPENAI_API_KEY).
Testing & Edge Cases: Unit tests outline (Jest); Handle API rate limits, offline mode for saved prompts.
Extensions for v1.1: Add rec engine (simple TF.js), monetization stubs.

Ensure code is clean, commented, and modular. Focus on UX: Smooth 60fps scrolls, dark mode. Total output: Concise but complete—aim for executable in 1-2 days. If generating code, zip it conceptually.Start with: "MVP Generated: PromptIdea v0.1"

please only write the readme in Chinese


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: gravity-wh <114725356+gravity-wh@users.noreply.github.com>
Copilot AI changed the title [WIP] Create MVP for PromptIdea streaming platform Add comprehensive Chinese README for PromptIdea MVP v0.1 Oct 21, 2025
Copilot AI requested a review from gravity-wh October 21, 2025 17:00
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.

2 participants