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

Support for referrer_did

未关闭
#53 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@chris-pardy 已经在做这个了。

开始于 2026年7月1日。

  • #54 来自 @chris-pardy —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript

调研方向

从 ATStore 的 Atmosphere 应用列表及其登录后进行评价的机制开始,然后追踪外发链接是如何生成的,以及已登录用户的 DID 如何可用。在实现提议的参数之前,明确跟踪和身份验证的范围;完成标准是 ATStore 在受支持的链接上携带 referrer_did。

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

描述

While it's easy to talk about the atmosphere as a bunch of connected apps the reality is that even following a link from bsky to tangled you need to remember that you should log into tangled with your bluesky account. Some of the work around an atmosphere login button will help but there's no reason we can't do something low lift.

I propose a query string referrer_did that includes the did of the logged in use that clicked a link being sent along on links that go to other atmosphere apps. What those apps choose to do with that data is up-to them but the obvious thing is to trigger a login with the given DID. This means that moving between Atmosphere apps will bring your identity with you.

ATStore seems like the right first place to do this because by default we know that it is a list of atmosphere apps that could support this parameter. Additionally it's log in to review mechanism is a good way to show how a thoughtful implementation of the other side of this could work.

Considerations

It's worth calling out that including a query parameter has drawbacks.

  • It is effectively a tracking cookie across the atmosphere - DID alone is not enough to be too worried about but when combined with other information readable from the request we can potentially start to capture information about people.
  • Each site can choose how they handle the auth process leading to uneven experiences.

Overall I think the basic idea is sound even with these considerations. If the tracking was a major concern there are a variety of approaches that could be leveraged such as writing a "no-track" record to a PDS that sites would honor.

主要语言
TypeScript
星标
23
派生
4
PR 合并指标
30 天内没有已合并 PR

环境准备

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

从这里开始

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

ATProtocol-Community/ATStore 的其他 Issue

查看 ATProtocol-Community/ATStore 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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