MCPcopy Index your code
hub / github.com/Herm-Studio/StakeVladDracula

github.com/Herm-Studio/StakeVladDracula @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
12 symbols 22 edges 3 files 0 documented · 0% updated 11mo ago★ 4611 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

<h2 align="center">Stake Vlad Dracula</h2>

StakeVladDracula pierces all !

🎯 Pure AI API Proxy Service - No UI, Just Performance

⚡ Latest Updates - July 16, 2025

🆕 StakeVladDracula Router v2.0

  • NEW: Added support for OpenAI Responses API endpoint /v1/responses
  • ENHANCED: Upgraded to Router v2.0 with improved performance and reliability
  • REFACTORED: Complete architecture overhaul - now a pure API service (no frontend)
  • OPTIMIZED: 65% code reduction while maintaining full functionality
  • HEADERS: All requests now include StakeVladDracula-Router: v2.0 identification

🎯 Supported Endpoints

AI Provider Endpoint Pattern Example
OpenAI /v1/* /v1/chat/completions
OpenAI Responses /v1/responses/* /v1/responses/create
Claude /v1/messages/* /v1/messages
Gemini /v1beta/* /v1beta/models/gemini-pro:generateContent
Groq /openai/v1/* /openai/v1/chat/completions

💡 Service Info: Visit your deployed URL root (/) to get API information and available endpoints.

Docker Support

This project includes support for Docker. Find the Docker image on Docker Hub.

To push a new tag to the Docker image, use the following command:

docker push hermstudio/stakevladdracula-nginx:<tagname>

Running the Container

After pulling the image, you can run the container using:

run -d -p 80:80 -e SERVER_NAME=youdomain.com hermstudio/stakevladdracula-nginx:latest

This command will start the container and listen on port 80. Adjust the port settings and other configurations according to your needs.

Pushing a New Image Version

If you have made changes and wish to push a new version of the image to Docker Hub, tag your local image accordingly and then push it using:

docker tag hermstudio/stakevladdracula-nginx:yourlocaltag hermstudio/stakevladdracula-nginx:tagname
docker push hermstudio/stakevladdracula-nginx:tagname

Deploy

Vercel

Recommended deployment is with Vercel. But you can deploy it anywhere you want.

Deploy with Vercel

Zeabur

You can also deploy it with Zeabur.

Deploy on Zeabur

Netlify

You can also deploy it with Netlify.

Deploy to Netlify

[!NOTE] This project is an experimental one. While it has been optimized, caution is still advised, and any consequences of use are at your own risk!

How to use

Just deploy the project and you are ready to go.

OpenAI

for OpenAI just change the baseURL from https://api.openai.com/v1 to YOUR_DEPLOYED_URL/v1

for example if you deployed the project to https://stake-vlad-dracula.vercel.app then change the baseURL to https://stake-vlad-dracula.vercel.app/v1.

import OpenAI from 'openai';

const openai = new OpenAI({
  apiKey: 'YOUR_API_KEY sk-XXXXXX-XXXXXX-XXXXXX-XXXXXX',
  // change the baseURL to your deployed URL, for example: https://stake-vlad-dracula.vercel.app/v1
+ baseURL: 'https://stake-vlad-dracula.vercel.app/v1',
});

🆕 OpenAI Responses API

For OpenAI Responses API endpoints, use YOUR_DEPLOYED_URL/v1/responses

# Example: Create a response using the Responses API
curl https://stake-vlad-dracula.vercel.app/v1/responses/create \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_OPENAI_API_KEY" \
  -d '{
    "model": "gpt-4",
    "messages": [{"role": "user", "content": "Hello!"}],
    "response_format": {"type": "json_object"}
  }'

Gemini

for Gemini change https://generativelanguage.googleapis.com/v1beta to YOUR_DEPLOYED_URL/v1beta

export API_KEY="YOUR_API_KEY"
- export BASE_URL="https://generativelanguage.googleapis.com/v1beta"
+ export BASE_URL="YOUR_DEPLOYED_URL/v1beta"

curl https://${BASE_URL}/models/gemini-pro:generateContent?key=${API_KEY} \
    -H 'Content-Type: application/json' \
    -X POST \
    -d '{
      "contents": [{
        "parts":[{
          "text": "Write a story about a magic backpack."}]}]}' 2> /dev/null

Groq

for Groq change https://api.groq.com/openai/v1 to YOUR_DEPLOYED_URL/openai/v1

export API_KEY="YOUR_API_KEY"
- export BASE_URL="https://api.groq.com/openai/v1"
+ export BASE_URL="YOUR_DEPLOYED_URL/openai/v1"

curl https://${BASE_URL}/chat/completions \
    -H "Authorization: Bearer $GROQ_API_KEY" \
    -H 'Content-Type: application/json' \
    -X POST \
    -d '{"messages": [{"role": "user", "content": "Explain the importance of low latency LLMs"}], "model": "mixtral-8x7b-32768"}'

Claude

for Claude change https://api.anthropic.com/v1 to YOUR_DEPLOYED_URL/v1

export API_KEY="YOUR_API_KEY"
- export BASE_URL="https://api.anthropic.com/v1"
+ export BASE_URL="YOUR_DEPLOYED_URL/v1"

curl https://${BASE_URL}/v1/messages \
     --header "x-api-key: $ANTHROPIC_API_KEY" \
     --header "anthropic-version: 2023-06-01" \
     --header "content-type: application/json" \
     --data \
      '{
          "model": "claude-3-opus-20240229",
          "max_tokens": 1024,
          "messages": [
              {"role": "user", "content": "Hello, world"}
          ]
      }'

Give it a Star

If you found this Implementation helpful or used it in your Projects, do give it a star. Thanks! 🌟

Star History Chart

🔧 Router Information

All requests processed by StakeVladDracula include the StakeVladDracula-Router header for identification and debugging:

StakeVladDracula-Router: v2.0

Version History

  • v2.0 (July 16, 2025): Added OpenAI Responses API support, pure API service architecture
  • v1.0 (Previous): Initial full-stack implementation with frontend interface

[!TIP] You can use GitHub Action to keep the forked repository up to date with the original repository. For more information, see Syncing a fork.

Core symbols most depended-on inside this repo

handleRequest
called by 5
app/api/[...proxy]/route.ts
findRoute
called by 1
app/api/[...proxy]/route.ts
buildHeaders
called by 1
app/api/[...proxy]/route.ts
buildResponseHeaders
called by 1
app/api/[...proxy]/route.ts
rewrites
called by 0
next.config.js
GET
called by 0
app/api/route.ts
GET
called by 0
app/api/[...proxy]/route.ts
POST
called by 0
app/api/[...proxy]/route.ts

Shape

Function 12

Languages

TypeScript100%

Modules by API surface

app/api/[...proxy]/route.ts10 symbols
next.config.js1 symbols
app/api/route.ts1 symbols

For agents

$ claude mcp add StakeVladDracula \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact