Create Discord server widgets for websites of all sizes! A simple to setup process for end-users. Server members may view or send messages into an embedded Discord channel.
Go to file
2017-05-01 18:23:18 -07:00
titanembeds Remove trailing spaces from iframe embed code 2017-04-30 03:52:06 +00:00
tmp Implement global caching for all workers 2017-04-21 21:18:14 -07:00
.gitignore Implement global caching for all workers 2017-04-21 21:18:14 -07:00
config.example.py Removed unused config 2017-04-07 17:04:42 -07:00
README.md Update readme to include Python version and websockets requirement. 2017-05-01 18:23:18 -07:00
requirements.txt Moved everything to database 2017-04-24 19:57:00 -07:00
run_c9.py Add Cloud9 development running support 2017-03-31 07:34:06 +00:00
run.py Set development process to threaded 2017-04-21 22:53:45 -07:00

Titan

There was a time when Discord doesn't support embedding the chat on a webpage. But with Titan, you can! It is as simple as 1, 2, 3!

  1. Invite the bot to your server (You must have "Manage Server" permissions)
  2. Configure the embed to your liking (toggling guest users, etc)
  3. Copy the iframe code and paste the line in your webpage!

Features

  • Guest users (a quick way to invite users who do not have a Discord account)
  • Moderation Features (Kick & ban users by IP addresses, toggling guest users)
  • Discord OAuth support. (Allows those who have a discord account to access the embed)
  • Responsive material design! (Thanks materializecss!!)
  • All features are done via REST apis (respects discord's rate limiting). Although do not provide consistant connection to Discord, they are easier to maintain and does not often "disconnects" from Discord servers.

Installation

Would you like to run your own copy of Titan Embeds?

  1. Clone the repo (make sure you have python 2.7 installed on your system)
  2. Install the pip requirements pip install -r requirements.txt
  3. Clone config.example.py and rename it to config.py. Edit the file to your standards
  4. Make sure that the bot is online in the websockets once. This is required because the bot cannot send messages until it has used the ws. Use something like discord.py to log the bot into discord websockets. You can close it afterwards. So basically if the bot acciunt is online ONCE in it's lifespan- you're good.
  5. Run the development web via python run.py -- Though we suggest to use a better server software (look into gunicorn, nginx, uwsgi, etc)

Join us!

Come and talk with us at our very own discord server! We offer support too!

Disclaimer

This project is never to be used as a replacement for Discord app. It is used in conjunction for a quick and dirty Discord embed for websites. Some uses are via shoutboxes, etc.