{"repo":"instant-dev/api","free":true,"listed":false,"github":"https://github.com/instant-dev/api","clone":"git clone https://github.com/instant-dev/api.git","description":"Instant API: Build type-safe web APIs with JavaScript","language":"JavaScript","stars":254,"topics":["api","api-gateway","bun","deno","gateway","javascript","nodejs","server"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Instant API Build type-safe web APIs with JavaScript, instantly Spec generation and LLM streaming Instant API is a framework for building APIs with JavaScript that implements type-safety at the HTTP interface . By doing so, it eliminates the need for schema validation libraries entirely. Simply write a JSDoc-compliant comment block for a function that represents your API endpoint and stop worrying about validation, sanitization and testing for user input. The OpenAPI specification for your API is then automatically generated in both JSON and YAML at localhost:8000/.well-known/openapi.json and localhost:8000/.well-known/openapi.yaml , respectively. Additionally, Instant API comes a number of features optimized for integrations with LLMs and chat bots: - First class support for Server-Sent Events using text/event-stream makes streaming LLM responses easy - LLM function calling can be integrated easily via JSON schema output at localhost:8000/.well-known/schema.json - Experimental auto-generation of localhost:8000/.well-known/ai-plugin.json - The ability to instantly return 200 OK responses and execute in the background for Slack, Discord webhooks You will find Instant API is a very full-featured framework despite being an early release. It has been in development for six years as the engine behind the Autocode serverless platform where it has horizontally scaled to handle over 100M API requests per day. Quick example: Standard API Here's an example API endpoint built with Insta","default_branch":null,"files":null,"tree":[],"storefront":"/r/instant-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/instant-dev/api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}