Skip to content

explore your discord images, categorized in an easy to use interface

License

Notifications You must be signed in to change notification settings

lukasbm/discord-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord

Explore your discord images, categorized in an easy to use interface

Features

  • Multitenancy
  • Discord Bot that automatically scans images
  • AI Service that categorizes them
  • Backend that stores the results for each image
  • Web interface to easily find your discord images

Deployment

Bot

The Bot can be deployed in any way you want. The repo currently provides a Dockerfile for a containerized Deployment.

The bot calls the AI classifier for each image attachment of a discord message, then stores the concepts in google firebase upon classification.

Environment variables

for the bot:

  • DISCORD_BOT_TOKEN: the gateway token for the bot
  • FIREBASE_API_TOKEN: the api token for google firebase
  • CLARIFAI_API_KEY: the api key for clarifai
  • ./serviceAccount.json: is the file that countains the private key for the admin sdk, it should be located in the bot directory.

for cloud functions:

  • ./serviceAccount.json: is the file that countains the private key for the admin sdk, it should be located in the root of the repo.
  • DISCORD_CLIENT_ID: discord oauth client id, in ./functions/.env
  • DISCORD_CLIENT_SECRET: discord oauth client secret, in ./functions/.env

Note that the serviceAccount.json file is the same for the functions and the bot. Due to a bug in firebase the file has to there twice.

About

explore your discord images, categorized in an easy to use interface

Topics

Resources

License

Stars

Watchers

Forks