Skip to content

october-coder/api-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

44 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

logo.png

API CHECK

English ยท ็ฎ€ไฝ“ไธญๆ–‡

Tip

Click to try: https://check.crond.dev

Pure Front-End API Testing Tool

  • โœ… Supports Liveness Testing for Various OpenAI API Proxies

    • Compatible with OpenAI proxy APIs like oneapi and newapi, fully testing availability.
  • ๐Ÿ”’ Pure Front-End Version for Enhanced Data Security

    • All operations are performed on the front end, eliminating concerns about network timeouts and ensuring data security.
  • ๐Ÿ“Š Detailed Testing Data

    • Displays response time, model consistency, and more, making test results clear at a glance.
  • ๐Ÿ’พ Cloud Storage and Local Storage

    • Cloud Storage: Save configurations to the cloud for multi-device sharing.
    • Local Storage: Save frequently used configurations locally for quick loading and convenience.
  • ๐ŸŒ™ Theme and Language Switching

    • Dark/Light Mode: Choose a theme that suits you to protect your eyesight.
    • Multi-Language Support: Supports Chinese and English to meet different language needs.
  • ๐Ÿ–ฅ๏ธ Multiple Deployment Methods

    • Vercel Deployment: Supports one-click deployment to Vercel for convenience.
    • Docker Deployment
    • Cloudflare Deployment

๐Ÿ“ฆ Getting Started

Vercel Deployment

  1. Click the button on the right to start deployment: Deploy with Vercel. Simply log in using your GitHub account, and remember to fill in the backend password on the environment variables page.
  2. After deployment, you can start using it.
  3. (Optional) To deploy the backend service, please refer to the Detailed Tutorial.
  4. (Optional) Bind a Custom Domain Name: The domain name assigned by Vercel may be polluted in some regions. Binding a custom domain name allows direct access.

Docker Deployment

  1. One-click deployment command

  2. docker run -d -p 13000:13000 \
      -e PASSWORD=you_password \
      -v you_path:/app/data \
      --name api-check ghcr.io/rickcert/api-check:latest

Cloudflare Backend Deployment

  1. Refer to the Detailed Tutorial.
  2. It's best to bind a custom domain name.

๐Ÿ“œ Recent Updates

Testing

v2.1.0

๐Ÿ”” New Features and Optimizations

  • โœจ Added Quick Chat Testing
    • Integrated with the modified NextChat for quick model testing.
    • Added closeChat setting for convenient proxy usage.
  • ๐Ÿงช Added Experimental Features Module from elfmaid
    • Batch testing of GPT Refresh Tokens
    • Batch testing of Claude Session Keys
    • Batch testing of Gemini API Keys
  • โœ‚๏ธ Added Paste Button by fangyuan
  • ๐Ÿ“ Added Custom Conversation Verification

๐Ÿ”ง Optimizations and Fixes

  • ๐Ÿณ Optimized Dockerfile to reduce image size.
  • ๐ŸŽจ Fixed Layout Issues to improve interface display.

v2.0.0

๐Ÿ”” Brand New Features and Optimizations

  • ๐ŸŒ Added Cloud Storage and Local Storage
    • Cloud Storage: Supports saving API configuration information to the cloud server for multi-device synchronization, allowing you to access your configurations anytime, anywhere.
    • Local Storage: Provides a local caching function for quick local saves, avoiding repeated inputs and improving efficiency.
    • Data Management: Added a settings panel for easy management of local and cloud configuration data.
  • โœจ Supports Preset Parameters
    • Convenient One-Click Configuration
    • Quickly Bind to new-api
  • ๐Ÿ’ป Supports One-Click Deployment with Vercel and Docker
  • ๐ŸŒ™ Added Dark Mode
    • Theme Switching: Supports switching between dark and light modes to suit different environments and user preferences.
    • Automatic Adaptation: Can automatically switch themes based on system settings to protect your eyesight.
  • ๐ŸŒ Internationalization Support
    • Multi-Language: Added internationalization support, currently supporting Chinese and English.
  • ๐Ÿ“ฑ Mobile Adaptation Optimization
  • ๐Ÿ›  Other Optimizations and Fixes

๐Ÿงช Version History

v1.5.0

  • ๐Ÿ“ฑ Adapted for Mobile Mode
  • ๐ŸŒ™ Added Dark Theme
  • ๐Ÿง  Optimized o1 Model Testing

v1.4.0

  • ๐Ÿ” Added Temperature Verification
  • ๐Ÿ“Š Added Function Verification
  • ๐Ÿ”ง Optimized Test Prompts

v1.3.0

  • ๐Ÿ” Added Official API Verification
  • ๐Ÿ–ฅ๏ธ Supports Filtering Queries

