# Codeberg 禁止 LLM 生成代码入库

Original title: Codeberg: ToU extension to prohibit LLM-extrusions

> Hacker News story 49003465 · language: zh · submitted 2026-07-22
> Web version: https://zeli.app/zh/story/49003465
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 49 · by [robin_reala](<https://news.ycombinator.com/user?id=robin_reala>) · 💬 77
[original](<https://codeberg.org/Codeberg/org/pulls/1253>) · [HN discussion](<https://news.ycombinator.com/item?id=49003465>)

## Summary

Codeberg 社区正式通过了一项新的服务条款提案，明确禁止用户上传主要由 LLM 生成的代码项目。这一决定源于对版权模糊性及非营利组织法律风险的担忧。尽管部分成员担心条款可能误伤教育用途或手动审查后的代码，但支持者认为，现实中大量 LLM 产出缺乏实质审查，且“教育目的”并非规避版权问题的万能借口。这场讨论不仅关乎技术伦理，更体现了 Codeberg 作为开源平台对内容质量的坚守。

## Key quote

> 贴上“教育目的”的标签并不是免罪金牌，它无法让版权问题凭空消失。

## HN discussion (77 comments)

### [CodesInChaos](<https://news.ycombinator.com/item?id=49004921>)

> 我会避开那些过于独断专行、毫无正当理由就随意更改服务条款，从而禁止以前允许的内容的代码托管平台。我希望我的代码在我停止维护后依然能长久存在，而这类变更会降低我对托管平台能否实现这一点的信任。
>
> （这次具体的变更不会影响我，因为我发布的所有代码都是没有借助 AI 编写的）

### [oeitho](<https://news.ycombinator.com/item?id=49004793>)

> Codeberg 做出了一个很棒的决定。我对自己从 GitHub 迁移出来的决定感到越来越满意。

### [mortarion](<https://news.ycombinator.com/item?id=49004581>)

> 好吧，看来我得把我的仓库搬到别处去了。

---

## Cite

- Page: https://zeli.app/zh/story/49003465
- Date: 2026-07-22
- Source: codeberg.org (https://codeberg.org/Codeberg/org/pulls/1253)
- Hacker News: https://news.ycombinator.com/item?id=49003465

## Other languages

- en: https://zeli.app/story/49003465 · markdown: https://zeli.app/story/49003465.md
- ja: https://zeli.app/ja/story/49003465 · markdown: https://zeli.app/ja/story/49003465.md
- ko: https://zeli.app/ko/story/49003465 · markdown: https://zeli.app/ko/story/49003465.md
- de: https://zeli.app/de/story/49003465 · markdown: https://zeli.app/de/story/49003465.md
- es: https://zeli.app/es/story/49003465 · markdown: https://zeli.app/es/story/49003465.md
