Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
🪄 An AI agent for building React Native apps
$ npx cali
Cali is an AI agent that helps you build React Native apps. It takes all the utilities and functions of a React Native CLI and exposes them as tools to an LLM.
Thanks to that, an LLM can help you with your React Native app development, without the need to remember commands, spending time troubleshooting errors, and in the future, much more.
Under the hood, it uses Vercel AI SDK and @react-native-community/cli.
The default model is gpt-4o
.
[!NOTE] You can change the default model by setting
AI_MODEL
env variable. We are currently evaluating how different models perform, so we might change the default model in the future.
In order to use Cali, you need to have an OpenAI API key. You can get one here.
Once you have your key, you can set it as OPENAI_API_KEY
env variable (either create a dotenv file or set it inline).
[TBD]
Under the hood, Cali uses Vercel AI SDK. That means you can import all its tools into your existing project and use them for different purposes, without our interactive chat interface.
// import all tools
import { reactNativeTools, androidTools, iosTools } from "cali";
// use them in your project
import { generateText } from "ai";
await generateText({
// other options
tools: {
...reactNativeTools,
...androidTools,
...iosTools,
},
});
I like the idea of an AI agent for building React Native apps. I would like to play around with this idea in public, and see where it goes.
Feel free to open an issue or a discussion to suggest ideas or report bugs. Happy to hear from you! 👋
This project uses Bun.
To build the project, run bun run build
.
To watch for changes and rebuild the project, run bun run watch
.
To link the project to your global bun
installation, run bun link
.
To run the project, run bun ./src/cli.ts
.
To run the project from global installation, run bun --bun run cali
.
Note --bun
is required due to shebang line in the CLI pointing to Node.
FAQs
AI agent that runs React Native apps
We found that cali demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.