{"id":13492788,"url":"https://github.com/jina-ai/fastapi-serve","last_synced_at":"2025-04-07T15:06:27.011Z","repository":{"id":182515006,"uuid":"665001972","full_name":"jina-ai/fastapi-serve","owner":"jina-ai","description":"FastAPI to the Cloud, Batteries Included! ☁️🔋🚀","archived":false,"fork":false,"pushed_at":"2023-08-22T05:37:58.000Z","size":372,"stargazers_count":145,"open_issues_count":0,"forks_count":7,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-03-31T14:14:50.724Z","etag":null,"topics":["cloud","deployment","docker","fastapi","kubernetes","python","serverless"],"latest_commit_sha":null,"homepage":"https://cloud.jina.ai/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jina-ai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-07-11T08:15:45.000Z","updated_at":"2025-01-25T20:32:11.000Z","dependencies_parsed_at":"2024-01-16T09:02:16.027Z","dependency_job_id":"d9cb96e3-d2f0-4b22-b0ed-08743b0bb640","html_url":"https://github.com/jina-ai/fastapi-serve","commit_stats":null,"previous_names":["jina-ai/fastapi-serve"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jina-ai%2Ffastapi-serve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jina-ai%2Ffastapi-serve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jina-ai%2Ffastapi-serve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jina-ai%2Ffastapi-serve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jina-ai","download_url":"https://codeload.github.com/jina-ai/fastapi-serve/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675596,"owners_count":20977376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","deployment","docker","fastapi","kubernetes","python","serverless"],"created_at":"2024-07-31T19:01:09.173Z","updated_at":"2025-04-07T15:06:26.969Z","avatar_url":"https://github.com/jina-ai.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ch2 align=\"center\"\u003eFastAPI-Serve: FastAPI to the Cloud, Batteries Included! ☁️🔋🚀\u003c/h2\u003e\n\u003c/p\u003e\n\n\u003cp align=center\u003e\n\u003ca href=\"https://pypi.org/project/fastapi-serve/\"\u003e\u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/fastapi-serve?label=Release\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://discord.jina.ai\"\u003e\u003cimg src=\"https://img.shields.io/discord/1106542220112302130?logo=discord\u0026logoColor=white\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypistats.org/packages/fastapi-serve\"\u003e\u003cimg alt=\"PyPI - Downloads from official pypistats\" src=\"https://img.shields.io/pypi/dm/fastapi-serve?style=flat-square\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/jina-ai/fastapi-serve/actions/workflows/cd.yml\"\u003e\u003cimg alt=\"Github CD status\" src=\"https://github.com/jina-ai/fastapi-serve/actions/workflows/cd.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nWelcome to **fastapi-serve**, your one-stop solution for seamless FastAPI application deployments. Powered by our open-source framework [Jina](https://github.com/jina-ai/jina), `fastapi-serve` provides an effortless transition from your local setup to [cloud.jina.ai](https://cloud.jina.ai/), our robust and scalable cloud platform. 🌩️\n\nDesigned with developers in mind, `fastapi-serve` simplifies the deployment process by packing robust functionality, ease-of-use, and automated procedures into one comprehensive package. With `fastapi-serve`, we aim to streamline the \"last mile\" of FastAPI application development, allowing you to focus on what truly matters - writing great code!\n\n\n## 😍 Features \n\n- 🌎 **HTTPS**: Auto-provisioned DNS and TLS certificates for your app.\n- 🔗 **Protocols**: Full compatibility with HTTP, WebSocket, and GraphQL.\n- ↕️ **Scaling**: Scale your app manually or let it auto-scale based on RPS, CPU, and Memory.\n- 🗝️ **Secrets**: Secure handling of secrets and environment variables.\n- 🎛️ **Hardware**: Choose the right compute resources for your app's needs with ease.\n- 🔒 **Authorization**: Built-in `OAuth2.0` token-based security to secure your endpoints. \n- 💾 **App Storage**: Persistent and secure network storage for your app data.\n- 🔄 **Blob Storage**: Built-in support for seamless user file uploads and downloads.\n- 🔎 **Observability**: Integrated access to logs, metrics, and traces. (Alerting coming soon!)\n- 📦 **Containerization**: Effortless containerization of your Python codebase with our integrated registry.\n- 🛠️ **Self-Hosting**: Export your app for self-hosting with ease, including docker-compose and Kubernetes YAMLs.\n\n## 💡 Getting Started\n\nFirst, install the `fastapi-serve` package using pip:\n\n```bash\npip install fastapi-serve\n```\n\nThen, simply use the `fastapi-serve` command to deploy your FastAPI application:\n\n```bash\nfastapi-serve deploy jcloud main:app\n```\n\nYou'll get a URL to access your newly deployed application along with the Swagger UI.\n\n## 📚 Documentation\n\nDive into understanding `fastapi-serve` through our comprehensive documentation and examples:\n\n- 🚀 **Getting Started**\n    - 🧱 [Deploy a simple FastAPI application](docs/simple/)\n    - 🖥️ [Dig deep into the `fastapi-serve` CLI](docs/CLI.md)\n    - ⚙️ [Understanding configuration and pricing on Jina AI Cloud](docs/CONFIG.MD)\n    - 🔄 [Upgrade your FastAPI applications with zero downtime](docs/upgrades/)\n    - 🕸️ [Managing Larger Applications with Complex Directory Structure](docs/larger/project1)\n- ↕️ **Scaling**\n    - 💹 [Auto-scaling endpoints based on CPU usage](docs/autoscaling/cpu/)\n    - 📉 [Serverless (scale-to-zero) deployments based on RPS](docs/autoscaling/serverless/) \n- 🧩 **Config \u0026 Credentials**\n    - 🌍 [Leverage environment variables for app configuration](docs/envs/)\n    - 🗝️ [Use secrets for Redis-powered rate limiting](docs/rate_limit/)\n- 💾 **Storage**\n    - 📁 [Manage file uploads and downloads with built-in blob storage](docs/file_handling/)\n    - 🌐 Network storage for persisting and securely accessing app data (Documentation in progress 🚧)\n- 🔒 **Security**\n    - 👮‍♂️ [Secure your endpoints with built-in OAuth2.0 authorization](docs/authorization/)\n- 🐳 **Deployment Options**\n    - 🚢 Deployment with custom dockerfile (Documentation in progress 🚧)\n    - ☸️ [Export your app for self-hosting with docker-compose / Kubernetes](docs/export/)\n- 📈 **Observability**\n    - 📊 Access logs, metrics, and traces for your app (Documentation in progress 🚧)\n    - 🚨 Set up alerts for your app (Documentation in progress 🚧)\n\n\n## 💪 Support\n\nIf you encounter any problems or have questions, feel free to open an issue on the GitHub repository. You can also join our [Discord](https://discord.jina.ai/) to get help from our community members and the Jina team.\n\n\n## 🌐 Our Cloud Platform  \n\nOur robust and scalable cloud platform `cloud.jina.ai` is designed to run your FastAPI applications with minimum hassle and maximum efficiency. With features like auto-scaling, integrated observability, and automated containerization, it provides a seamless and worry-free deployment experience.\n\n---\n\n`fastapi-serve` is more than just a deployment tool, it's a bridge that connects your local development environment with our powerful cloud infrastructure. Start using `fastapi-serve` today, and experience the joy of effortless deployments! 🎊 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjina-ai%2Ffastapi-serve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjina-ai%2Ffastapi-serve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjina-ai%2Ffastapi-serve/lists"}