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

Updating to support latest version of Android Studio / IntelliJ #17

Open
pocmo opened this issue Jul 8, 2020 · 6 comments
Open

Updating to support latest version of Android Studio / IntelliJ #17

pocmo opened this issue Jul 8, 2020 · 6 comments
Assignees

Comments

@pocmo
Copy link

pocmo commented Jul 8, 2020

Hey! I was just looking for a way to integrate Twitch chat into Android Studio (based on IntelliJ) - since overlaying the chat via OBS / Streamlabs may clash with other things the IDE is displaying. And this looks exactly like it could help with that. :)
However when searching for the plugin inside Android Studio it does not show up. According to the online plugin directory the plugin was last updated in 2016, so I assume it may just be incompatible with the latest version. Are there any plans to update it? :)

@jvtrigueros
Copy link
Member

I haven't touched this project in a long time, but might have time get this updated for the latest version. It's super barebones and currently it only does readonly.

Doing an overlay with OBS might still be the best solution. Let me take a few days to catch up and see where this is at. If it's not too much work. I'll re-publish.

@jvtrigueros jvtrigueros self-assigned this Jul 8, 2020
@pocmo
Copy link
Author

pocmo commented Jul 9, 2020

It's super barebones and currently it only does readonly.

In my case that's all what I am looking for and I was considering writing it myself. :)

Doing an overlay with OBS might still be the best solution.

What I did for now is create a plugin that has just an empty panel and then I use OBS to overlay the chat in exactly that position. That will work for now... but is of course not very flexible. :)

Let me take a few days to catch up and see where this is at. If it's not too much work. I'll re-publish.

Cool, thank you! If you give me some hints then I'm also happy to help. :)

@jvtrigueros
Copy link
Member

Ok so an update here, to populate the chat I was using an API that's no longer available. The project is really out of date, as it's still using some Swing components :) Which should really be JavaFX.

One quick way to get this going is to use a WebView (not sure what that would look like) and use https://nightdev.com/kapchat and load the contents in the view.

Sorry, I don't have better news! This project was severely out of date!

@pocmo
Copy link
Author

pocmo commented Jul 15, 2020

Thank you for this update. I really appreciate it!

KapChat is interesting. That indeed looks like a nice way to get it integrated quickly. I read that Twitch also supports connecting to a channel via IRC. I have used PircBot in Java in the past and maybe that's a route that I could look at too - although it will required a bit more effort.

@pocmo
Copy link
Author

pocmo commented Jul 15, 2020

Adding a JavaFX WebView to the panel and loading the KapChat URL was easier than I thought. Unfortunately it is not rendering anything. Not sure what is powering WebView but maybe it is just not good enough for that. :)

@jvtrigueros
Copy link
Member

Oh that's a bummer :( Yeah, this codebase didn't do much to set up the Twitch chat other than connect to the websocket and display the chat.

I was hoping just dropping KapChat in a WebView would work but that doesn't seem to be working. So it seems like registering a Twitch bot is gonna be the way to go, that way it can connect to a via IRC and display the chat.

Sorry this project was misleading!

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

No branches or pull requests

2 participants