Ask HN: Review my First Open Source Project - CommentWidget
trailbehind.com
trailbehind.com
Right now it looks like the basic functionality is there, but it would catch on a lot easier if it looked unobtrusively snazzy.
For now, you can just override the CSS in comments.css to skin the widget. The CSS is very simple now - just four different classes.
I'm very curious to hear criticism of the code, so let me know if you spot bugs or bad style.
But did you think of security? To prevent automation for example?
For this demo, there is no auth, so a bot could definitely spam it, but it will work ok on your site if you have some sort of auth set up.
Later, I also want to integrate captcha with this, and I'll release my login ajax as an add-on.
You can work around this to prevent automation, by IP detection... like each IP can't submit more than 10 comments in an hour at the same domain name, and such similar techniques.
You can distrebute it, to let anyone use it at their websites.