News for hackers. Stuff that matters.
Re:Show HN: A browser-based IRC client built on Node.js – fi... by silversmith on Thursday June 12, 2014 @05:13PM (#7885978)
Looks really nice - especially the part where multiple networks are in the very first screenshot!

How are you handling persistence tho? Straight up in-memory storage?

Re:Show HN: A browser-based IRC client built on Node.js – fi... by erming on Thursday June 12, 2014 @05:44PM (#7886161)
Yes, right now it's only in memory.

I've been thinking about storing the logs in .txt-files (with the option to turn this feature on/off). This way, I could let the user download the logs directly via the browser.

Re:Show HN: A browser-based IRC client built on Node.js – fi... by hexscrews on Friday June 13, 2014 @09:17AM (#7888626)
I'm not familiar with how difficult it may be, so please tell me if I'm off base. But couldn't you offer the option for either text logs or HTML logs? I know that when given the option, I opt for HTML logs for the ease of reading.
Re:Show HN: A browser-based IRC client built on Node.js – fi... by erming on Sunday June 15, 2014 @06:26PM (#7896547)
Hi! Didn't see your question until now.

While I haven't implemented the logging yet, I'm thinking about storing them in the JSON-format. Messages are already stored as JavaScript object, so I think this is my best option. And exporting them as .txt on demand, shouldn't be a problem either.

Thank you for the feedback