Skip to content

Skyscimitar/onlyvibes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onlyvibes

A FastAPI extension that replaces endpoints with vibes. Every request is handled by an LLM.

No @app.get. No @app.post. Just vibes.

Installation

uv sync

Usage

from onlyvibes import VibeApi

app = VibeApi()

That's it. Run it:

uv run uvicorn example:app --reload

Every request — any method, any path, any body — gets forwarded to Claude, which decides what the appropriate response should be.

Configuration

VibeApi accepts any standard FastAPI keyword argument, plus:

Parameter Default Description
model claude-sonnet-4-20250514 Anthropic model to use
max_tokens 1024 Max tokens for the LLM response

Requirements

Set the ANTHROPIC_API_KEY environment variable before running.

Tests

uv run pytest

About

Universal REST API. Pure vibes, just run and enjoy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages