AnyCoder is a full-stack AI-powered code generator with a modern React/TypeScript frontend and FastAPI backend. Generate applications by describing them in plain English, with support for multiple AI models and one-click deployment to Hugging Face Spaces.
anycoder/
βββ backend_api.py # FastAPI backend with streaming
βββ frontend/ # Next.js React frontend
β βββ src/
β β βββ app/ # Pages (page.tsx, layout.tsx, globals.css)
β β βββ components/ # React components
β β βββ lib/ # API client, auth utilities
β β βββ types/ # TypeScript types
β βββ package.json
βββ requirements.txt # Python dependencies
βββ Dockerfile # Docker Space configuration
βββ start_fullstack.sh # Local development script
export HF_TOKEN="your_huggingface_token"
export GEMINI_API_KEY="your_gemini_api_key"
python backend_api.py
cd frontend
npm install
npm run dev
http://localhost:3000export HF_TOKEN="your_token"
export GEMINI_API_KEY="your_gemini_api_key"
./start_fullstack.sh
This app runs as a Docker Space on HuggingFace. The Dockerfile:
html - Static HTML pagesgradio - Python Gradio appsstreamlit - Python Streamlit appsreact - React/Next.js appstransformers.js - Browser ML appscomfyui - ComfyUI workflowsThe following models are currently supported and used by AnyCoder:
models:
HF_TOKEN - HuggingFace API token (required)GEMINI_API_KEY - Google Gemini API key (required for Gemini 3 Pro Preview)POE_API_KEY - Poe API key (optional, for GPT-5 and Claude models)DASHSCOPE_API_KEY - DashScope API key (optional, for Qwen models)OPENROUTER_API_KEY - OpenRouter API key (optional, for Sherlock models)MISTRAL_API_KEY - Mistral API key (optional, for Mistral models)Frontend:
Backend:
MIT
500 commits
AnyCoder is a full-stack AI-powered code generator with a modern React/TypeScript frontend and FastAPI backend. Generate applications by describing them in plain English, with support for multiple AI models and one-click deployment to Hugging Face Spaces.
anycoder/
βββ backend_api.py # FastAPI backend with streaming
βββ frontend/ # Next.js React frontend
β βββ src/
β β βββ app/ # Pages (page.tsx, layout.tsx, globals.css)
β β βββ components/ # React components
β β βββ lib/ # API client, auth utilities
β β βββ types/ # TypeScript types
β βββ package.json
βββ requirements.txt # Python dependencies
βββ Dockerfile # Docker Space configuration
βββ start_fullstack.sh # Local development script
export HF_TOKEN="your_huggingface_token"
export GEMINI_API_KEY="your_gemini_api_key"
python backend_api.py
cd frontend
npm install
npm run dev
http://localhost:3000export HF_TOKEN="your_token"
export GEMINI_API_KEY="your_gemini_api_key"
./start_fullstack.sh
This app runs as a Docker Space on HuggingFace. The Dockerfile:
html - Static HTML pagesgradio - Python Gradio appsstreamlit - Python Streamlit appsreact - React/Next.js appstransformers.js - Browser ML appscomfyui - ComfyUI workflowsThe following models are currently supported and used by AnyCoder:
models:
HF_TOKEN - HuggingFace API token (required)GEMINI_API_KEY - Google Gemini API key (required for Gemini 3 Pro Preview)POE_API_KEY - Poe API key (optional, for GPT-5 and Claude models)DASHSCOPE_API_KEY - DashScope API key (optional, for Qwen models)OPENROUTER_API_KEY - OpenRouter API key (optional, for Sherlock models)MISTRAL_API_KEY - Mistral API key (optional, for Mistral models)Frontend:
Backend:
MIT
500 commits