mirror of
https://github.com/SlavikMIPT/tgcloud.git
synced 2025-03-09 15:40:14 +00:00
Update README.md
This commit is contained in:
parent
29131a87f3
commit
332bd68b88
1 changed files with 26 additions and 33 deletions
59
README.md
59
README.md
|
@ -1,38 +1,31 @@
|
||||||
# tgcloud
|
# tgcloud
|
||||||
## UNDER DEVELOPMENT
|
## UNDER DEVELOPMENT
|
||||||
## Opensourсe Virtual Filesystem for Telegram
|
- Необходимо получить api_hash и api_id на my.telegram.org и вставить эти данные вместе с номером телефона вашего аккаунта в tg_access.py
|
||||||
Synchronizes and structures files downloaded to Telegram.
|
|
||||||
- Stores only metadata, accessing raw data only when loading files.
|
- Создать сессию запустив из папки с проектом и введя код подтверждения
|
||||||
- Loading speed is up to 240Mbit/s per session
|
|
||||||
- Multiplatform: provides standard volumes which can be mounted on linux/win/mac...
|
```python3.6 download_service.py```
|
||||||
- Opensource
|
|
||||||
### Project structure:
|
- Установить fuse bindings
|
||||||
**tgcloud:** linux based docker container
|
|
||||||
* **redis** - updates, rpc, communication
|
```sudo yum install python-fuse```
|
||||||
* **tfs:** FUSE based VFS module
|
|
||||||
* [python-fuse](https://github.com/SlavikMIPT/tfs) - interface to linux kernel FS
|
- Создать папку для монтирования
|
||||||
* redis storage - FS struct, meta, telegram file_id,settings
|
|
||||||
* rq communication interface
|
```mkdir storage```
|
||||||
* docker
|
|
||||||
* **file_telegram_rxtx** - telegram read/write driver
|
- Запустить VFS:
|
||||||
* [telethon(sync)](https://github.com/SlavikMIPT/Telethon) by [@Lonami](https://github.com/Lonami) - telegram access, multithreaded downloading/uploading
|
|
||||||
* improved and tested by [@SlavikMIPT](https://github.com/SlavikMIPT) - load speed 240Mb/s
|
с отладкой
|
||||||
* rq communication interface
|
|
||||||
* docker
|
```python dedupfs/dedupfs.py -df --block-size 10240000 storage/```
|
||||||
* **polling daemon**
|
|
||||||
* [telethon(asyncio)](https://github.com/SlavikMIPT/Telethon) - updates from telegram, synchronization, hashtags
|
в фоне
|
||||||
* rq communication interface
|
|
||||||
* docker
|
```python dedupfs/dedupfs.py --block-size 10240000 storage/```
|
||||||
* **client**
|
|
||||||
* telegram authorization interface
|
- Можно, например указать эту папку как источник для [filebrowser](https://github.com/filebrowser/filebrowser)
|
||||||
* [filebrowser](https://github.com/SlavikMIPT/filebrowser) - opensource golang filebrowser
|
|
||||||
* windows service
|
|
||||||
* telegram desktop client with filebrowser
|
|
||||||
* settings, statistics, monitoring...
|
|
||||||
* rq communication interface
|
|
||||||
* docker
|
|
||||||

|
|
||||||
|
|
||||||
You are welcome to collaborate - contact
|
You are welcome to collaborate - contact
|
||||||
Telegram: [@SlavikMIPT](t.me/SlavikMIPT)
|
Telegram: [@SlavikMIPT](t.me/SlavikMIPT)
|
||||||
Channel: [@MediaTube_stream](t.me/MediaTube_stream)
|
Channel: [@MediaTube_stream](t.me/MediaTube_stream)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue