automatically update a repo from a telegram channel, powered by starfiles
it goes without saying windows is not supported. use wsl.
- install pyenv, configure your shell, install build dependencies, and tmux
pyenv install 3.12
pyenv global 3.12
- install docker/(podman + podman-compose)
pip install -U orjson uvloop "aiohttp[speedups]" aiofiles
pip install https://github.com/KurimuzonAkuma/pyrogram/archive/v2.1.21.zip --force-reinstall
- populate
env.sample.py
and move it toenv.py
docker-compose up -d
orpodman-compose up -d
, adjustingdocker-compose.yml
as necessary- uh point your reverse proxy to the port from
docker-compose.yml
tmux new-session -t autorepo
python autorepo.py
- press ctrl-b, then d
don't know how to do any of this stuff? too bad! i'm expecting only people who actually know what they're doing to host stuff like this.
ps: if you're using a vps, i heavily recommend using rootless podman over docker, as it wont fuck up your firewall configuration. just adjust your minimum port number to 80 in sysctl, and enable linger (hopefully this saves you hours of time, i know i personally wasted a lot of time on it)