umputun/remark42

Add avatar's import from disqus

Aperta

#990 aperta il 7 mag 2021

 (0 commenti) (3 reazioni) (0 assegnatari)Go (432 fork)user submission
backendhelp wanted

Metriche repository

Star
 (5500 stelle)
Metriche merge PR
 (Merge medio 87g 10h) (18 PR mergiate in 30 g)

Descrizione

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

Guida contributor