Fast LSM-based (RocksDB) remote storage for pyrogram sessions
Go to file
2024-10-06 14:28:04 +02:00
pyrogram_rockserver_storage Update thrift 2024-10-06 14:28:04 +02:00
.gitignore initial commit 2024-03-29 22:56:31 +01:00
main.py Add username and phone cache 2024-03-30 22:12:23 +01:00
migrate.py Add migrate.py 2024-07-29 22:55:55 +02:00
README.md initial commit 2024-03-29 22:56:31 +01:00
requirements.txt Update thrift 2024-10-06 14:28:04 +02:00
setup.py Include thrift in package 2024-03-30 15:15:29 +01:00

Pyrogram RockServer storage

Usage


from pyrogram import Client
from pyrogram_rockserver_storage import RockServerStorage

session = RockServerStorage(hostname=..., port=..., session_unique_name=..., save_user_peers=...)
pyrogram = Client(session)
await pyrogram.connect()