Twitch client with Discord Rich Presence support.
td is a client that lets you use Twitch and show the channel you're watching through Discord Rich Presence feature. It's still in development stages but sounds cool, right?
Basic electron stuff, mostly nodejs and npm.
Clone repository and run npm install
then npm start
.
Tested on Windows 10 and Ubuntu 16.04 LTS, both with no serious compatibility issues. I need help for macOS testing!
None of this application is endorsed nor approved by neither Twitch nor Discord. Twitch and Discord are trademarks of their respective owners and their brand names are used only under fair use for information purposes.
Huge shoutout to Kyle who has been helping a lot with the testing and Santa's list of features.
Yes, check the releases page and be warned it's pre-release yet.
Yes! Feel free to submit a pull request or issue if any cool feature comes up. You can check the open issues and open one for yourself.
Economic help is not asked yet (I might accept small tips as acknowledgement if you really want to show your support, but please contact me first through email). The best way to support this project is just by sharing it with your friends.
First check if there's already an open issue for your problem. If there's none, submit an issue and attach your logs (log.txt on the application folder). Make sure to screen out the logs for sensititive information, as this file will be public. If you don't feel confident of publishing the logs or they contain sensitive information, send them to my personal email (check my Github profile). When reporting the issue, be as much detailed as you can on the steps to reproduce the issue, and also add your OS version. This will help me track down the problem. You can also fix it for yourself, if you're brave enough, and submit a pull request.
Sadly, Discord Rich Presence doesn't allow yet to upload pictures on the fly, and requires an image key for each picture. To showcase this functionality, some stream logos have been uploaded as assets on the Discord application, however, Discord limits this to 150 resources, so not all streams will make it into the application.
I'm open to hearing names that would be cool to fit in the application, the addition will be studied case by case, but mostly streamers I personally watch (this program is made for my personal use primarily) and large streamers (partnered, at least) can get inside. If you have such a name, email me (check my Github profile) or submit a pull request adding the name into the "featured" array (I still have to manually upload the asset).
For the rest of situations, if you really want to see certain name, still feel free to ask, and if I reject your request (mostly due to space requirements), I recommend forking my project for your personal use and creating a new Discord application.
No. BetterTTV and FrankerFaceZ userscripts are integrated with Td from factory. I'll add an option to unload them on the settings (and also add custom userscripts), but it's not yet ready. If you dislike any of either (or want to add more), remove them from the userscripts
variable. To add your own script, add a link to your script CDN. Userscript link is not enough! Td does not recognize userscripts. Usually userscripts are just a bootstrapper that injects the actual script from an URL, so open the userscript and find such URL.
¯\_(ツ)_/¯
I do like this feature as it allows streamers get more visibility through your own Discord profile.
Copyright 2018, Marc Sances
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.