Giter Club home page Giter Club logo

docker-ubuntu-xrdp-mate-custom-vcpb's Introduction

This is a Modified Version of RattyDAVE/docker-ubuntu-xrdp-mate-custom to support deploy of VoiceChatPyroBot to Zeet

Deploying

Sign in with your Github account and fork this repo.

  • Go here Zeet
  • Sign into Zeet with your Github account
  • Now Choose New Project and choose GitHub repo and give access to your fork ,then click on Deploy Now.
  • Now Zeet will automatically starts building from the Dockerfile. Wait for the build to finish.
  • After completing the build you have to configure the Environment Variables.

Configuring

  • You will need to set the following Environment Variables for your VoiceChatPyroBot

API_ID :Get your api id from my.telegram.org

API_HASH :Get your api hash from my.telegram.org

TOKEN :Get your bot token from @BotFather

SUDO_USERS : A list of user ids which can pause, skip and change volume, Enter each id's seperated by a space.

GROUP : The id of the group where your bot plays.

MONGO_DB_URI str: your MongoDB URI (you can get one for free in their official website, sign up, create a cluster and a database named "vcpb")

USERS_MUST_JOIN : If true, only users which are in the group can use the bot.

LANG : your bot language, choose an available language code in VoiceChatPyroBot

DUR_LIMIT: Max video duration in minutes for downloads

⚠️ The Following variables are Compulsory (Others will use default values if not set)

API_ID
API_HASH
TOKEN
SUDO_USERS
GROUP  (If USERS_MUST_JOIN is set to True)
  • If the remaining values are not set then the Default values are:
 MONGO_DB_URI = None
 USERS_MUST_JOIN = False
 LANG = en (english)
 DUR_LIMIT = 10
  • After setting the Evnironment Variables save them and Wait for the Deploy to finish.

  • Once Deploying is finished check if your bot is working. If not make sure that you set the Environment variables Correct.

  • Once all are perfect now its time to setup XRDP to strat RDP connection.

  • Go to Your Zeet dashboard and select the deployed app and start the Zeet Terminal.

  • Start xrdp by running the bash script xrdp-start.sh by running /xrdp-start.sh

  • Once its started succesfully close the terminal and copy the PUBLIC IPS from Zeet Dashboard

  • Open a remote desktop client and login to your user. The default credentials are:-

    username :vcpb  
    password :music
    
  • If you want to edit the username and password , you can do it by editing the values in createusers.txt file. the foremat is username:password:is SUDO or not(Y/N)

    • ℹ️ If you are changing the default user , you may need to change the same in script.sh also .
  • Once after loging in , you can see a file named Telegram in /home/vcpb/Telegram Directory (You may see some error messages, since i debloated many mate utils , ignore(delete) those.)

  • Execute it and login into your telegram account and Join a Voicechat.

    • ℹ️ No need to change the default microphone as MySink is already default Mic.

Credit and Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.