gab-dissenter-extension
gab-dissenter-extension copied to clipboard
Feature Request - JSON API
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.
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.
I strongly support this. Loading a full website is much slower than getting just raw data. It also makes it harder to customize Dissenter. :)