Skip to content

gigantino/vibe-api

Repository files navigation

✨ ~ v i b e - a p i ~ ✨

Do you consider yourself a vibe coder? Then why waste your precious vibe-checking energy building APIs when the vibes alone can give you everything you could ever dream of?

Forget documentation. Forget strict routing. With the power of ~ vibes ~, every endpoint is already there—waiting for you. Want your IP address? Hit up https://vibe-api.ggtn.ch/whats-my-ip, or honestly, misspell it wildly—it'll probably still vibe-check correctly. Need a random joke? Say less. https://vibe-api.ggtn.ch/random-joke will deliver one—most likely an unfunny one, but hey, it's the vibe that counts.

Is it fast? Absolutely not. But does it vibe? As long as you don't somehow confuse the LLM, the answer is a solid probably.

Warning

Vibes are meant to be self-hosted. You're free to use my heavily rate-limited version, but just know that each request slowly drains my precious AI credits and my bank account is already begging for mercy.

Installation & Usage

(Ensure you have Bun installed on your system.)

  1. Clone the repository:
git clone https://github.com/gigantino/vibe-api.git
  1. Navigate to the project directory and install dependencies:
cd vibe-api && bun install
  1. Copy and edit the environment variables:
cp .env.example .env && vim .env # If you can't handle Vim, are you even worthy of the vibes?
  1. Install the packages and run the application:
bun i && bun index.ts

Special Headers

  • X-VibeApi-Authorization Include your API key in this header to disable all rate limits for your requests.
    Example usage:

    X-VibeApi-Authorization: <your-api-key>
  • X-VibeApi-Refresh
    Set this header to true to force a refresh of the schema stored in the database. Useful when updates or changes have occurred.
    Example usage:

    X-VibeApi-Refresh: true

Enjoy

⚠️ Always make sure to vibe with care ⚠️

About

The API for Vibe Coders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •