Cursor 推出 GitHub 的替代品 Origin
Cursor launches Origin, GitHub alternative

原始链接: https://cursor.com/changelog/origin-code-hosting

Cursor 已面向所有付费方案用户推出“Origin”早期测试版,这是一个专为 AI 智能体设计的全新托管平台。通过 Origin,用户可以将代码库直接托管在 Cursor 上,或同步现有的 GitHub 代码库,实现实时的双向集成。 主要功能包括: * **集成工作流**:用户可以直接在 Cursor 界面内浏览代码、管理合并请求 (PR) 并进行协作。 * **原生支持智能体**:由于代码、PR 和智能体处于同一环境,Cursor 的 AI 可以无缝回答问题、执行变更并管理分支。 * **生态系统集成**:Origin 支持多种应用扩展,包括用于即时预览部署的 Vercel,以及 Depot 和 Buildkite 等 CI/CD 工具。 对于与 GitHub 同步的代码库,GitHub 依然是事实来源,且同步可在数秒内完成。Origin 现已向付费用户开放,更多原生智能体功能预计将很快推出。

专注于 AI 的代码编辑器 Cursor 推出了名为“Origin”的新 Git 托管平台,在 Hacker News 上引发了褒贬不一的讨论。虽然一些开发者因近期服务中断以及对 GitHub 所有权的质疑而渴望寻找替代品,但其他人仍对这一新产品持批评态度。 讨论的核心议题包括: * **实用性与创新性:** 批评者认为该平台目前缺乏实质性创新,并质疑为何仅限于 Cursor 团队内部进行封闭式内测。 * **命名争议:** 用户对“Origin”这一名称表示担忧,指出该名称在 Git 命令(如 `git push origin main`)中已普遍存在,可能会给开发者及大模型辅助的工作流带来困扰。 * **隐私与信任:** 人们对私人仓库可能被用于数据训练表示担忧,部分用户对当前的科技领导模式表现出不信任。 * **市场可行性:** 支持者认为 Origin 是对 GitHub 不稳定性的一次及时挑战,而怀疑论者则认为它难以撼动 GitHub 强大的网络效应。 归根结底,这场辩论反映了开发者在追求更稳定版本控制选择的同时,对数据安全和平台饱和度所持有的审慎态度。
相关文章

原文

Cursor can now host your code.

Origin begins rolling out today in early beta on all paid plans. We're starting with the essentials, designed for agent scale: repos, pull requests, code browsing, and GitHub sync. Agent-native features ship soon.

Origin Repos

The new Codebase tab is home for Origin repos.

Click +New to create a new repo and name it. Once you do, a page shows you how to install the CLI, with commands for how to clone a repo or push a local project. Push, and your code is hosted on Origin.

Name your codebase when you create your first repo. That name becomes part of every repo's URL: cursor.com/codebase/acme-corp.

Bring your GitHub repos

Your GitHub repos can sit alongside the ones Cursor hosts. Connect GitHub to Cursor, pick your org, and you'll see the repos you can sync. Select one and Cursor pulls it in. You choose what gets synced and can disconnect a repo at any time. Anyone with read or write access to a synced repo can view it in Cursor too.

Synced repos update in real time. Browse, search, and pull from the copy in Origin. Pushes keep going to GitHub, which stays the source of truth for anything started there. Icons next to each repo name tell you which ones Cursor hosts and which came from GitHub.

Pull requests

Every repo has pull requests. Open one to see the timeline, commits, checks, and files changed. Review the diff, leave comments, and merge.

Pull requests on synced repos sync both ways: comment in Cursor and it posts to GitHub, react or reply on GitHub and it shows up in Cursor within seconds. Got a review assigned to you on GitHub? Review and merge it from Cursor.

Agents in every repo

Your code, PRs, and agents are now in the same place. Ask Cursor questions about code you're browsing. It can answer, make changes, update PRs, or push a branch.

App extensions for Cursor repos

We're building an app ecosystem so your whole stack works seamlessly with Origin. Integrations with Vercel, Depot, and Buildkite are already available, with more coming soon.

Connect Vercel from a repo's Apps tab and every PR gets a preview deployment where you can test and make comments. Merge, and it ships to production. For CI, connect Depot or Buildkite. Both run your existing GitHub Actions workflows and Buildkite also runs its native pipelines.

Settings

Every repo has settings. Check sync status for GitHub repos, manage who has access, and see which apps are connected.

Origin is rolling out in early beta to all paid plan users starting today, except enterprise orgs whose admins opt out. Name your codebase and create your first repo.

Learn more in our docs or get started today.

联系我们 contact @ memedata.com