Join us on Discord!
You can help CodeWalrus stay online by donating here.

WalrusIRC - An OmnomIRC rewrite

Started by Yuki, January 16, 2015, 08:14:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yuki

I'm working on an alternate OmnomIRC client (not a complete rewrite but it's pretty much rewriting the www part, so you'd still have to install and run OmnomIRC beforehand, and it'll be compatible with it so you can run both www clients at the same time. Maybe it'll eventually replace the rest too so you won't have to install OmnomIRC? We'll see. It could probably turn into a complete rewrite.) and it's gonna eventually replace this chatbox you see at the top once done.

Features
- Uses node.js and socket.io! (That is, websockets. Or something else if your browser is not supported. You know what? I think it's even supporting IE6, in case you need this cty and outdated browser.)
- Modern look!
- Responsive!
- No longer need of php stuff and spamming the server with requests! (So I guess it will no longer be slow? That's the point.)
- Supports IE6! (What's the point, though. No one uses it anymore.)

What works now
- Recieving messages and actions
- Topic setting
- Scrolling
- Reconnects to the server like if nothing happened

What doesn't yet
- Sending stuff and authentication
- Colors, links and emoticons
- Everything else

What it will eventually do
- Pretty much what OmnomIRC did before but better
- Emojis?
- A neat log viewer, I guess.
- A lot of stuff, but at the same time it'll be kept simple.

So yeah, how it works right now, on page load it request the 100 first lines then the server gets them directly from MySQL, and then it watches the curid file for updates and when it changes it gets the lines from MySQL and shoots them to the clients. So it's pretty much real-time and no longer need to poll the server like every second or so. Which is nice.

You can already see the work in progress here: http://walrusirc.codewalr.us/
And check the source code here: https://github.com/juju2143/walrusirc

Have fun ^_^
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Dream of Omnimaga

#1
I tried it and it looks pretty nifty. My suggestions, though:

-Try to not make it bloated. Focus on the essential stuff first. That way if it becomes broken then it's easier to fix than if there are like dozens of less useful features.
-Make sure that the CSS allows us to change the shoutbox design. With OmnomIRC, for example, I can add gradients, change colors, remove rounded edges, etc. I would rather have a shoutbox that blends well with the site design.
-Banning features (maybe like Omnom?)
-Also it would be nice if it also showed the EFnet, Freenode, Omninet and CW users.

That said, I think the main goal should be to provide something that doesn't lag like mad on this forum install so that maybe it givees people incentive to use #CodeWalrus . SAX could have worked but it lacks an online list and some other features, not to mention it's for PhpBB.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Yuki

Yeah, that's the point, it's made so it won't lag like mad. Mainly by making one connection to the server total each.page load.

Also I thought of a little box that shows up when you click on an username with all the ban commands and user info and stuff. For theming, I guess you can always check the public folder and modify it to your likings.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Dream of Omnimaga

Aah that box would be nice actually, although maybe it would be better if we could click the username instead for mobile users. And will there be an online list?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Yuki

  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Yuki

#5
The walrusirc is now usable, as of commit #71186e6! As in, sending works! Have fun!

EDIT: Wanna try it out? Click !

EDIT2: Next on WalrusIRC updates: Time to improve the styles and add link and color support and I think I'll call it a version 0.1.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Duke "Tape" Eiyeron

I think you should fix the nginx configuration. I got again death send lag.
  • Calculators owned: A lot.

Yuki

#7
Update #612cf36:

- Colors!
- Links!

Quote from: Eiyeron on January 19, 2015, 08:09:38 AM
I think you should fix the nginx configuration. I got again death send lag.
You say? The lines you send don't show up before it's been sent to the database.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

pimathbrainiac

Yay it works! And it's fast! I hope this gets added to an ezportal block soon!
Well, I'm bach here too!

Dream of Omnimaga

#9
We switched to EzPortal? O.O

Also sending works in Opera :D. But in Chrome mobile it says Ineed to login.

  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

pimathbrainiac

Well, I'm bach here too!

Dream of Omnimaga

Oh ok lol I was scared we were switching back. EzPortal 2.6 was totally broken. Even more than Sonic 2006
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

pimathbrainiac

lol true story. I remember when we tried EzPortal before site opening. It was terrible.
Well, I'm bach here too!

Dream of Omnimaga

Yeah. It was much better in 2010-11. Now block settings no longer works. ._.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Yuki

#14
Yep, hope it'll be added to a SimplePortal block soon. Actually what we could do right now is making a beta test usergroup for those who wishes to beta test stuff, kind of like DeviantArt.

Oh, also theme rehaul and new features. Please check it out and tell me what you think ;) Please also suggest stuff this is helpful.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Powered by EzPortal