Better HN
topnewbestaskshowjobs
Log inSign up

erming

28 karma · joined Apr 27, 2014 (12y ago) · 20 submissions

http://github.com/erming
Submissions

comment 12y ago · link · parent

HN Mods: Could you change the url to https://github.com/erming/shout instead?

comment 12y ago · link · parent

Well, my idea when I started this project: A self-hosted and password protected IRC client that runs in your browser.

However, I added "public" mode, where anyone is allowed to connect. And the demo server is currently running in this mode.

So right now? Nope. I'm not limiting anything. I guess this will be up to the person running the server to decide.

Thanks!

comment 12y ago · link · parent

Hey, thanks. That's a bug! I'll fix it when the HN madness ends.

comment 12y ago · link · parent

One more thing: Freenode has given me about ~20 slots to work with on this demo. If you can't connect, try another network, like `irc.rizon.net` or something.

comment 12y ago · link · parent

Hey, guys.

Thanks for all the attention! The repository is here: https://github.com/erming/shout

It's open source, so if you're looking for a cool new project to work on, feel free to help out!

comment 12y ago · link · parent

Oh, I will so use this!

Anyway, some feedback: When loading the page, a wild scrollbar appears (Chrome). A temporary overflow: hidden; on the body would probably solve this.

comment 12y ago · link · parent

I'm creating a web-based IRC chat.

Basically: You install it from npm and then run it, then you browse to http://localhost:9000/ and start chatting.

It's responsive and works great on your smartphone.

Repository: https://github.com/erming/shout (star if you like it!)

And of course, a demo: http://shout-irc.com:9000/

Edit: If you can't connect (Freenode only allows ~5 active connections) try "irc.rizon.net".

comment 12y ago · link · parent

Here's another option based on JSON. It went viral on HN 4 days ago: http://jsonresume.org/

The HN post can be found here: https://news.ycombinator.com/item?id=7996464

9.

Want to contribute to open source? My IRC webchat(github.com ↗)

2 points · by erming · 12y ago · discuss

comment 12y ago · link · parent

Want them as PNG?

Step 1: Download SVG from https://github.com/github/octicons/tree/master/svg

Step 2: Use http://www.fileformat.info/convert/image/svg2raster.htm

Step 3: ...

Step 4: Profit!

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Oh, I've made one too! http://github.com/erming/shout

It's really stable (been using it for weeks without restarting) and I've even implemented a mobile interface: https://db.tt/fYTswBwO

You'll find the install instructions in the README (or just `npm install shout`). No configuration required. Should take under a minute to get it running if you already have NPM.

It's open source. Feel free to try it, browse the code and leave some feedback. If you want to work with me, it's open for contributions!

14.

GitHub released GitHub for Windows, version 2.0(windows.github.com ↗)

2 points · by erming · 12y ago · 1 comment

comment 12y ago · link · parent

Looks like everyone and their grandma has written their own PHP router.

Here's mine:

https://github.com/erming/route

Code: https://github.com/erming/route/blob/master/route.php

~80 LOC

comment 12y ago · link · parent

I don't think it's fair to say that Drupal is faster than Wordpress by just looking at the req/sec.

According to https://wiki.php.net/phpng, they benchmarked against Wordpress 3.6 (the current version is 3.9). I couldn't find anything about the Drupal benchmark, but it could be a simple "Hello world" for all we know.