gab-dissenter-extension icon indicating copy to clipboard operation
gab-dissenter-extension copied to clipboard

Feature Request - JSON API

Open JasXSL opened this issue 6 years ago • 2 comments

I'm not a huge fan of the current design, as it essentially loads a full website in the page action on chrome. Is there any chance you could add a JSON API for this to make it easier for users to customize the addon, and probably speed up load times?

Some suggestions for endpoints:

  • /comments = Get all comments for the supplied page
  • /nr = Get a number of comments for the supplied page (would let you add a number indicator on the browser action, and let you cache the nr of comments to speed things up)
  • /trending = Get trending pages on the supplied page's domain
  • /comment = Make a comment
  • /user = Get info about the user currently logged in
  • /trendingall = Get trending on all websites (the current top scrolling text)

Something along those lines would be handy.

JasXSL avatar Mar 17 '19 18:03 JasXSL

Thank you for the suggestion @JasXSL. The idea of a public JSON API is something we have thought about internally but do not have a set time frame for the implementation quite yet.

mgabdev avatar Mar 21 '19 02:03 mgabdev

I strongly support this. Loading a full website is much slower than getting just raw data. It also makes it harder to customize Dissenter. :)

AlexO-dev avatar Apr 28 '19 09:04 AlexO-dev