calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.46k stars 235 forks source link

Static chat text color #802

Closed dollabi11z closed 5 years ago

dollabi11z commented 5 years ago

Im glad i found this thing looks like exactly what i need kind of a justin.tv feel to it

I just have a question. Can this do a chat users color. He pick a text color and it stays that color until they pick a different and all users see his color too

AssTractionHero commented 5 years ago

It /can/ do a chat user's color through the CSS editor.

.chat-msg-<insert username here> .username { color: <insert #ssc or HTML color name here>; }"

Xaekai commented 5 years ago

This is quite possible with chat filters and custom JS.

dollabi11z commented 5 years ago

my video site i have alot of older uh chatters ya know that dont even know how to refresh let alot adjust a cs file lol

id like qa colorwheel or something to aid them. i currently use lightirc as a client but since flash is dying this new cms here looks perfect i just got to accommodate some less tech inclined people

calzoneman commented 5 years ago

What Xaekai is referring to is that you can set up some customizations in your channel to implement this, then your users just need to accept the script and don't need to do any editing themselves.

Please reach out to him about this.

AssTractionHero commented 5 years ago

See edited comment above.

AssTractionHero commented 5 years ago

Also, what calzoneman said is correct. If you ask nicely, Xaekai can probably hook you up with what you need. I am not his agent.

dollabi11z commented 5 years ago

ah ok sounds good thks guys. i seriously cannot believe i havent run into this script b4 haha

dollabi11z commented 5 years ago

oh one more? though how is this chat with alot of traffic in the summer my video site swells to 10k users chatters. I use irc now i dont think this can use irc?

calzoneman commented 5 years ago

That's not gonna work. Last channel that got big fast hit 3,000 and totally crashed the server. It's not really designed to be like twitch with thousands of users, it's more of like a "10-100 people get together and watch stuff" type of site with a few outlier large channels.

If you're just looking for a chat solution, I would not recommend trying to use this site.

dollabi11z commented 5 years ago

Well i got to admit that Sucks bigtime lol

Ya know your script/system is exactly what ive been looking for . I cant believe that the system has all these features, functions etc and cant handle more than 100 people

dollabi11z commented 5 years ago

eitehr way man you did a great job on this i give u props. You shoudl make a paid version , that can handle more peeps Id buy it in a second :)

Xaekai commented 5 years ago

Even if calzoneman moved forward with the previously discussed idea of decoupling the frontend and backend so multiple socket servers could be used to serve a single channel, supporting 10k users in a single channel would never be a design goal. A single socket server can handle about 800 users in a channel before things start getting janky. I don't think we are ever going to be running the 12 nodes it would take to support what you are after.

calzoneman commented 5 years ago

I'm going to close out this issue since the conversation has drifted from the original question, which has been answered (per-user chat colors are a 3rd party customization). If you have further questions, feel free to stop by the IRC channel (#cytube on irc.esper.net) or drop me an email.

As a closing note, I will provide a little more background about the scalability (which has been discussed previously in #325). CyTube started as a weekend project that gained unexpected popularity when synchtube.com closed permanently in 2013. When v1 was written, I honestly never expected to see more than about 25-30 users at a time, which was about the max I'd ever seen in the one synchtube channel that I used it for. As it became more popular, I eventually made an architectural change to support putting different channels on different servers backed by the same database, which was a relatively straightforward change given most interactions are local to a particular channel.

Today, there are only a few channels which ever hit 1k users. From the index page, you can see that the usercount per channel drops off quite rapidly from 100 to 20s to 10s to single digits. The 1600+ connected users as I'm typing this are spread out across over 500 channels. Hence, single channel scaling has never really been a priority. It's theoretically possible, and I've had ideas on how to re-architect to achieve it, but I've preferred to spend my time on work that provides benefit to the majority of channels on the site rather than focusing on the "huge stream" problem that very rarely surfaces (also, I've spent less of my time overall on CyTube the past few years).

dollabi11z commented 5 years ago

Sounds good man thx for the explaintion no matter what this is the best thing ive seen that was kind of like justintv

i cant believe i havent run into this before ive been at this 19 years lol

On Thu, Apr 4, 2019 at 8:57 PM Calvin Montgomery notifications@github.com wrote:

I'm going to close out this issue since the conversation has drifted from the original question, which has been answered (per-user chat colors are a 3rd party customization). If you have further questions, feel free to stop by the IRC channel (#cytube on irc.esper.net) or drop me an email.

As a closing note, I will provide a little more background about the scalability (which has been discussed previously in #325 https://github.com/calzoneman/sync/issues/325). CyTube started as a weekend project that gained unexpected popularity when synchtube.com closed permanently in 2013. When v1 was written, I honestly never expected to see more than about 25-30 users at a time, which was about the max I'd ever seen in the one synchtube channel that I used it for. As it became more popular, I eventually made an architectural change to support putting different channels on different servers backed by the same database, which was a relatively straightforward change given most interactions are local to a particular channel.

Today, there are only a few channels which ever hit 1k users. From the index page, you can see that the usercount per channel drops off quite rapidly from 100 to 20s to 10s to single digits. The 1600+ connected users as I'm typing this are spread out across over 500 channels. Hence, single channel scaling has never really been a priority. It's theoretically possible, and I've had ideas on how to re-architect to achieve it, but I've preferred to spend my time on work that provides benefit to the majority of channels on the site rather than focusing on the "huge stream" problem that very rarely surfaces (also, I've spent less of my time overall on CyTube the past few years).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/calzoneman/sync/issues/802#issuecomment-480113905, or mute the thread https://github.com/notifications/unsubscribe-auth/AHlaKl2iK__IxolKOKETjzjfp9LeigQ5ks5vdp9_gaJpZM4cbr4u .

--

- Kevin kevin@dollabillz.net 412-712-3772 412-701-1250 http://dollastore.xyz http://russiancave.com