banner
libxcnya.so

libxcnya.so

Nothing...
telegram
twitter
github
email

Super detailed PagerMaid-Pyro setup tutorial!

Introduction#

Important

Warning: Due to the special nature of userbot, this site (including the original developer) cannot guarantee that your Telegram account will not be abused by the official authorities. Please think twice before proceeding.
If you insist on playing and do not want to be banned or restricted, please make sure you meet any of the following conditions:

1. Your account was registered before the year you built it.
2. You have (had) Telegram Prime membership.
3. You are an esteemed +888 user.
4. You have purchased a username on Fragment.

Preparation#

1) A good internet environment.
2) A server with a good internet environment (Ubuntu system recommended).
3) A brain.
4) A pair of hands.

About server selection#

If you want to experience a smoother PagerMaid, you need to first choose a server that is relatively close to your account's data center.
Telegram's DC1 and DC3 are located in Miami, USA, DC2 and DC4 are located in the Netherlands, and DC5 is located in Singapore.
Please use this information to determine which country's server you need to purchase.
To find out which data center your account belongs to, please set a profile picture and ask @nmnmfunbot to send /dc.

Tutorial#

API Application#

Note

If you already have an API ID and API Hash, please skip this step.

First, open the Telegram official website.
Enter the phone number associated with your Telegram account (in international format, such as +8618911451919).

1

Then enter the verification code you received to log in.

2

Next, click on API development tools.

3

You will then be taken to this page, where you can fill in the required information as you wish.

4

After that, you will get a string of text.

5

Make sure to save it somewhere, as you will need it later.

Note

If you encounter an ERROR when clicking "Create application", it may be due to bad luck. It is recommended to try changing nodes or devices. If that doesn't work, you can try begging someone for help. (When I wrote this tutorial in August 2022, you could easily obtain an API, but now I can't even get one with two different accounts, lol.)

Server Setup#

First, we need to check the current Python version on the server. Enter python3 -V.

6

If it is greater than 3.9, you can proceed to the next step. If it is less than 3.9, please enter the following command:

sudo apt update && sudo apt upgrade -y

Then enter:

sudo add-apt-repository ppa:deadsnakes/ppa

Press Enter to confirm, and after it finishes updating, enter:

apt install python3.11

This will give you Python 3.11.
In the following tutorial, please replace the python3 command with python3.11, including the running command in the process daemon at the end.

Install basic dependencies#

apt update && apt upgrade -y
apt install python3-pip python3-venv imagemagick libwebp-dev neofetch libzbar-dev libxml2-dev libxslt-dev tesseract-ocr tesseract-ocr-all git -y

Clone the repository#

git clone https://github.com/TeamPGM/PagerMaid-Pyro.git
cd PagerMaid-Pyro

Install PIP dependencies#

python3 -m pip install -r requirements.txt

Modify the configuration file#

mv config.gen.yml config.yml
vim config.yml

Here, you need to make two changes. Replace ID_HERE and HASH_HERE with the API ID and API Hash you obtained.

7

You can choose to enable or disable the options below as desired.
Then press ESC, enter :wq, and press Enter to save and exit.

Start PagerMaid#

python3 -m pagermaid

8

Follow the prompts to log in.

9

That's basically it.

Go to Telegram and try sending ,help in any chat window.

10

To check the running status, use ,status.

11

Systemctl Process Daemon#

After setting up, we need to make it run persistently. In the terminal, enter:

cat <<'TEXT' > /etc/systemd/system/pagermaid.service
[Unit]
Description=PagerMaid-Pyro telegram utility daemon
After=network.target

[Install]
WantedBy=multi-user.target

[Service]
Type=simple
WorkingDirectory=/root/Pagermaid-Pyro
ExecStart=python3 -m pagermaid
Restart=always
TEXT

Some commands:
systemctl enable pagermaid // Enable auto-start on boot
systemctl disable pagermaid // Disable auto-start on boot
systemctl start pagermaid // Start
systemctl stop pagermaid // Stop

This article is synchronized and updated to xLog by Mix Space.
The original link is https://blog.nekorua.com/posts/build/38.html


Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.