Comments Network is in development (since 26th Oct 2016). It will be ready for production soon, but until then some things might change. Subscribe to get important updates on the project and the release version:
Example: go to this JSFiddle and try it out (;
Example 2: a recent story that can be commented about cybersecurity. The thread is
https://news.ycombinator.com/item?id=12831430 so the thread id is
<comment-box class="border" hackernews="12831430" limit="1"></comment-box>
Here it's extra-limited it to
1 comment, but you can set this to anything. This will render:
Example 3: go to the bottom of this page for meta-comments :)
There are some options that you can specify within the
To use a network you just have to define an attribute
You are able to specify two or more articles from the same network by separating the ids with a space (or a comma):
<comment-box hackernews="8315616 11850599"></comment-box>
The ID is the number after the
https://news.ycombinator.com/item?id=8315616, the id is
8315616. Use it:
The id is the fragment that includes
CHANNEL/comments/ID, exluding the initial
/r/ and the final
web_design/comments/5aj852. Use it:
Defines which variable to sort the comments. Prepend it by a
- to sort in reverse order. Now it defaults to
default, which means it is ordered in the same way as the page it comes from. However this also means that networks don't mix together, so you might want to change it to
Note: we are using anidated networks so far, so the sorting will happen only in the topmost comment from each thread as expected, not with the sub-children.
The maximum number of comments to show by default. In the future it will paginate/infinitescroll them from there:
<comment-box hackernews="8315616" limit="30"></comment-box>
It defaults to
30, not unlimited as you could expect as it's better than to let it grow wild over time.
The different versions and what has to happen to reach them.
1.x - Future ideas
- Integration and plugin development (Wordpress? Ghost? Others?)
- Control panel
- Hide comments
- Hide (ban) users; all users' comments
- iframe option?
- API + DIY?
1.0 - Release
- [ ] Compile to ES5
- [ ] Minimize assets; Grunt
- [ ] Optimize CSS/Icons
- [ ] Error handling, including:
- [ ] Add possible future warning for incompatibility/end of life
- [ ] Establish a key system to avoid abuse?
- [ ] Security/vulnerability contact (+ learn how to do it and use GPG)
- [ ] Long-term plan (by preference): (donations || premium features || usage quotes || ads)
- [ ] [research] [reddit] Specify the ID as
CHANNEL:ID, such as
web_design:5aj852or just the ID as
0.9 - beta
- [ ] Code complete and working (ES6)
- [ ] HTML5 and Custom Components properly handled
- [ ] Parse the 3 networks: HN, Reddit and Product Hunt
0.3 - alpha 3 [current]
- [ ] Ask for feedback to people and HN
- [x] [bug] [hackernews] open/closed thread is not available. Defaults to open so the message "Comment on Hacker News: __" is always shown. Needs to restructure and optimize things a bit internally (request() two different pages in parallel)
- [x] [bug] [hackernews] Reply is not retrieved, so the "Repply" tag is always shown even if you cannot reply.
- [x] [bug] No dead comments on HN.
- [ ] [bug] [reddit] Only the first comment of each thread is retrieved currently.
0.2 - alpha 2
- [x] Cache
- [x] XSS
- [x] Structure to accept several networks on the front-end
- [x] Freeze comment structure, thinking about future extensions
- [x] Add email subscription for updates
- [x] [bug] Old comments cannot be replied
- [x] [bug] Old threads cannot be commented
- [x] [bug] Wouldn't load in some situations
0.1 - alpha 1
- [x] Create interface
- [x] Parse HN
I don't really know how this works; you can use this, please don't abuse it and please don't remove the name+link of
comments.network. I'll work some legal text to put here at some point. I recommend that you don't use it to production (yet) and please don't send over 10.000 requests/month (yet) as that might collapse the site even though it's heavily cached internally.
You use this at your own risk and I reserve the right to change/modify/remove anything at any point for any reason (within the law), so stay up to date with the modifications. It's an alpha right now after all.
Made by Francisco Presencia Fandos from Francisco IO Ltd (UK). Contact me for anything at or just use Comments Network: