rn-ai 0.2.4 → 0.2.6

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 +6 -2
  2. package/cli.js +10 -10
  3. package/package.json +5 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ Full stack framework for building cross-platform mobile AI apps supporting LLM r
14
14
  - Theming (comes out of the box with 5 themes) - easily add additional themes with just a few lines of code.
15
15
  - Image processing with [ByteScale](https://bytescale.com/)
16
16
 
17
- ![React Native AI Preview](https://i.imgur.com/7Gser4F.png)
17
+ ![React Native AI Preview](https://i.imgur.com/D4LIVal.png)
18
18
 
19
19
  ## Usage
20
20
 
@@ -40,4 +40,8 @@ Change into the server directory and run:
40
40
 
41
41
  ```sh
42
42
  npm run dev
43
- ```
43
+ ```
44
+
45
+ ## Themes preview
46
+
47
+ ![React Native AI Themes](https://i.imgur.com/7Gser4F.png)
package/cli.js CHANGED
@@ -91,20 +91,20 @@ EXPO_PUBLIC_PROD_API_URL="https://staging.example.com"
91
91
  # environment, either PRODUCTION or DEVELOPMENT
92
92
  ENVIRONMENT="PRODUCTION"
93
93
 
94
- # ByteScale secret https://bytescale.com
95
- BYTESCALE_API_KEY=""
96
-
97
94
  # OpenAI https://platform.openai.com
98
95
  OPENAI_API_KEY=""
99
96
 
100
- # Anthropic https://console.anthropic.com
97
+ # FAL AI https://www.fal.ai
98
+ FAL_API_KEY=""
99
+
100
+ # Anthropic (optional) https://console.anthropic.com
101
101
  ANTHROPIC_API_KEY=""
102
102
 
103
- # Cohere https://cohere.com
103
+ # Cohere (optional) https://cohere.com
104
104
  COHERE_API_KEY=""
105
105
 
106
- # FAL AI https://www.fal.ai
107
- FAL_API_KEY=""
106
+ # ByteScale secret (optional) https://bytescale.com
107
+ BYTESCALE_API_KEY=""
108
108
  `
109
109
 
110
110
  if (withEnv === 'yes') {
@@ -114,13 +114,13 @@ FAL_API_KEY=""
114
114
  console.log('Get Fal API Key at https://www.fal.ai/')
115
115
  const fal_api_key = await input({ message: "Fal API Key" })
116
116
 
117
- console.log('Get Anthropic API Key at https://console.anthropic.com/')
117
+ console.log('(optional) Get Anthropic API Key at https://console.anthropic.com/')
118
118
  const anthropic_api_key = await input({ message: "Anthropic API Key" })
119
119
 
120
- console.log('Get Cohere API Key at https://cohere.com/')
120
+ console.log('(optional) Get Cohere API Key at https://cohere.com/')
121
121
  const cohere_api_key = await input({ message: "Cohere API Key" })
122
122
 
123
- console.log('Get Bytescale API Key at https://bytescale.com/')
123
+ console.log('(optional) Get Bytescale API Key at https://bytescale.com/')
124
124
  const bytescale_api_key = await input({ message: "Bytescale API Key" })
125
125
 
126
126
  envs = `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rn-ai",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
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",
@@ -10,6 +10,10 @@
10
10
  "keywords": ["AI", "OpenAI", "Anthropic", "LLM"],
11
11
  "author": "Nader Dabit",
12
12
  "license": "MIT",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/dabit3/react-native-ai"
16
+ },
13
17
  "dependencies": {
14
18
  "@inquirer/prompts": "^3.1.1",
15
19
  "chalk": "^5.3.0",