Skip to content

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.

License

Notifications You must be signed in to change notification settings

TitanEmbeds/Titan

Repository files navigation

Titan

Visit our website!https://titanembeds /And get startedright away!

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!!)

Installation

Would you like to run your own copy of Titan Embeds? There are two parts that integrate nicely together. The webapp (website) handles the frontend and communication with the database to retrieve server messages, etc. The discordbot (bot) handles the communcation between Discord's websockets and pushing out the data to the database for the webapp. Check out the respective folder for their installation instructions. Titan is written in Python and requiresPython 3.6.8at minimum to run.

Once you cloned the project, install the Python depends withpip install -r requirements.txt.Ensure that you are utilizing Python 3.6's pip.

If you happen to have a copy of Ubuntu on your server, you may head onto ourAnsible Playbooksrepository and perform anear-to-automaticinstallation of TitanEmbeds.

Storage installation

Database

To set up the database for it to work with the webapp and the discordbot, one must usealembictomigratetheir databases to the current database state. To do so, please follow these instructions. PostgreSQL supports proper inde xing and suitable for Titan needs. For this reason, Titan only supports using a PostgreSQL database.

  1. Install alembic withPython 3.6's pippip install alembic
  2. Change your directory to the webapp where the alembic files are locatedcd webapp
  3. Clonealembic.example.iniinto your ownalembic.inifile to find and edit the following linesqlalchemy.urlto equal your database uri.See hereif you need help understanding how database uri works in SQLalchemy.
  4. In your terminal, runalembic upgrade headto upgrade your database tables to the current version on git. As long as there are onlyINFOmessages and no errors, you should be fine.
  5. Check your database tables to see if they are created. If so, you have finished migrating your database!Remember to runStep 4every now and then just in case if there are database updates.(Presumably on everygit pull).

Redis

Titan also requires a Redis instance in order to function. There is no specific prerequisites before utilizing Titan with redis. Follow the official Redisinstallation instructionsto install and start redis.

Join us!

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

Translate for us!

Visit us over at ourCrowdIn projectand teach Titan how to speak your language!

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.

Badges

Upvote us on DiscordBots.org

DiscordBots.org

We proudly test our embeds to ensure a cross browser compatibility

BrowserStack

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published