team-manage  by tibbar213

ChatGPT Team account management and automated invitation system

Created 2 months ago
959 stars

Top 38.1% on SourcePulse

GitHubView on GitHub
Project Summary

<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> This project offers a FastAPI-based system for managing ChatGPT Team accounts and automating user onboarding via redemption codes. It targets administrators needing to efficiently handle Team accounts and allows users to join seamlessly using unique codes, simplifying account distribution and management.

How It Works

<2-4 sentences on core approach / design (key algorithms, models, data flow, or architectural choices) and why this approach is advantageous or novel.> The system is built on FastAPI and Uvicorn, using SQLite with SQLAlchemy for its database. A key technical choice is the use of curl-cffi to mimic browser fingerprints, enabling it to bypass Cloudflare protections when interacting with ChatGPT APIs. It processes Team account imports via AT Tokens, generates redeemable codes, and automates the invitation process for users.

Quick Start & Requirements

  • Primary install / run command (pip, Docker, binary, etc.).
    • Recommended: Docker Compose (docker compose up -d).
    • Manual: Python 3.10+, pip, clone repo, pip install -r requirements.txt, configure .env, python init_db.py, run with uvicorn app.main:app --reload.
  • Non-default prerequisites and dependencies (GPU, CUDA >= 12, Python 3.12, large dataset, API keys, OS, hardware, etc.).
    • Python 3.10+
    • Docker and Docker Compose (for Docker deployment)
    • Valid ChatGPT Team AT Tokens are required for functionality.
  • Estimated setup time or resource footprint.
    • Docker setup is typically fast. Manual setup involves environment configuration and dependency installation.
  • If they are present, include links to official quick-start, docs, demo, or other relevant pages.
    • No external links provided; all instructions are within the README.

Highlighted Details

  • Supports batch import of Team accounts with intelligent extraction of AT Tokens, emails, and Account IDs.
  • Automated generation of custom redemption codes with configurable validity periods and status tracking.
  • Real-time Team status monitoring (available, full, expired, error) and inventory alerts with Webhook support for automated restocking notifications.
  • Utilizes curl-cffi to bypass Cloudflare, enhancing API interaction reliability.
  • Automates sending ChatGPT Team invitations to users' emails upon successful redemption.

Maintenance & Community

  • The README welcomes Issues and Pull Requests but does not detail specific contributors, sponsorships, or community channels (e.g., Discord, Slack).

Licensing & Compatibility

  • License Type: Explicitly stated as for "learning and research purposes only" ("本项目仅供学习和研究使用").
  • Compatibility Notes: Not suitable for commercial use or integration into closed-source commercial applications due to its restrictive licensing. Requires adherence to OpenAI's terms of service.

Limitations & Caveats

<1-3 sentences on caveats: unsupported platforms, missing features, alpha status, known bugs, breaking changes, bus factor, deprecation, etc. Avoid vague non-statements and judgments.> This project is strictly limited to learning and research use, prohibiting commercial applications. Its core functionality relies on the availability and validity of ChatGPT Team AT Tokens, and users must comply with OpenAI's service terms.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
10
Star History
788 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.