Author Topic: DeepBot IRC chatbox client  (Read 5372 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
DeepBot IRC chatbox client
« on: October 21, 2012, 03:43:17 pm »
I made this a couple of weeks ago because I had two problems with chatting on IRC:
  • IRC is blocked at school (and OmnomIRC too, for that matter)
  • There were no good free IRC clients for iOS
So my goal was to make something that wouldn't be blocked with a nice mobile UI.

The project expanded a lot since then, and now I have pretty much a complete IRC chat box. It works the same way as OmnomIRC and saxjax—it's really a bot that relays messages to and from the IRC server—but it's got some nice features pulled from real IRC clients that I can't live without, like tab autocompleting nicks and using up/down arrows to access previously sent lines.

For now, you can try it out at http://clrhome.org/b/chat/?test. (You don't need an account.) Below are screenshots of what it looks like on a desktop browser and on a mobile device.

Use /join to switch channels. You can only switch to channels that the DT bot/client is in, which currently include #omnimaga, #omnimaga-spam, #omnimaga-fr, and #thebot.

I'm not entirely sure, but if it turns out to be a lot less resource-intensive than OmnomIRC I'm hoping to get it integrated with the Omnimaga user accounts and linked up where OmnomIRC used to be. (Right now this is running on Juju's server, which might need to change.)
« Last Edit: October 21, 2012, 03:48:47 pm by Deep Thought »




Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: DeepBot IRC chatbox client
« Reply #1 on: October 21, 2012, 04:30:27 pm »
Looks nice. I'll try it out later when I don't feel half dead. :P

*Edit* Ok, I ate and no longer feel half dead, maybe only a quarter.
The interface loads super quick, but there seems to be a slight delay in sending text. It also seems I have to drag the bar down to see the new text after I've sent it to the room (it' doesn't scroll automatically). Actually, it does not scroll down when anyone speaks in the chat from what I can tell. Tested in Firefox 10.0.1
« Last Edit: October 21, 2012, 05:50:43 pm by Art_of_camelot »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: DeepBot IRC chatbox client
« Reply #2 on: October 21, 2012, 05:55:37 pm »
The interface loads super quick, but there seems to be a slight delay in sending text.
Sent lines take a maximum of 1.4 seconds to be sent to the server and lines from the server take a maximum of 0.4 seconds to be received by the client. (The 1.4 is because there's a one-second pause between fetches, plus the 0.4 seconds it takes to read the line back.)

Some clients append the line you send as soon as you say it regardless of when it actually reaches the server, but the problem with that is that it sometimes causes lines to be out of order (making it seem like your line came before others when it actually didn't).
It also seems I have to drag the bar down to see the new text after I've sent it to the room (it' doesn't scroll automatically). Actually, it does not scroll down when anyone speaks in the chat from what I can tell. Tested in Firefox 10.0.1
I didn't test in Firefox—scrolling does work in Chrome. I'll take a look at it.




Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: DeepBot IRC chatbox client
« Reply #3 on: October 21, 2012, 06:01:13 pm »
Some clients append the line you send as soon as you say it regardless of when it actually reaches the server, but the problem with that is that it sometimes causes lines to be out of order (making it seem like your line came before others when it actually didn't).
Ok, that makes sense. It isn't that big of a deal either honestly, it's quite a short delay. :)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: DeepBot IRC chatbox client
« Reply #4 on: October 21, 2012, 06:49:03 pm »
It works perfectly for me in Midori. Also yeah this should be the new OmnomIRC. And I don't really mind if it's hosted on my server, it doesn't seem to eat lots of RAM.

EDIT: There's still some problems with the scrolling when it gets inactive.
« Last Edit: October 21, 2012, 06:54:34 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: DeepBot IRC chatbox client
« Reply #5 on: October 21, 2012, 06:57:32 pm »
It works perfectly for me in Midori. Also yeah this should be the new OmnomIRC. And I don't really mind if it's hosted on my server, it doesn't seem to eat lots of RAM.
Glad to hear :)
EDIT: There's still some problems with the scrolling when it gets inactive.
There seems to be an issue where the client simply stops fetching new lines all of a sudden. Pressing ENTER in the textbox should be enough to get it rolling again.




Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: DeepBot IRC chatbox client
« Reply #6 on: October 21, 2012, 06:58:37 pm »
Another thing to report: After the last message I sent (@ 22:03 in the chat box) it seems the bot quit updating. I didn't see any more messages for an hour roughly (22:57) when I reloaded the page manually and spoke again.
*Edit* Still in Firefox btw. :)
« Last Edit: October 21, 2012, 07:01:50 pm by Art_of_camelot »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: DeepBot IRC chatbox client
« Reply #7 on: October 21, 2012, 11:44:47 pm »
Another bug report: On Android, the soft keyboard keeps disappearing just after appearing after clicking on the textbox. Otherwise it works pretty good on Android.
« Last Edit: October 21, 2012, 11:45:58 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: DeepBot IRC chatbox client
« Reply #8 on: October 22, 2012, 09:21:42 pm »
This is very nice! Did you do any pm handling stuff? And, i think i would put the userlist to the right (as xchat has it there ^^)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: DeepBot IRC chatbox client
« Reply #9 on: October 23, 2012, 12:02:37 pm »
The bugs in Firefox with scrolling and text box being too small have been fixed.




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: DeepBot IRC chatbox client
« Reply #10 on: October 23, 2012, 04:26:11 pm »
Seems nice. What about security measures, though? (in case someone abuses it)
« Last Edit: October 23, 2012, 04:26:27 pm by DJ_O »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: DeepBot IRC chatbox client
« Reply #11 on: October 23, 2012, 06:46:54 pm »
Maybe you could add a user right system or make that if someone like does >3 messages per sec he/she is kicked

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!