Add complete ai.card Rust implementation
- Implement complete Rust API server with axum framework - Add database abstraction supporting PostgreSQL and SQLite - Implement comprehensive gacha system with probability calculations - Add JWT authentication with atproto DID integration - Create card master data system with rarities (Normal, Rare, SuperRare, Kira, Unique) - Implement draw history tracking and collection management - Add API endpoints for authentication, card drawing, and collection viewing - Include database migrations for both PostgreSQL and SQLite - Maintain full compatibility with Python API implementation - Add comprehensive documentation and development guide 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -5,13 +5,13 @@ set -e
|
||||
|
||||
# Configuration
|
||||
CARD_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
API_DIR="$CARD_DIR/api"
|
||||
API_DIR="$CARD_DIR/python/api"
|
||||
VENV_DIR="$HOME/.config/syui/ai/card/venv"
|
||||
PYTHON="$VENV_DIR/bin/python"
|
||||
|
||||
# Default settings
|
||||
HOST="${HOST:-localhost}"
|
||||
PORT="${PORT:-8000}"
|
||||
PORT="${PORT:-8001}"
|
||||
RELOAD="${RELOAD:-true}"
|
||||
|
||||
echo "🎴 Starting ai.card MCP Server"
|
||||
|
Reference in New Issue
Block a user