v1.2.0

  • ๐Ÿ–ฅ๏ธ Added Local One-Click Run
  • ๐ŸŒ Supports Pages Online Hosting
  • ๐Ÿ“Š Improved Test Result Display

v1.0.0

  • โœจ Supports Multi-Model Testing
  • ๐Ÿ’ฐ Added Quota Check
  • ๐Ÿ“‹ Implemented Model List Retrieval

๐Ÿ“‹ Feature Introduction

  • ๐Ÿงช Test the availability and consistency of multiple models

  • ๐Ÿ’ฐ Check API account usage quota

  • ๐Ÿ“‹ Retrieve and display the list of available models

  • ๐Ÿ“ Intelligent extraction of API information

  • ๐Ÿ–ฑ๏ธ Convenient copy function

  • ๐Ÿ’พ Cloud storage and local caching

  • ๐ŸŒ™ Theme and language switching

  • ๐Ÿ›  Advanced Verification Features

    • Official Proxy Verification: Verify the authenticity of the API and view system fingerprints.
    • Temperature Verification: Verify the randomness and stability of the model.
    • Function Call Verification: Test the model's function-calling capabilities.

๐Ÿ›  Cloud Storage

  • Docker Deployment backend URL: Please use https://your_website/api
  • Vercel Deployment backend URL: Please use https://your_website/api
  • Cloudflare Deployment backend URL: Please use https://your_website

๐Ÿ›  Preset Parameter Settings

Test Report

๐Ÿ”— url

  • Description: API endpoint address.
  • Example: "url": "https://api.example.com"

๐Ÿ“ฆ models

  • Description: An array of model names indicating which models are available.
  • Example: "models": ["model1", "model2"]

โฑ timeout

  • Description: Request timeout in seconds.
  • Example: "timeout": 30

๐Ÿ” concurrency

  • Description: Number of concurrent requests.
  • Example: "concurrency": 5

๐Ÿšซ closeAnnouncement Convenient for Proxy Sites

  • Description: Whether to disable the announcement display. Set to true to disable, or false/undefined to display announcements. Convenient for proxy sites
  • Example: "closeAnnouncement": true

๐Ÿšช closeChat Convenient for Proxy Sites

  • Description: Whether to disable the quick chat function. Set to true to disable, or false/undefined to enable the chat function.
  • Example: "closeChat": true
https://check.crond.dev/?settings={"key":"*sk*","url":"*api*","models":["gpt-4o-mini","gpt-4o"],"timeout":10,"concurrency":2,"closeAnnouncement":true,"closeChat":true}

Decoded JSON string:

{
  "key": "your_api_key",
  "url": "https://api.example.com",
  "models": ["gpt-4o-mini", "gpt-4o"],
  "timeout": 10,
  "concurrency": 2,
  "closeAnnouncement": true,
  "closeChat": true
}
  • voapi Example
{
  "name": "check",
  "link": "https://check.crond.dev/?settings={%22key%22:%22*sk*%22,%22url%22:%22*api*%22,%22models%22:[%22gpt-4o-mini%22],%22timeout%22:10,%22concurrency%22:2,%22closeAnnouncement%22:true,%22closeChat%22:true}",
  "icon": "https://check.crond.dev/logo.png"
}
  • newapi Example
{
  "CHECK": "https://check.crond.dev/?settings={\"key\":\"{key}\",\"url\":\"{address}\",\"models\":[\"gpt-4o-mini\"],\"timeout\":10,\"concurrency\":2,\"closeAnnouncement\":true,\"closeChat\":true}"
}

๐Ÿ›  Advanced Verification Features

๐Ÿ•ต๏ธ Official API Verification

  1. ๐Ÿ”„ Send multiple identical requests.
  2. ๐Ÿ“Š Analyze the consistency of the responses.
  3. ๐Ÿ” Check system fingerprints.
  4. ๐Ÿงฎ Calculate similarity scores.

๐Ÿ•ต๏ธโ€โ™€๏ธ Temperature Verification

  1. ๐ŸงŠ Set the temperature parameter to a low value (0.01).
  2. ๐Ÿ”„ Send multiple identical requests (e.g., calculating the next number in a specific sequence).
  3. ๐ŸŽฏ Check the hit rate based on the official API's reference values.

๐Ÿ›  Generate Reports

Test Report

๐Ÿค Contributing

We welcome suggestions and improvements! Feel free to submit pull requests or open issues. Let's make this tool even better together! ๐ŸŒˆ

๐Ÿ“œ License

This project is licensed under the Apache License 2.0.

๐Ÿ™ Acknowledgments

Special thanks to the following contributors whose efforts have made this project better:

Star History

Star History Chart