Skip to content

one-click installation for Xray Reality

Notifications You must be signed in to change notification settings

vahidx4r4x/xray-reality

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xray-reality

This is a Bash script that installs Xray Beta and downloads the configuration for the repository created by Teegrce for Iran inside this repository with your own key and places it only with one command :) This Script is forked from @sajjadgd with some improvements such as "AdGuard DNS" for Ad Blocking and "XTLS-RPRX-VISION" Flow for added security.

Installation Guide

just need you to run this command

 bash -c "$(curl -L https://raw.githubusercontent.com/vahidx4r4x/xray-reality/master/install.sh)"

and it will do the rest for you.

Uninstallation guide

 bash -c "$(curl -L https://raw.githubusercontent.com/vahidx4r4x/xray-reality/master/uninstall.sh)"

Installation Guide with Docker

  1. install docker
curl -fsSL https://get.docker.com | sh
  1. clone this project
git clone https://github.com/vahidx4r4x/xray-reality && cd xray-reality
  1. build docker image
docker build -t xrayreality .
  1. run
 docker run -d --name xrayreality -p443:443 xrayreality
  1. get connection config :

get url

docker exec -it xrayreality cat /root/test.url

view qrcode

docker exec -it xrayreality sh -c 'qrencode -s 120 -t ANSIUTF8 $(cat /root/test.url)'

how to manage ?

status :

docker ps -a | grep xrayreality

stop :

docker stop xrayreality

start :

docker stop xrayreality

remove :

docker rm -f xrayreality

Note

  1. This script is tested on Ubuntu 20.04 LTS
  2. I used ChatGPT to translate my words. Please pardon any mistakes in the translation.

ToDo

  • Add menu
  • test it on other OS and modify the script for them

About

one-click installation for Xray Reality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 76.2%
  • Dockerfile 23.8%