百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
O

oi

> 编程语言
开源

Overide(发音为 over·ide)是一款轻量级但功能强大的 CLI 工具,可将基于 AI 的代码生成无缝集成到您的开发工作流中。它能

192 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Overide(发音为 over·ide)是一款轻量级但功能强大的 CLI 工具,可将基于 AI 的代码生成无缝集成到您的开发工作流中。它能

Overide

Overide is a lightweight yet powerful CLI tool designed to simplify AI-powered code generation directly within your development workflow. With Overide, 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.

Table of Contents

  • Key Features
  • Installation
  • Usage
    • Adding API Key
    • Configure a Project
    • Start Monitoring
    • Code Generation
  • Configuration
  • Contributing
    • Development Workflow
    • Version Management with Changesets
    • Development Testing
  • Future Plans (v2.0)
  • Community
  • License

Key Features

  • IDE Agnostic: Works with any IDE or text editor
  • AI-Powered Code Generation: Uses OpenAI API
  • Live File Monitoring: Continuously monitors files for code generation prompts
  • Simple Prompting Syntax: Uses intuitive `//> Generate a function that logs 'Hello, World!' Accept the changes (y/n): -//

## Configuration

Configure Overide using `oi-config.json`:

```json
{
	"name": "project name",
	"ignore": ["node_modules", "*.test.js"]
}

…

bash
bash
pnpm changeset
  1. Follow the prompts to:

    • Select change type (patch/minor/major)
    • Describe your changes
    • Commit both your changes and the generated changeset file

When changes with changesets are merged to main:

  • Package is automatically published to npm
  • Changes are synced to staging branch
  • Changelog is automatically updated

Change Types

  • patch: Bug fixes and minor updates (0.0.X)
  • minor: New features (0.X.0)
  • major: Breaking changes (X.0.0)

Development & Testing

Local Development (Hot Reloading)

  1. Start the development watcher:
bash
npm run dev
# or
pnpm dev
  1. In a separate terminal, run the CLI commands as you normally would, with npm run or pnpm prefixed:
bash
npm run overide [init | config | start]
# or
pnpm overide [init | config | start]

The development watcher (npm run dev) will automatically rebuild the project when you make changes to the source code, allowing you to test changes in real-time.

Local Production Testing

  1. Build and create global link:
bash
npm run build
npm link
  1. Link in test project:
bash
npm link -g overide
  1. Test the production version of the CLI:
bash
overide --version
overide init
overide start
  1. Cleanup:
bash
# In test project
npm unlink -g overide

# In Overide project
npm unlink

Why Development Testing?

  • Hot Reload: Test changes instantly without manual rebuilds
  • Real-time Feedback: See immediate results of code modifications
  • Faster Development: Reduce time between changes and testing
  • Debugging: Easier to identify and fix issues during development

Why Link Testing?

  • Test CLI as if installed globally
  • Verify changes before publishing
  • Validate package.json bin configuration
  • Ensure proper dependency inclusion

CI/CD Pipeline

The project uses GitHub Actions for continuous integration and deployment:

  1. CI/CD Pipeline (pipeline.yml)

    • Runs on PRs to any branch and pushes to main
    • Installs dependencies with pnpm
    • Runs linting checks
    • Builds the project
    • Creates release pull requests when on main
  2. Publish Workflow (publish.yml)

    • Triggers on pushes to main when changes are detected in:

      • .changeset/**
      • package.json
    • Uses changesets for version management

    • Publishes to npm when changes are detected

    • Syncs changes back to staging branch

Future Plans (v2.0)

  • Project Context Management: Local parsers for more efficient prompts
  • Code Format: Unified diff format for improved insertion
  • Multiple File Edit: Support for multi-file operations
  • Script Execution: Automated task execution capabilities

Community

Join our Discord to collaborate, share ideas, and stay updated with Overide developments.

License

Overide is licensed under the GNU GPL-2.0 License. See the LICENSE file for details.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言