create-byoky-app
v0.4.18
Published
Scaffold a new app powered by Byoky
Readme
create-byoky-app
Scaffold a new app powered by Byoky. Choose a template, get a working project with wallet integration out of the box.
Usage
npx create-byoky-appOr with a project name:
npx create-byoky-app my-ai-appThe CLI prompts you to pick a template, then generates the project and prints next steps.
Templates
AI Chat (Next.js)
Multi-provider streaming chat app. Uses the Anthropic SDK with Byoky's proxied fetch.
- Next.js 15 + React
- Streaming responses via
client.messages.stream() - Provider selection, usage stats, connected status
Multi-Provider (Vite)
Minimal setup showing how to connect multiple providers with fallback.
- Vite + vanilla TypeScript
- Requests Anthropic, OpenAI, and Gemini (all optional)
- Test buttons for each connected provider
Backend Relay (Express)
Server-side LLM calls through the user's wallet. The server never sees API keys.
- Express + Vite (dual server)
ByokyServerhandles WebSocket relay/api/generateendpoint for proxied LLM requests- Supports Anthropic, OpenAI, and Gemini
What You Get
my-ai-app/
package.json
tsconfig.json
src/
...template files
README.mdRun npm install && npm run dev and you're live.
