Skip to main content

Local development server for SorcGCS — game preview, file management, and AI agent support

Project description

sorcgcs-server

Local development server for SorcGCS (Sorceress) — game preview, file management, and AI code agent support.

Quick Start

# Using uv (fastest)
uvx sorcgcs-server

# Using pipx
pipx run sorcgcs-server

# Or install and run
pip install sorcgcs-server
sorcgcs-server

Options

sorcgcs-server --port 8080    # Custom port (default: 8080)
sorcgcs-server --dir ./games  # Serve a specific directory
sorcgcs-server --version      # Show version

What It Does

This is a lightweight local HTTP server (Python stdlib only, no dependencies) that provides:

  • Game Preview — Serve HTML5 games with live reload support
  • File API — Read, write, list, search, and manage project files
  • FFmpeg Integration — Audio/video format conversion (if ffmpeg is installed)
  • AI Agent Support — Endpoints for the SorcGCS AI code agent
  • Checkpoint System — Create and restore file snapshots

API Endpoints

Method Path Description
GET /api/status Server status and config
GET /api/games List available games
GET /preview/* Serve game preview files
GET /games/* Serve game files
POST /api/read-file Read a file
POST /api/write-file Write a file
POST /api/list-dir List directory contents
POST /api/search-files Search files by glob pattern
POST /api/run-command Execute a shell command
POST /api/create-dir Create a directory
POST /api/delete-file Delete a file
POST /api/rename-file Rename/move a file
POST /api/ffmpeg-process Process media with FFmpeg

Requirements

  • Python 3.8+
  • No additional dependencies (uses Python standard library only)
  • FFmpeg (optional, for media processing)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sorcgcs_server-0.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sorcgcs_server-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file sorcgcs_server-0.1.0.tar.gz.

File metadata

  • Download URL: sorcgcs_server-0.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for sorcgcs_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8e745b34c39fea7df220c799c1e770a08a3b6a1bd8edf287ee976de98c83356f
MD5 ec8c3f3ff5beb0a2127e744f06ee6910
BLAKE2b-256 fd8c5631cf09a2d84971782278a234a158ed48217260fd64615ba7edea5e1dab

See more details on using hashes here.

File details

Details for the file sorcgcs_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sorcgcs_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for sorcgcs_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c090294a5bf442f683dbbdf25a02a67a7a9acbdfbaf6cdebc1f7c7f8c82baf61
MD5 0cfe82ddbe9238ba8c6dc3e43d932591
BLAKE2b-256 f81b82d3d25cb307f7918596b9f2c58c34cdc67ec30c081deda0e591b957af78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page