8000 GitHub - idlanyor/kanata-reborn
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

idlanyor/kanata-reborn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŸ Kanata V3 - WhatsApp Bot

Powerful, Modular, Intelligent

GitHub repo size GitHub stars GitHub license Node.js Version Baileys

GitAds Sponsored Sponsored by GitAds

๐ŸŒˆ Fitur Unggulan

๐Ÿ”Œ Modular ๐Ÿค– AI-Powered ๐Ÿ–ผ๏ธ Media Tools ๐ŸŽฎ Fun & Games
Plugin Architecture Multi-Model AI Image Processing Interactive Games
Easy Integration Smart Responses PDF Conversion Group Management
Custom Commands Context Aware Media Generation Analytics & Logs

๐Ÿ“‹ `

Kebutuhan Versi
Node.js v14 atau lebih tinggi
NPM/Yarn Versi terbaru
WhatsApp Akun aktif
API Keys Lihat konfigurasi

๐Ÿ‘Œ How to install

  1. Clone the repository
git clone https://github.com/idlanyor/kanata-v2.git
cd kanata-v2
  1. Install dependencies
npm install
# or using yarn
yarn install
  1. Configure the bot

    • Rename global.example.js to global.js
    • Fill in your API keys and configuration
  2. Start the bot

npm start
# or using yarn
yarn start

โš™๏ธ Configuration

Copy globalThis.example.js to globalThis.js and configure your settings:

// Basic configuration
globalThis.owner = "YOUR_NAME";
globalThis.ownerNumber = ["YOUR_NUMBER","SECOND_NUMBER"]
globalThis.botNumber = ""
globalThis.botName = "Kanata"
globalThis.sessionName = 'kanata-bot'
globalThis.groupJid = '0@g.us'
globalThis.communityId = '0@g.us'
globalThis.newsLetterJid = '0@newsletter'
globalThis.newsLetterUrl = 'https://whatsapp.com/channel/0029VagADOLLSmbaxFNswH1m'
globalThis.kanataThumb = 'https://files.catbox.moe/2wynab.jpg'


// Basic functions
globalThis.isOwner = (notel) => {
    return globalThis.ownerNumber.includes(notel)
}

globalThis.isBot = async (notel) => {
    return notel === botNumber
}

globalThis.isGroup = async (jid) => {
    return jid.endsWith('@g.us')
}

// API keys
globalThis.apiKey = {
    gemini: '',
    removeBG: '',
    llama: '',
    groq: '',
    pdf: {
        secret: '',
        public: ''
    }
}
globalThis.hikaru = 'https://api.fasturl.link/'

// Paired API keys with baseurl
globalThis.apiHelper = {
    medanpedia: {
        baseurl: 'https://api.medanpedia.co.id/',
        apiId: '',
        apiKey: ''
    },
    lolhuman: {

        apikey: '',

        baseUrl: 'https://api.lolhuman.xyz/api/'

    },
    neoxr: {

        apikey: '',

        baseUrl: 'https://api.neoxr.eu/api/'

    },
    ryzen: {

        apikey: '',

        baseUrl: 'https://api.ryzendesu.vip/api/'

    },
    fastapi: {

        apikey: '',

        baseUrl: 'https://api.fasturl.link/'

    },

    betabotz: {

        apikey: '',

        baseUrl: 'https://api.betabotz.eu.org/api/'

    },

    skizotech: {

        apikey: '',

        baseUrl: 'https://skizoasia.xyz/api/'

    },
    nyxs: {
        apikey: '',
        baseUrl: 'https://api.nyxs.pw/'
    }

}

๐Ÿ”Œ API Integration

Kanata integrates with multiple powerful APIs to provide enhanced functionality:

AI Services

  • ๐Ÿง  Google Generative AI - Advanced language processing
  • โšก Groq - Fast AI inference
  • ๐Ÿค– Llama - Open-source AI model
  • ๐Ÿš€ Hikaru AI LLM

Image & Media

  • ๐Ÿ–ผ๏ธ RemoveBG - Background removal
  • ๐Ÿ“‘ ILovePDF - PDF manipulation
  • ๐ŸŽจ Hikaru - AI Media conversion

Additional Services

  • ๐Ÿš€ Hikaru FastURL
  • โšก Ryzen Api
  • ๐Ÿ› ๏ธ BetaBotz
  • ๐Ÿ”ง SkizoTech

๐Ÿ‘ฅ Contributors

Roynaldi
Roynaldi
Puan Mahalini
Puan Mahalini

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with โค๏ธ by Roy
0