Skip to content
@The-MoonTg-project

The MoonTg project

Working towards simplicity of telegram users :)

🌕 Moon-Userbot

Moon-Userbot

Open Source Love Maintenance CodeQuality GitHub Forks GitHub Stars Last commit Size Contributors License PRs Welcome

A Simple, Fast, Customizable, Ai powered Userbot for Telegram made after Dragon-Userbot abandoned.

🤖 Ai powers:

  • Gemini Pro Ai [ ✅ ]
    • Ask/Chat with Ai
    • Get details from image
    • Cooking instructions
    • Ai Marketer
  • SDXL [ ✅ ]
  • Upscaling [✅]
  • Text to Image [✅]

🚀 Installation

🏕️ Necessary Vars

  • API_ID - Get it from my.telegram.org

  • API_HASH - Get it from my.telegram.org

  • PM_LIMIT - set your pm permit warn limit

  • DATABASE_URL - ONLY for MongoDB, your mongodb url

  • DATABASE_NAME - set to db.sqlite3 if want to use sqlite3 db else leave blank

  • DATABASE_TYPE - set to sqlite3 if want to use sqlite3 db else leave blank

⛺ Optional Vars

  • STRINGSESSION

    • only If you want to use on cloud hosts use string_gen.py to generate OR Run on Repl.it
    • Necessary for deployment through Docker/Koyeb
  • APIFLASH_KEY - ONLY, If you want to use web screnshot plugin You can get it from here

  • RMBG_KEY - ONLY, If you want to use removbg plugin You can get it from here

  • VT_KEY - ONLY, If you want to use VirusTotal plugin You can get it from here

  • GEMINI_KEY - ONLY, If you want to use gemini ai plugin You can get it from here

  • VCA_API_KEY - ONLY, If you want to use ai tools like sdxl,upscale plugin You can get it from here

☁️ Cloud Host

YT Video [How to deploy]: https://youtu.be/2m_yB7EllYc

🐳 Docker

docker run --env API_ID=your_api_id --env API_HASH=your_api_hash --env DATABASE_TYPE=db_type --env STRINGSESSION=your_string_session --env PM_LIMIT=pm_permit_warn_limit --env DATABASE_NAME=db_name --env DATABASE_URL=mongo_db_url --env APIFLASH_KEY=api_flash_key --env RMBG_KEY=rmbg_key --env VT_KEY=vt_key --env GEMINI_KEY=gemini_key --env VCA_API_KEY=vc_key -d qbtaumai/moonuserbot:latest

NOTE: Make Sure you add appropriate env vars

🖥️ Local Host

Linux, Windows [only wsl]

Update the packages

 sudo apt update && sudo apt upgrade -y

Install Git[If installed ignore]

 sudo apt install git

Clone the repo

 git clone https://github.com/The-MoonTg-project/Moon-Userbot.git

Setup

 cd Moon-Userbot/ && sudo bash install.sh

📱 Termux (use GitHUb version)

Full Installation instruction Given here

NOTE: If you choose MongoDB for your cloud then you need to setup mongo_db_url

Recommended: sqlite

🐩 Contributions

Contributions of any type are welcome like custom_modules etc. Feel free to do pull-request's with your changes

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

👨🏻‍💻 Support

  • Channel with latest news on the official telegram [en]
  • Modules Channel with custom modules [en]
  • Discussion in the official telegram chat [en]
  • 👨🏻‍💼 Credits

  • Dragon-Userbot
  • AbhiTheModder
  •                     GNU GENERAL PUBLIC LICENSE 
                            Version 3, 29 June 2007 
      
      Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> 
      Everyone is permitted to copy and distribute verbatim copies 
      of this license document, but changing it is not allowed. 
      
                                 Preamble 
      
       The GNU General Public License is a free, copyleft license for 
     software and other kinds of works.
    

    Pinned

    1. Moon-Userbot Moon-Userbot Public

      A Simple, Fast, Customizable, Ai powered Userbot for Telegram with most easiest installation. Built in python usinng pyrofork(pyrogram)

      Python 11 23

    2. custom_modules custom_modules Public

      Custom modules repository for Moon-Userbot

      Python 1 1

    Repositories

    Showing 7 of 7 repositories

    Top languages

    Loading…

    Most used topics

    Loading…