Skip to content

Repository files navigation

DinoDetect Logo

Analyze Discord message history to understand trends and classify conversations with AI.

Best AI Hack JavaScript Node.js Devpost

📹 Watch the Demo

We built DinoDetect to analyze Discord conversations, especially for student org servers, by scraping message history and using AI to classify and summarize trends.

🦖 Overview

DinoDetect is a tool for scraping and processing Discord messages to uncover trends and classify message history in a meaningful way.
It combines JavaScript/Node.js, Discord’s API for message retrieval, and OpenAI’s API for analysis and categorization.

Quick Start

(1) 🧰 Install Dependencies

Make sure you have:

  • Node.js (LTS recommended)
  • A Discord Bot token / API access
  • An OpenAI API key

Install packages:

npm install

(2) 🔑 Configure Environment Variables

Create a .env file in the project root (or set these in your shell):

touch .env

Add your keys (names may vary—adjust to your code):

DISCORD_BOT_TOKEN="your_discord_token"
OPENAI_API_KEY="your_openai_key"
# Optional:
# GUILD_ID="..."
# CHANNEL_ID="..."

(3) ▶️ Run

Start the app using whatever script your repo defines in package.json:

npm run start

If your project doesn’t define a start script yet, run the main entry file directly (adjust path/name):

node index.js

🧩 Tech Stack

Component Technology
🧠 Core Logic JavaScript
🧰 Runtime Node.js
💬 Data Source Discord API
🤖 AI Analysis OpenAI API
🔁 Communication fetch (request–response)

🏆 Accomplishments

  • Building an end-to-end pipeline from scraping → processing → analysis
  • Seeing trends emerge from real message data
  • Applying “signals” thinking in a new domain (chat analytics)
  • Making a fun demo video

🛣️ What’s next

  • Add a proper database layer (initial work started, time constrained)
  • Expand AI analysis beyond trends (e.g., toxicity and other safety signals)
  • Embed analysis visuals back into Discord (bots/embeds), and improve UX

👥 Authors

About

DinoDetect is a tool for analyzing Discord messages to understand trends and classify data by scraping and processing message throughJavaScript, OpenAI's API, and Discord's API.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages