Explore your discord images, categorized in an easy to use interface
- 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
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.
for the bot:
DISCORD_BOT_TOKEN
: the gateway token for the botFIREBASE_API_TOKEN
: the api token for google firebaseCLARIFAI_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.