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
57
README.md
57
README.md
|
@ -1,37 +1,30 @@
|
|||
# tgcloud
|
||||
## UNDER DEVELOPMENT
|
||||
## Opensourсe Virtual Filesystem for Telegram
|
||||
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...
|
||||
- Opensource
|
||||
### Project structure:
|
||||
**tgcloud:** linux based docker container
|
||||
* **redis** - updates, rpc, communication
|
||||
* **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
|
||||
* docker
|
||||
* **file_telegram_rxtx** - telegram read/write driver
|
||||
* [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
|
||||
* **polling daemon**
|
||||
* [telethon(asyncio)](https://github.com/SlavikMIPT/Telethon) - updates from telegram, synchronization, hashtags
|
||||
* rq communication interface
|
||||
* docker
|
||||
* **client**
|
||||
* telegram authorization interface
|
||||
* [filebrowser](https://github.com/SlavikMIPT/filebrowser) - opensource golang filebrowser
|
||||
* windows service
|
||||
* telegram desktop client with filebrowser
|
||||
* settings, statistics, monitoring...
|
||||
* rq communication interface
|
||||
* docker
|
||||

|
||||
- Необходимо получить api_hash и api_id на my.telegram.org и вставить эти данные вместе с номером телефона вашего аккаунта в tg_access.py
|
||||
|
||||
- Создать сессию запустив из папки с проектом и введя код подтверждения
|
||||
|
||||
```python3.6 download_service.py```
|
||||
|
||||
- Установить fuse bindings
|
||||
|
||||
```sudo yum install python-fuse```
|
||||
|
||||
- Создать папку для монтирования
|
||||
|
||||
```mkdir storage```
|
||||
|
||||
- Запустить VFS:
|
||||
|
||||
с отладкой
|
||||
|
||||
```python dedupfs/dedupfs.py -df --block-size 10240000 storage/```
|
||||
|
||||
в фоне
|
||||
|
||||
```python dedupfs/dedupfs.py --block-size 10240000 storage/```
|
||||
|
||||
- Можно, например указать эту папку как источник для [filebrowser](https://github.com/filebrowser/filebrowser)
|
||||
|
||||
You are welcome to collaborate - contact
|
||||
Telegram: [@SlavikMIPT](t.me/SlavikMIPT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue