Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature NekoLive - platform im making from ground up #570

Open
NekoSuneVR opened this issue Nov 10, 2024 · 3 comments
Open

feature NekoLive - platform im making from ground up #570

NekoSuneVR opened this issue Nov 10, 2024 · 3 comments
Labels

Comments

@NekoSuneVR
Copy link

nekolive going be build 2 types, and going be open source one of types.

start of open source going have few basic websocket and few more.

for non open source, going have alerts, emojis, and few stuff not going be open source.

but find info at https://nekolive.co.uk

I forward info / document tomorrow for websocket endpoints callout and path. just little late here do document.

main thing axelchat connect our non open source version that currently live at there and don't have logo and etc yet.

@3dproger
Copy link
Owner

Okay, you can send all non-public information here [email protected]

@NekoSuneVR
Copy link
Author

Okay, you can send all non-public information here [email protected]

not private info since no one cant run bots on it because that secured

Endpoint: wss://ws.nekolive.co.uk/channel/CHANNELNAMEHERE

You have to call out `{"type":"login","username":"nekoanoy"}` after connects to connect channel as anonymously

that will respond to `{"type":"system_message","message":"Welcome to the chat, Anonymous-46128!","username":"NekoAI","roles":{"bot":true,"staff":true}}`


it will pull out this after fully connected `{"type":"user_list","users":["Anonymous-46128"],"roles":[]}`


as list users connected and updates when they leave or join

and need to keep pining server with `{"type":"ping"}` and the response be pong back

Message received is `{"type":"chat_message","message":"hello","username":"nekosunevr","channel":"nekosuneai","roles":{"guest":false,"streamer":false,"dev":false,"admin":true,"subscriber":false,"staff":false,"moderator":false,"bot":false}}`

with user roles who it is

follower alert is `{"type":"alert_follower","message":"nekosunevr Has followed your channel"}` with `{"type":"chat_message","message":"nekosunevr Has followed your channel","username":"NekoAI","roles":{"bot":true,"staff":true}}` as message too

subscriber that is still WIP: `{"type":"alert_subscriber","message":"nekosunevr Has Subscribe to your Channel Tier 1"}`

with message `{"type":"chat_message","message":"nekosunevr Has Subscribe to your Channel Tier 1","username":"NekoAI","roles":{"bot":true,"staff":true}}`

and for raid message `{"username":"NekoAI","type":"raid_trigger","from":"nekosunevr","viewers":0,"message":"nekosunevr has Raided you with 0 Viewers!"}`

with `{"username":"NekoAI","type":"system_message","message":"nekosunevr has Raided you with 0 Viewers!","roles":{"bot":true,"staff":true}}` message


emojis are pulled from `{"type":"chat_message","message":"<img src=\"https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_dc904508ff794cca84cdcf9e0ffa9172/animated/light/3.0\" alt=\"nekoheart\" class=\"chat-emote\" width=\"20\" height=\"20\" />","username":"nekosunevr","channel":"nekosuneai","roles":{"guest":false,"streamer":false,"dev":false,"admin":true,"subscriber":false,"staff":false,"moderator":false,"bot":false}}`

but i am going keep as that and pull emojis into this for overlay `{"type":"chat_emojis","url":"https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_dc904508ff794cca84cdcf9e0ffa9172/animated/light/3.0", "channel": "nekosuneai"}`

but emojis still in WIP sector

there be more to come soon i need keep you posted

and for people who abuse the system, they can't. because they can't post websocket less been actual whitelisted domain that is 100% custom list

so only they are able post getting a bot token for bot use

but that's WIP too and only they can read the channel that's it but can't post.

but there are a few features not fully out but the basic stuff is so far.

i am work round making a ChatLib for this that I used made for vimm back then just rebuild fork of old lib

@NekoSuneVR
Copy link
Author

can test it over at https://nekolive.co.uk/channel/nekosuneai

and for API endpoint https://nekolive.co.uk/api/channels/stream/nekosuneai all need and detects if they streaming on twitch or directly from "platform":"NekoLive" or "platform":"Twitch" and etc that going add Trovo soon and hopely Kick if Kick allowing my Whitelisted IP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants