-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Add "gito" project to "code analysis" section #2746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Gito is AI code reviewer that works with any language model, locally or in GitHub Actions
Hello, @vinta
Please review
Thanks 🙏
@ajayiferanmi656-cyber
ajayiferanmi656-cyber
Aug 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mkdir whatsapp-bot
cd whatsapp-bot
npm init -y
npm install @whiskeysockets/baileys
const { makeWASocket, useMultiFileAuthState } = require("@whiskeysockets/baileys")
async function startBot() {
const { state, saveCreds } = await useMultiFileAuthState("auth")
const sock = makeWASocket({ auth: state })
sock.ev.on("creds.update", saveCreds)
sock.ev.on("connection.update", ({ connection }) => {
if (connection === "open") {
console.log("✅ Bot connected to WhatsApp!")
}
})
sock.ev.on("messages.upsert", async ({ messages }) => {
const msg = messages[0]
if (!msg.message) return
const text = msg.message.conversation || msg.message.extendedTextMessage?.text
// Command: !tagall
if (text === "!tagall") {
const groupMetadata = await sock.groupMetadata(msg.key.remoteJid)
const participants = groupMetadata.participants
let mentions = participants.map(p => p.id)
let message = "📢 Group Tag:\n"
participants.forEach(p => {
message += `@${p.id.split("@")[0]} `
})
await sock.sendMessage(msg.key.remoteJid, { text: message, mentions })
}
})
}
startBot()
node index.js
@vinta Can it be merged pls?
Thanks
What is this Python project?
Gito is an AI code reviewer that works with any language model. Run it locally or integrate it via GitHub Actions.
What's the difference between this Python project and similar ones?