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 Loading

    1. Moon-Userbot Moon-Userbot Public

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

      Python 17 30

    2. custom_modules custom_modules Public

      Custom modules repository for Moon-Userbot

      Python 2 4

    Repositories

    Showing 9 of 9 repositories
    • Moon-Userbot Public

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

      The-MoonTg-project/Moon-Userbot’s past year of commit activity
      Python 17 GPL-3.0 30 0 0 Updated Aug 17, 2024
    • moonub-cloud Public Forked from The-MoonTg-project/Moon-Userbot

      cloud & docker host support for Moon-Userbot

      The-MoonTg-project/moonub-cloud’s past year of commit activity
      Python 0 GPL-3.0 31 0 0 Updated Aug 17, 2024
    • custom_modules Public

      Custom modules repository for Moon-Userbot

      The-MoonTg-project/custom_modules’s past year of commit activity
      Python 2 4 0 1 Updated Aug 16, 2024
    • musicbot Public Forked from EnhancedProtection/YMusic-Userbot

      A simple userbot music player and constroller for tg! [Customised for moonuserbot]

      The-MoonTg-project/musicbot’s past year of commit activity
      Python 1 MIT 8 0 0 Updated Aug 9, 2024
    • heroku-buildpack-yt-dlp Public Forked from getlantern/heroku-buildpack-yt-dlp

      heroku buildpack for yt-dlp

      The-MoonTg-project/heroku-buildpack-yt-dlp’s past year of commit activity
      Shell 0 24 0 0 Updated Aug 7, 2024
    • .github Public
      The-MoonTg-project/.github’s past year of commit activity
      0 0 0 1 Updated Jan 8, 2024
    • files Public

      it's all trash here

      The-MoonTg-project/files’s past year of commit activity
      0 0 0 0 Updated Jan 7, 2024
    • MoonUb Public

      A code repository designed to show the best GitHub has to offer.

      The-MoonTg-project/MoonUb’s past year of commit activity
      HTML 0 0 0 0 Updated Dec 15, 2023
    • AmongUs Public Forked from KeyZenD/AmongUs
      The-MoonTg-project/AmongUs’s past year of commit activity
      Python 0 7 0 1 Updated Oct 30, 2023

    Top languages

    Loading…

    Most used topics

    Loading…