umputun/remark42

Add avatar's import from disqus

Open

#990 创建于 2021年5月7日

在 GitHub 查看
 (0 评论) (3 反应) (0 负责人)Go (432 fork)user submission
backendhelp wanted

仓库指标

Star
 (5,500 star)
PR 合并指标
 (平均合并 87天 10小时) (30 天内合并 18 个 PR)

描述

As mentioned in https://github.com/umputun/remark42/issues/958#issuecomment-828707386 Disqus has the API to retrieve avatars. Adding this to the import process will be very nice.

A few challenges:

  • probably the API calls should be rate-limited and may need retries
  • imported avatars should be proxied, i.e. stored and served locally

We already support avatar proxy as a part of auth, but this is an external library. Not sure if we can make the avatar proxy part available in go-pkgz/auth or just copy the relevant part into remark42

贡献者指南