All Projects → oxguy3 → coebot-www

oxguy3 / coebot-www

Licence: GPL-2.0 license
A web interface for CoeBot, a Twitch chat bot

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
ApacheConf
554 projects

Projects that are alternatives of or similar to coebot-www

Dashboard.spatie.be
The source code of dashboard.spatie.be
Stars: ✭ 1,916 (+15866.67%)
Mutual labels:  pusher
siren
Telegram bot for webcasts alerts
Stars: ✭ 40 (+233.33%)
Mutual labels:  twitch
streamcord
A Discord bot that interacts with the popular streaming service Twitch.tv
Stars: ✭ 83 (+591.67%)
Mutual labels:  twitch
Gateway
🚀构建分布式即时聊天、消息推送系统。 Building distributed instant messaging, push notification systems.
Stars: ✭ 188 (+1466.67%)
Mutual labels:  pusher
Pusher Angular
Pusher Angular Library | [email protected]
Stars: ✭ 233 (+1841.67%)
Mutual labels:  pusher
extensions-js
An Easier way to build Twitch Extensions using this JavaScript library for interfacing with Muxy's extensions backend.
Stars: ✭ 26 (+116.67%)
Mutual labels:  twitch
Ember Socket Guru
Addon for easy integration with Pusher.js, ActionCable, Socket.io and Phoenix Channels
Stars: ✭ 119 (+891.67%)
Mutual labels:  pusher
jChat
jChat is an overlay that allows you to show your Twitch chat on screen with OBS, XSplit, and any other streaming software that supports browser sources.
Stars: ✭ 106 (+783.33%)
Mutual labels:  twitch
elm-twitch-chat
Elm powered Twitch chat using WebSockets
Stars: ✭ 14 (+16.67%)
Mutual labels:  twitch
pajbot2
pajbot in go
Stars: ✭ 79 (+558.33%)
Mutual labels:  twitch
Chatify Demo
Chatify Laravel Package Demo application
Stars: ✭ 189 (+1475%)
Mutual labels:  pusher
Vue Echo
Vue integration for the Laravel Echo library.
Stars: ✭ 229 (+1808.33%)
Mutual labels:  pusher
twitchtube
Twitch YouTube bot. Automatically make video compilations of the most viewed Twitch clips and upload them to YouTube using Python 3.
Stars: ✭ 398 (+3216.67%)
Mutual labels:  twitch
Laravel Realtime Example
Realtime 🍕 Pizza Order Tracker 🍕 - Laravel, Vue & Pusher
Stars: ✭ 165 (+1275%)
Mutual labels:  pusher
twitch-chat-raspi-leds
Let to Twitch chat users to interact with RaspberryPi LEDs
Stars: ✭ 16 (+33.33%)
Mutual labels:  twitch
Pusher Fake
A fake Pusher server for development and testing.
Stars: ✭ 148 (+1133.33%)
Mutual labels:  pusher
CounterStrike-GlobalOffensive-LiveStat-for-OBS-Studio
Showing you LIVEstats of CS:GO in your Stream like OBS-Studio while playing/streaming.
Stars: ✭ 24 (+100%)
Mutual labels:  twitch
node-twitchbot
Package for easily creating Twitch Bots
Stars: ✭ 13 (+8.33%)
Mutual labels:  twitch
PhantomBot-German-Translation
Deutsche Übersetzung des Twitch Chat Bots PhantomBot
Stars: ✭ 13 (+8.33%)
Mutual labels:  twitch
TwitchMarkovChain
Twitch Bot for generating messages based on what it learned from chat
Stars: ✭ 87 (+625%)
Mutual labels:  twitch

coebot-www

A web interface for CoeBot, a Twitch.tv chat moderation bot.

Installation

This site is still very early in development so I'm not gonna bother writing detailed install instructions that might change dramatically later, but it's mostly just a standard AMP (Apache/MySQL/PHP) application. Put the files on an Apache server with PHP and enable .htaccess files or copy the contents of the .htaccess file to your Apache config file. The database structure can be rebuilt using the file dbstructure.sql (which I will do my best to keep up to date).

You might notice that one particular file is missing. To keep secret data safe, I put confidential details in a file called safeconfig.php that isn't posted to GitHub. Here's what that file looks like so that you can recreate it:

<?php

define('SITE_DOMAIN', "coebot.tv"); // change to your domain name
define('SITE_ENV', "PROD"); // set to "PROD" or "TEST" depending on if the site is live or not

// mysql details for new site
define('DB_SERV', "<ip/hostname of mysql server>");
define('DB_USER', "<mysql username>");
define('DB_PASS', "<mysql password>");
define('DB_NAME', "<mysql database name>");
define('DB_PREF', "<prefix to prepend to all table names>");

// mysql details for highlights site
define('DB_HIGHLIGHTS_SERV', "<ip/hostname of mysql server>");
define('DB_HIGHLIGHTS_USER', "<mysql username>");
define('DB_HIGHLIGHTS_PASS', "<mysql password>");
define('DB_HIGHLIGHTS_DATA', "<mysql database name>");

// twitch api keys
define('TWITCH_CLIENT_SECRET', "<twitch api client secret>");
define('TWITCH_CLIENT_ID', "<twitch api client id>");
define('TWITCH_REDIRECT_URI', "http://coebot.tv/twitchconnect.php"); // change "coebot.tv" to your domain name
define('TWITCH_REQUIRED_SCOPES', "user_read"); // shouldn't need to change this

// twitch usernames (all lowercase) of anyone who should have admin powers on the website
$GLOBAL_ADMINS = array('itsoxguy3', 'endsgamer');

?>

The site is in pretty rapid development right now and this version of the file is going to become outdated (in fact, it already is); please contact me if you need help with this.

The other issue you will find is that the .htaccess currently has rules set up to forward all non-www/non-https requests to "https://www.coebot.tv/". You'll need to modify or remove these rules to run the site on your own host. There are a number of reasons why I recommend enforcing the "www." prefix, but the site should work just fine without it.

Private API

This site uses a private API to communicate with CoeBot. This API is still in planning and is rapidly evolving (do not assume currently existing endpoints will exist indefinitely), but the specification so far is available here. The source code of api.php is considered more canonical than this document for the time being however.

License

CoeBot.tv: A website for CoeBot, the Twitch chat moderation bot

Copyright (C) 2014-2017 Hayden Schiff*

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The full text of the license can be found in the file LICENSE, or at http://www.gnu.org/licenses/gpl-2.0.html.

*The original code for the "highlight that" functionality is Copyright (C) 2014 Stijn Van Baekel (stinusmeret)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].