onflyt-cli 0.1.0-beta → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +106 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="onflyt-logo.svg" alt="Onflyt" width="128" height="128">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">Onflyt CLI</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="https://img.shields.io/npm/v/onflyt-cli?style=flat-square" alt="npm version">
|
|
9
|
+
<img src="https://img.shields.io/npm/v/onflyt-cli/beta?style=flat-square" alt="beta version">
|
|
10
|
+
<img src="https://img.shields.io/node/v/onflyt-cli?style=flat-square" alt="node version">
|
|
11
|
+
<img src="https://img.shields.io/npm/dm/onflyt-cli?style=flat-square" alt="downloads">
|
|
12
|
+
<img src="https://img.shields.io/github/license/miiglu/onflyt-cli?style=flat-square" alt="license">
|
|
13
|
+
<img src="https://img.shields.io/badge/TypeScript-007ACC?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript">
|
|
14
|
+
<img src="https://img.shields.io/badge/React-61DAFB?style=flat-square&logo=react&logoColor=black" alt="React">
|
|
15
|
+
<img src="https://img.shields.io/badge/Ink-Cli-ff69b4?style=flat-square" alt="Ink CLI">
|
|
16
|
+
<img src="https://img.shields.io/badge/Cloudflare-F38020?style=flat-square&logo=cloudflare&logoColor=white" alt="Cloudflare">
|
|
17
|
+
<img src="https://img.shields.io/badge/Node.js-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node.js">
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
<h3 align="center">The official CLI for Onflyt — deploy node and python APIs, agents, and static sites globally from your terminal.</h3>
|
|
21
|
+
|
|
22
|
+
<p align="center">Deploy your APIs on a stateful serverless pod. Pay only per use - no subscription required.</p>
|
|
23
|
+
|
|
24
|
+
<p align="center">
|
|
25
|
+
<a href="https://onflyt.com"><img src="https://img.shields.io/badge/Get%20Started%20on%20Onflyt-FFA500?style=for-the-badge&logoColor=black" alt="Get Started on Onflyt"></a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
<p align="center">
|
|
29
|
+
<small>Manage your deployments, APIs, and applications on the <a href="https://onflyt.com">official Onflyt dashboard</a>.</small>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
## Features
|
|
33
|
+
|
|
34
|
+
- **Serverless pods** - Secure, isolated pods that survive hibernation
|
|
35
|
+
- **Pay per use** - Only pay for what you deploy, no subscriptions
|
|
36
|
+
- **Global edge network** - 280+ cities for instant global deployment
|
|
37
|
+
- **Quick Deployments** - Deploy projects with a single command
|
|
38
|
+
- **GitHub OAuth** - Secure authentication via GitHub
|
|
39
|
+
- **AI Agent Templates** - Deploy AI agents and LLM-powered backends
|
|
40
|
+
- **Multi-Project Management** - Manage multiple projects across teams
|
|
41
|
+
- **Real-time Logs** - Stream live deployment logs
|
|
42
|
+
- **Rollback Support** - Revert to previous deployments instantly
|
|
43
|
+
|
|
44
|
+
## Installation
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npm install -g onflyt-cli
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Install via other package managers
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# Using yarn
|
|
54
|
+
yarn global add onflyt-cli
|
|
55
|
+
|
|
56
|
+
# Using pnpm
|
|
57
|
+
pnpm add -g onflyt-cli
|
|
58
|
+
|
|
59
|
+
# Using bun
|
|
60
|
+
bun add -g onflyt-cli
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Quick Start
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# 1. Authenticate with your account
|
|
67
|
+
onflyt login
|
|
68
|
+
|
|
69
|
+
# 2. Initialize a project in your current directory
|
|
70
|
+
onflyt init
|
|
71
|
+
|
|
72
|
+
# 3. Deploy your project
|
|
73
|
+
onflyt deploy
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Commands
|
|
77
|
+
|
|
78
|
+
### Project Management
|
|
79
|
+
|
|
80
|
+
- `onflyt init` - Initialize a new project
|
|
81
|
+
- `onflyt deploy` - Deploy project
|
|
82
|
+
- `onflyt projects` - List projects
|
|
83
|
+
- `onflyt delete` - Delete a project
|
|
84
|
+
|
|
85
|
+
### Deployment Management
|
|
86
|
+
|
|
87
|
+
- `onflyt logs` - View deployment logs
|
|
88
|
+
- `onflyt deployments` - List deployments
|
|
89
|
+
- `onflyt rollback` - Rollback deployment
|
|
90
|
+
|
|
91
|
+
### Team & Billing
|
|
92
|
+
|
|
93
|
+
- `onflyt teams` - List teams
|
|
94
|
+
- `onflyt credits` - Check credits
|
|
95
|
+
|
|
96
|
+
## Support
|
|
97
|
+
|
|
98
|
+
- [Documentation](https://docs.onflyt.com)
|
|
99
|
+
- [Website](https://onflyt.com)
|
|
100
|
+
- [Issues](https://github.com/miiglu/onflyt-cli/issues)
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
<p align="center">
|
|
105
|
+
Built by <a href="https://miiglu.com">Miiglu</a>
|
|
106
|
+
</p>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onflyt-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Onflyt CLI - Deploy Node.js and Python APIs to serverless pods. Pay only per use.",
|
|
6
6
|
"repository": {
|
|
@@ -58,4 +58,4 @@
|
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=18.0.0"
|
|
60
60
|
}
|
|
61
|
-
}
|
|
61
|
+
}
|