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.
Oi-Override is a lightweight yet powerful CLI tool designed to simplify AI-powered code generation directly within your development workflow. With Oi, you can quickly generate, update, and integrate code using predefined prompts, allowing you to focus on the creative aspects of coding while letting AI handle the heavy lifting.
//> <//
to guide AI in generating or completing code snippets in specific locations.Use npm to install oi..
npm i -g overide
Optionally take a look at out installation guide for more options..
Please read the Detailed Usage Guide for all the commands and options.
Befor starting run the following command. It will show a list of currently supported platforms and allows to add required information like API KEY, ORG ID BASE URL and other.
oi config --global
If you ended up configuring multiple platforms.. i.e ran the above command multiple times and configures details for multiple platforms. You can run the following commands to select an active platform. Oi will use the active platform.
oi config --select-active
To initialize Oi-Override in your project, run the following command in your project directory:
oi init
This will create a configuration file and set up Oi to work with your project.
Once Oi is initialized, you can start monitoring the project files for code generation prompts:
oi start
Oi will continuously watch the project directory and respond to any prompts it detects.
Place prompts in your code files to indicate where Oi should generate code. For example:
//> Generate a function to add two numbers <//
Oi will then generate the required code and insert it directly into the file at the prompt location.
//- Generate a function to add two numbers
const function = sum(a, b) {
return a + b;
}
//> Accept the changes (y/n): -//
Based on the user's response, Oi will either keep the changes or discard them.
Oi-Override uses an `oi-config.json` file for customization. You can define the AI service, ignore certain files or directories, and configure other options.
Example configuration:
{
"name": "project name",
"ignore": ["node_modules", "*.test.js"],
}
We welcome contributions from the community! There's a lot going on and we are slowing building so, we can use some help. Please take a look at version guidelines before starting
After this..
Feel free to open issues for bugs, feature requests, or general feedback!
Join our Discord community to discuss and collaborate on projects, share ideas, and stay up-to-date with the latest developments in the Oi-Override ecosystem.
Oi-Override is licensed under the GNU GPL-2.0 License. See the LICENSE file for more details.
FAQs
This is a CLI based Code Generation Tool.
We found that overide 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.