PandoraNext-TokensTool  by Yanyutin753

Web app for PandoraNext token management

Created 1 year ago
1,254 stars

Top 31.6% on SourcePulse

GitHubView on GitHub
Project Summary

PandoraNext-TokensTool provides a user-friendly interface for managing tokens and configurations for PandoraNext, a service that offers free API access to ChatGPT. It targets users who want to easily set up and maintain their own OpenAI API relay stations, simplifying the process of token management, sharing, and integration with services like OneAPI.

How It Works

The tool automates the management of tokens.json and config.json files for PandoraNext. It supports adding, refreshing, and deleting various token types (share_token, access_token, pool_token) using OpenAI account credentials. The system can also manage PandoraNext's lifecycle (start, stop, restart) and allows online modification of config.json with hot-reloading capabilities. It integrates with OneAPI for synchronized token updates and includes security features like login logs and IP blacklisting.

Quick Start & Requirements

  • One-Click Deployment: A shell script (install.sh) is provided for automated deployment of both PandoraNext and TokensTool.
    # Clone the repository (choose domestic or international)
    cd / && git clone <repository_url>
    # Run the installation script
    cd /tokenTools-sh && sudo sh install.sh
    
  • Prerequisites: Git, Java (for non-Docker Java deployment), Docker and Docker Compose (for Docker deployments).
  • Configuration: Requires opening ports 8081 and 8181. Initial setup involves configuring system variables, including account credentials and a license IP obtained from dash.pandoranext.com.
  • Documentation: View Documentation (Note: The README links to a separate documentation site, which is not directly provided here).

Highlighted Details

  • Automated refreshing of share_token, access_token, and pool_token.
  • One-click management of PandoraNext services and token files.
  • Integration with OneAPI for seamless token synchronization.
  • Enhanced security with login logs, IP blacklisting, and custom URL prefixes.

Maintenance & Community

  • The project actively encourages community contributions and provides links to a QQ group for discussion.
  • Star History

Licensing & Compatibility

  • The project is open-source, with an implied permissive license allowing modification and redistribution, though specific license details are not explicitly stated in the README.
  • Compatibility is primarily focused on Linux environments with Docker or Java.

Limitations & Caveats

  • The project relies on external services like dash.pandoranext.com for license information, which could be a point of failure.
  • Initial setup requires careful attention to configuration details, especially regarding file paths and network settings.
  • The project is described as being developed by a "newcomer" (小白), suggesting potential for bugs or incomplete features.
Health Check
Last Commit

1 year ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.