Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SlavikMIPT/tgcloud
Opensource Telegram based cloud storage
https://github.com/SlavikMIPT/tgcloud
cloud-storage docker filebrowser fuse-filesystem python redis telegram-api vfs
Last synced: 3 months ago
JSON representation
Opensource Telegram based cloud storage
- Host: GitHub
- URL: https://github.com/SlavikMIPT/tgcloud
- Owner: SlavikMIPT
- License: apache-2.0
- Created: 2018-07-04T04:23:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T20:54:19.000Z (over 4 years ago)
- Last Synced: 2023-11-07T14:13:39.315Z (about 1 year ago)
- Topics: cloud-storage, docker, filebrowser, fuse-filesystem, python, redis, telegram-api, vfs
- Language: Python
- Homepage: https://dev.tgcloud.xyz
- Size: 1.94 MB
- Stars: 519
- Watchers: 40
- Forks: 83
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# tgcloud
## UNDER DEVELOPMENT v1.1
![](img/demo.gif)
- `secret.py` : rename `secret.py.template`, insert `api_hash` and `api_id` obtained with https://my.telegram.org- Install Python2.7 and Python3.6
- Clone the repository
```
cd ~
git clone https://github.com/SlavikMIPT/tgcloud.git
```
- Install requirements for Python3.6`sudo pip3 install -r requirements.txt`
- Create a session by running **from the project folder**`python3.6 telegram_create_session.py`
- Install fuse bindings
`sudo yum install python-fuse`
- Create Mount Folder
`mkdir storage`
- Run VFS **from the project folder**:
#### debug:
`python2.7 dedupfs/dedupfs.py -df --block-size 20971520 -o auto_unmount -o hard_remove storage/`
#### as a service:
replace `` in `tgcloud.service`
```
sudo cp tgcloud.service /ect/systemd/system/
sudo systemctl enable tgcloud.service
sudo systemctl daemon-reload
sudo systemctl start tgcloud.service
sudo systemctl status tgcloud.service -l
```Version 1.1
It works more vigorously, but still a raw prototype - just POC
Can crash, it is unstable and slow in some cases .
For tests, it is better to use a separate telegram profile.
If banned - mail `[email protected]`
You can try to use web based [filebrowser](https://github.com/filebrowser/filebrowser) or SFTP
You are welcome to collaborate - contact
Telegram: [@SlavikMIPT](t.me/SlavikMIPT)
Channel: [@MediaTube_stream](t.me/MediaTube_stream)