umputun/remark42

Add avatar's import from disqus

Open

#990 opened on May 7, 2021

View on GitHub
 (0 comments) (3 reactions) (0 assignees)Go (432 forks)user submission
backendhelp wanted

Repository metrics

Stars
 (5,500 stars)
PR merge metrics
 (Avg merge 7d) (7 merged PRs in 30d)

Description

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

Contributor guide