project-canis-tg
v12.1.0
Published
Canis Major and the constellation Canis Minor, the “lesser dog,” are widely regarded as two hunting hounds that follow Orion, the great hunter of ancient Greek legends.
Downloads
124
Readme
Project Canis TG
A version of canis from WhatsApp!
⚠️ Warning: This repository is for educational and entertainment purposes only. Canis is not affiliated with Telegram. Use at your own risk, your Telegram account may be subject to suspension or bans.
⚠️ Warning: Spaghetting code ahead
Supported AI Providers
Canis supports multiple AI providers out of the box:
Prerequisites
- Node.js (>=18.x)
- MySQL
- Redis/Valkey
- Telegram Account
Skip through this long setup and use NPX
If you want to skip the setup and just want to run the bot, you can use NPX to run the bot without cloning the repo or installing dependencies.
npx project-canis-tgOnce you install the bot using NPX, you configure the required environment variables in the .env.example using this command
# Your bot name goes here
export PROJECT_CANIS_ALIAS=Canis
# the Telegram API ID and hash for your bot
export TELEGRAM_API_ID=
# the Telegram API hash for your bot
export TELEGRAM_API_HASH=
# for more configuration, please refer to the .env.example fileAlternatively, you can also run the bot using this short command:
npx canis-tgGetting started
Clone repo
git clone https://github.com/mrepol742/project-canis-tg.git cd project-canis-tgInstall dependencies
npm install or pnpm iSetup environment variables
cp .env.example .env # Configure your AI Provider, models and other necessary preferences.Run Migration
npx prisma migrate devRun
npm run dev
PM2
Build
npm run buildStart
pm2 start ecosystem.config.js
NodeJS
Build
npm run buildStart
npm run start
WhatsApp Version
A WhatsApp version of Project Canis is available at project-canis.
License
Copyright 2025 Melvin Jones Repol
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
