Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Replace a Cap's file in place, keeping the same share link?

未关闭
#2,103 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
领域
api, full-stack

调研方向

从 apps/web/app/admin/replace-video 开始,然后跟踪 createUpload 和 updateCap,以了解现有的替换和更新路径。在 dashboard 和 API 中实现所有者访问权限之前,先确定转录、摘要、带时间戳的评论和观看次数将如何处理;当一个 Cap 可以在不改变其 ID 或分享链接的情况下替换其文件时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Once a Cap's link is out there — in a README, an onboarding email, a pinned Slack message — it's tied to that exact recording. Re-recording means a new ID and chasing down every place the old link was pasted, so evergreen demos tend to go stale.

I noticed apps/web/app/admin/replace-video already swaps a video's file while keeping its ID, just gated on viewer.isAdmin. Would you be open to exposing that to a Cap's owner — in the dashboard, and ideally via the API so it can be scripted? Right now createUpload always mints a new ID and updateCap only takes title/public.

The interesting part isn't the plumbing, it's what should happen to everything hanging off the old recording: transcript and summary, timestamped comments, view counts. Curious how you'd want those to behave — happy to implement once that's settled.

(Custom slugs like /demo would be the fuller version, but that's a bigger conversation about namespacing — separate issue if there's interest.)

主要语言
Rust
星标
23k
派生
2k
平均合并
10 小时 41 分钟
30 天内合并 PR
89

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CapSoftware/Cap 的其他 Issue

查看 CapSoftware/Cap 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。