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 现已向付费用户开放,更多原生智能体功能预计将很快推出。

这篇 Hacker News 帖子讨论了 Cursor 推出的全新 Git 托管平台 **Origin**。用户的反馈呈现出极端的两极分化,充斥着怀疑和对隐私的担忧,而非对技术本身的热情。 **讨论要点:** * **信任与所有权:** 许多用户明确表示反感将代码托管在由埃隆·马斯克(Elon Musk)或 SpaceX 拥有的平台上。担忧主要集中在私有代码库可能被用于训练 Grok AI,以及对该公司数据隐私政策的普遍不信任。 * **功能完整性:** 批评者指出,Origin 目前只是一个“极简版”的 GitHub 克隆,缺乏 CI/CD(Actions)等对生态集成至关重要的核心功能。一些人认为这不过是个“周末项目”,或者是为了蹭 GitHub 近期宕机热度而匆忙推出的产品。 * **关于“GitHub 替代方案”的争论:** 讨论凸显了用户群体之间的分歧:一方希望获得集中的“一站式”体验,另一方则倡导去中心化、自托管或基于协议的解决方案(如 Forgejo、Radicle 或 Tangled)。 * **基础设施:** 许多用户认为 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