UNPKG

afsapi

Version:

Deploy anything to production in 30 seconds. Pure gcloud CLI. No Docker. No Kubernetes.

105 lines (77 loc) 2.6 kB
# AFS - Any Fucking Service v3.0.0 **Deploy anything to production in 30 seconds. No Docker. No Kubernetes. Just works.** [![npm version](https://img.shields.io/npm/v/afsapi.svg)](https://www.npmjs.com/package/afsapi) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) ## 🚀 What is AFS? AFS is a pure bash + gcloud CLI tool that deploys ANY application to production in 30 seconds. **Traditional deployment:** Hours of Docker configs, Kubernetes YAML, CI/CD pipelines **AFS deployment:** `afs deploy my-app` → Done in 30 seconds ## ⚡ Installation ```bash npm install -g afsapi ``` ## 🎯 Usage ### Deploy an app ```bash afs deploy my-app # Deploy current directory afs deploy my-api ./src # Deploy from ./src ``` ### Other commands ```bash afs list # List all deployments afs delete my-app # Delete a deployment afs logs my-app # Show app logs afs metrics my-app # Show app metrics ``` ## 💡 Examples ### Deploy a Node.js app ```bash echo 'console.log("Hello AFS!")' > index.js echo '{"name":"test","scripts":{"start":"node index.js"}}' > package.json afs deploy hello-world # ✅ Deployed to https://hello-world-xxx.run.app in 30 seconds ``` ### Deploy a Python app ```bash echo 'print("Hello from Python!")' > main.py echo 'flask==3.0.0' > requirements.txt afs deploy python-app # ✅ Deployed to https://python-app-xxx.run.app in 30 seconds ``` ### Deploy static files ```bash echo '<h1>Hello World</h1>' > index.html afs deploy my-site # ✅ Deployed to https://my-site-xxx.run.app in 30 seconds ``` ## 🔥 Why AFS? | Traditional | AFS | |------------|-----| | Install Docker | ✅ Just bash | | Write Dockerfile | ✅ Auto-detected | | Build image | ✅ Automatic | | Push to registry | ✅ Handled | | Configure K8s | ✅ Not needed | | Setup ingress | ✅ Included | | Configure SSL | ✅ Automatic | | **Hours/Days** | **30 seconds** | ## 💰 Pricing **$29.99/month** for unlimited deployments - Deploy unlimited apps - Auto-scaling included - SSL certificates included - Zero cost when idle - 99.99% uptime SLA ## 🛠 Requirements - macOS or Linux - `gcloud` CLI installed - Active GCP project ## 🤝 Support - GitHub: [github.com/afs-labs/afsapi](https://github.com/afs-labs/afsapi) - Website: [afsapi.ai](https://afsapi.ai) - Twitter: [@afsapi](https://twitter.com/afsapi) ## 📜 License MIT - Deploy anything, anywhere, anytime. --- **Built with ❤️ and pure bash by AFS Labs** *No Docker. No Kubernetes. Just works.*