rn-ai 0.0.6 → 0.0.8

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.
Files changed (3) hide show
  1. package/README.md +43 -0
  2. package/cli.js +0 -2
  3. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # React Native AI CLI
2
+
3
+ Full stack mobile framework for building cross-platform mobile AI apps supporting image processing, real-time / streaming text and chat UIs, and image uploads with multiple service providers.
4
+
5
+ ![React Native AI](rnaiheader.png)
6
+
7
+ ## Features
8
+
9
+ - LLM support for [OpenAI](https://openai.com/) ChatGPT, [Anthropic](https://anthropic.com) Claude, [Cohere](https://cohere.com/) and Cohere Web
10
+ - Image processing with [ByteScale](https://bytescale.com/)
11
+ - Real-time / streaming responses from all providers
12
+ - An array of image models provided by [Fal.ai](https://www.fal.ai/)
13
+ - OpenAI Assistants including code interpreter and retrieval
14
+ - Server proxy to easily enable authentication and authorization with auth provider of choice.
15
+ - Theming (comes out of the box with 4 themes) - easily add additional themes with just a few lines of code.
16
+
17
+ ![React Native AI Preview](screenzzz.png)
18
+
19
+ ## Usage
20
+
21
+ Generate a new project by running:
22
+
23
+ ```sh
24
+ npx rn-ai
25
+ ```
26
+
27
+ Next, either configure your environment variables with the CLI, or do so later.
28
+
29
+ ### Running the app
30
+
31
+ Change into the app directory and run:
32
+
33
+ ```sh
34
+ npm start
35
+ ```
36
+
37
+ ### Running the server
38
+
39
+ Change into the server directory and run:
40
+
41
+ ```sh
42
+ npm run dev
43
+ ```
package/cli.js CHANGED
@@ -178,8 +178,6 @@ FAL_API_KEY="${fal_api_key}"
178
178
  process.chdir('../')
179
179
  process.chdir(path.join(process.cwd(), `app`))
180
180
 
181
- console.log('cwd:', process.cwd())
182
-
183
181
  spinner.text = ''
184
182
  startCommand = ''
185
183
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "rn-ai",
3
- "version": "0.0.6",
4
- "description": "Create a social app with a single command.",
3
+ "version": "0.0.8",
4
+ "description": "Full stack mobile framework for building cross-platform mobile AI apps supporting image processing, real-time / streaming text and chat UIs, and image uploads with multiple service providers.",
5
5
  "type": "module",
6
6
  "bin": "cli.js",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"
9
9
  },
10
- "keywords": ["Lens Protocol"],
10
+ "keywords": ["AI", "OpenAI", "Anthropic", "LLM"],
11
11
  "author": "Nader Dabit",
12
12
  "license": "ISC",
13
13
  "dependencies": {