1 correction, when I mention at 10:37 that Telegram is doing some encryption stuff and maybe that's why it's slow, this is incorrect. Though Telegram DOES support encryption, this was not an encrypted chat, so that wouldn't make things slow. Another clarification, I knew what RAR was before my last video, just not that it could break files into chunks and password protect them. I guess I phrased this badly :)
@oxidant59 ай бұрын
The thing you mentioned is actually about end-to-end encryption (E2EE). Every chat is encrypted by default. The difference is whenever this encryption is E2E (telegram secret chats) or client-server (default).
@DarkxPunk8 ай бұрын
And to add, the data is not only encrypted to the server, it’s is obfuscated by breaking it into pieces and storing it on multiple servers so if only one server is access the data is junk.
@DeadCrusader7 ай бұрын
Telegram Premium will increase the download speeds, and instead of telethon checkout pyrogram.
@АнтонВеточкин-с2ы3 ай бұрын
7z archives also support volumes and are usually smaller than other formats
@rayanfernandes263111 ай бұрын
2 years ago I wanted build the exact same fuse mount thingy with telegram, but gave up since it was very very very much ambitious for my knowledge in systems file i/o operations. Really informative content, Keep em coming. Enjoyed every bit! ❤
@Yuki_blurrr11 ай бұрын
I was kinda surprise when I found your channel. You’re underrated for the type of content you’re making
@Spiderfffun11 ай бұрын
ty you reminded me to subscribe to this amazing creator
@nRGM7-or9se6 ай бұрын
He better be underated or every money(storage) glitch is gonna be patched 😂
@sipsip23677 ай бұрын
As much as i enjoyed this video, i dont think we should abuse telegram for cloud storage otherwise we will lose features of 2 gb free storage per file in the future.
@demitriholdermynewchannel1697Ай бұрын
Then We Use The Power Of base64 And Other Things, That's How Me And ChatGPT Are Exploiting KZbin Video Names And Comments For File Storage
@prawnproductions23411 ай бұрын
The algorithm has brought me back. Thank you.
@suvantmsuvantheminecraftia740711 ай бұрын
I JUST saw your part 1 video of stealing storage from discord and your part 2 is up by the time I finished the video(uploaded an hour ago)!
@shayhan622711 ай бұрын
This guy is the reason free services eventually start to cost money.
@R_Samnan8 ай бұрын
Yea specially if its out in the public then alot of people will do the same, just because something is free doesnt mean it has no expenses behind it
@martindespagna4 ай бұрын
@@R_Samnandont care + not my problem
@thought_torrent4 ай бұрын
😂😂😂😂
@shApYT4 ай бұрын
Not really. Look at backblaze. They release this kind of data it is mostly a couple of guys. A firmly worded email will probably scare em off. @@R_Samnan
@NotTryingg4 ай бұрын
a lot of people do this already
@UtkarshKoppikar11 ай бұрын
Can you open source this? Would like to contribute. Or you have already and I haven't reached that point in the video
@devdetour11 ай бұрын
Yeah! GitHub repo link is in the description. Contributions very much welcome!
@sketchychillandchill11 ай бұрын
@@devdetourand the discord fs?
@-john-943811 ай бұрын
Me not knowing how Github works (Im not a programmer)
@guinea_horn11 ай бұрын
@@-john-9438then why comment
@xynocode11 ай бұрын
this project may help me archiving my interpolated video project when I don't have any available HDD storage. thanks
@ohmygosh617611 ай бұрын
Anyday Google Drive, Dropbox, or other cloud storage can change their policy or go down. That is why it is always a good idea to have multiple backup plans.
@chadthunderlord58307 ай бұрын
Like having 2 1tb hdd drives that is completely yours and cant delete your files or ban you? Yea...
@mahee965 ай бұрын
@@chadthunderlord5830 RAID already is there for it…it’s just that no one wants to have it local and maintain it
@julikaiba3 ай бұрын
@@chadthunderlord5830 well you would usually have cloud storage for the case of fires or similar local problems, and their ease of use compared to a second drive in a distant location (which you would need to pick up, write to and put back every so often to keep up to date)
@TaliyahP2 ай бұрын
Can and Likely are two different things though. Google is a MASSIVE juggernaut in the cloud game. For Google Drive to go down, I think there'd be other things going on the world that are a bigger concern than my files.
@UndercoverDogАй бұрын
@@TaliyahPthey also "lost" user files in the past multiple times.
@jamlie97711 ай бұрын
that's amazing lmao to be honest, this approach is much easier than the previous one. it took me around 8 seconds to think of a way to create this, but the only difference is that i would have to use something like a /sync to send the new pictures/videos
@a1x5h047 ай бұрын
I was thinking to create a file storage platform based on telegram, and you made it much much easier ❤
@GreatTS11 ай бұрын
Same here. First I watched your video related to Discord unlimited storage and then realised why didn't i used telegram and then i upgraded my code for telegram.
@wrathofainz11 ай бұрын
6:39 Code salesman: **Slaps roof of Time Complexity** "This bad boy can fit so much N in it."
@Girgoo11 ай бұрын
I would love to see a fuse system that cache usb-drive metadata only. Meaning I dont have to connect the usb-drive to my computer to check what files I had on it last time it was connected.
@thewhitefalcon853911 ай бұрын
I think Windows has that and calls it hierarchical storage management
@Slada111 ай бұрын
Everything from voidtools can do that too
@oussama713211 ай бұрын
can you reduce the background music volume next time?
@devdetour11 ай бұрын
Thanks for the feedback, I'll keep this in mind. Still trying to figure out the right audio levels :)
@toggenburger11 ай бұрын
@@devdetour please dont go way lower. often videos have comedically quiet background music. Guess its a matter of preference
@smith346311 ай бұрын
You're amazing. I had always given up on my dream of becoming a programmer, but you sparked it once more.
@killervacuum11 ай бұрын
i use telegram as a backup mainly for the photos from my phone but also other important files. the main drawback is that the download and upload speeds can be quite slow sometimes.
@ALoonwolf11 ай бұрын
I didn't have enough storage space so I used KZbin to store all my videos, including my own film which took months of tedious work to make. Then KZbin deleted my channel, destroying everything. Don't trust online storage!
@lightfighter6740Ай бұрын
Why did youtube delete your channel?
@JyothisJayanth11 ай бұрын
btw the teldrive owner got his own rclone fork that supports teldrive. I was using rclone mount and it was working perfectly fine :)
@excessiveanalysis298211 ай бұрын
One thing I noticed in your design layout was the decision to encrypt each segment of the total file separately. While this does not affect functionality, it can impact the information security of the uploaded data. By encrypting each chunk separately, with what I assume is the same symmetric key, you run the risk of crypto-analysis on the file chunks revealing data on the key and or plaintext. The reason for this is due to the fact, because of the segmented nature of the encryption, you are effectively re-using the same key for multiple encryptions. While this is not a huge deal practically, it is still a possible attack vector. A simple solution would be to simply encrypt the entire file once, and then split the encrypted data afterwards. Other than that (unrealistic, you used CBC mode by the looks of it, so IV helps a lot) security vulnerability in a scheme that was made for fun, amazing video! I must say, I love over-the-top systems that solve problems in a way-more-than-necessary manner simply because it can 😂
@Bromon65511 ай бұрын
People who experiment with these free storage tactics are a large part of the reason why tech companies have started putting up paywalls for their services. Server space doesn’t grow on trees.
@Kipruto25411 ай бұрын
This is why we can't have good things. Telegram will likely impose a restrictions after this.
@Spiderfffun11 ай бұрын
@@Kipruto254 didn't this guy mention something like this existing already?
@kaidenrogers11 ай бұрын
@@Kipruto254 Telegram just deletes old files when they start running out of space. Your uploaded files aren't guaranteed to live there forever. The faster people use it up like this, the faster they delete. So it's really no sweat off their back. Other than increased bandwidth usage, but we saw Telegram's mitigation for that, they throttle it, hoping you'll upgrade to premium.
@R_Samnan8 ай бұрын
exactly dude, free storage doesnt mean it auto generates itself with no costs infinitely
@kaidenrogers8 ай бұрын
@@R_Samnan It's a loss leader. And it's not like it's guaranteed storage. If they need more space, they just delete your old files. The storage may not auto generate, but it does regenerate.
@CodeF5311 ай бұрын
7z supports encrypting, splitting, and compressing files into chunks and has better compression ratios than rar. I would also use the brotli fork, as it has an even better compression algorithm.
@skygnd11 ай бұрын
I’m from the future, you’ll have at least 500k subs by the end of this year man
@phizicks11 ай бұрын
I would've written each chunk as their own file and have a metadata file (FAT) for each message id part to the file. if you overwrite, you replace the initial X block files and delete the rest if they are smaller, or create new block files if they are bigger.
@RealToteM100percent7 ай бұрын
Why not just use multiple accounts for Google drive 😭🙏
@skilletonqtr7 ай бұрын
True much easier and logical 😅
@bardiafn59665 ай бұрын
He has like 500gb of files in the last video, thats 50 accounts, now imagine searching 50 accounts for some random picture
@RealToteM100percent5 ай бұрын
@@bardiafn5966 imagine uploading 500gb of files to telegram only for it all to break after an update. bro could have just bought a hard disk or something, its not that expensive 🙏
@ayte154911 ай бұрын
It'd be fun to have a whole OS stored in telegram, and have your bootloader fetch if form there every time you boot up the PC.
@luizansounds8 ай бұрын
Dude making a suggestion of how a data center can boot x3
@Hoopaugi11 ай бұрын
I completely forgot rar files were a thing. Don't really run into them outside of torrenting games.
@Jmcgee11258 ай бұрын
This is honestly a pretty interesting example of filesystem optimizations. You're treating the network as a very slow SMR hard disk, and trying to find a way to optimize on top of that by adding your own (very large...) buffer cache with readahead. 10:57 :)
@KalphalusKal11 ай бұрын
On discord, why dont use another channel to save the name and the file ids? Or at least make a backup of the id list every once in a while on Google Drive, Dropbox, (Telegram, Discord,) etc.
@davia.sampaio863311 ай бұрын
This is actually good if you dont want certain files on four system. This way you can just drop them on a "cloud" that has no connection to you
@kabul89123411 ай бұрын
NIce, just installed teldrive, just make sure to use your own api id and hash
@bananprzydawka712911 ай бұрын
so like, when is someone gonna install arch linux on it?
@Spiderfffun11 ай бұрын
that would be hilarious, and im not sure if it's possible. Even if it was, there's probably hundreds or thousands of files your system accesses on boot, meaning the process might take very, very long. Not to mention the instability and general slowness of the system. A virtual machine tho.. I could give that a shot 🤔
@Grogueman11 ай бұрын
@@Spiderfffun Btw, do you use Arch LInux?
@juuujuuu156411 ай бұрын
What about pings? You can give them data and they'll send it back. Just do that a lot of times a second sending data to different IPs and you're storing data.. over internet wires!
@Spiderfffun11 ай бұрын
I swear I saw a video like that already.
@juuujuuu156411 ай бұрын
@@Spiderfffun Please link it if you can find it! Would be interesting.
Yes, someone has done this! kzbin.info/www/bejne/gJSthIpth9Wln9E. It's really really interesting!
@bytebytego-13 ай бұрын
Am I the only one thinking that why is he not directly uploading file to telegram
@y33_sees4 ай бұрын
Which music did you use at 1:45?
@hoangduong595410 ай бұрын
What about creating a bunch of google/microsoft account and store files in there?
@frankruan684211 ай бұрын
The reason why Telegram download is so slow is that Telegram limits regular users' download speed cuz they want to make use buy their premium subscription. That was intentional.
@rovicrosales554711 ай бұрын
I have a question?? Does the files last as long as the telegram exists?
@supernenechi11 ай бұрын
Yay, got into the video! Great video dude!
@TunisiaSparx11 ай бұрын
awsome i always wanted to do omething like that ! uploading photos to some place and showing them dynamically from my deployed web app
@treasurecraft9928Ай бұрын
you could make the program wrote the data on discord and telegram at the same time and keep telegram asa backup so there's no chance you loose the files
@matthias753411 ай бұрын
The caching scheme you implemented does not let you read files if they don't fit in RAM. Fuse manages data in chunks to allow working on files larger than free memory.
@hashawn_5 ай бұрын
i feel this would be super handy for storing photos!
@weaksssas11 ай бұрын
i never thought of telegram for storage
@nameq11 ай бұрын
On a TDLib level for telegram you can request parts of the file instead of the whole file from the storage
@wrathofainz11 ай бұрын
There are no good fuse tutorials in yt search, you should add fuselib or something to the tags or title of the video. I intend to use this for a personal server of mine if i can figure out how to get it working on my linux machine. Theres already some fusefs stuff going on under the hood so it can't be too bad... right? Edit: i downloaded the example script amd your telegram fusefs script as examples so hopefully I can make sense of it with those.
@sassas455711 ай бұрын
TIP: Try to send all the zipped files togheter and to download all of them togheter and then allow the user to modify, etc., so the flow should look like "read:download all (storing in temp)->check if they are all (by seeing witch are the missing ones checking their names from the DB file)->once they're all merge the file->show the file", " write: if the new file was used less then x time ago (ex. 2 hours ago), wait; else, move the file to temp->split in chunks->check and write to db->upload->check with db". Like 3 months ago, I tried to do the same thing by hand, separating the files with Winrar and uploading them slowly, and it worked, but if I have to upload a lot of things, it could get messy. PS: We also have to think about resuming upload after power-up and checking partially uploaded files during shoutdown, but it can be resolved by leaving the files in temp until they're fully uploaded with the checks mentioned before and other checks when booting and shutting down the PC (we write the queue of files to upload and download somewhere in the database to know what we were doing before the shoutdown). Nice video, keep on going man, I love these kind of things. Sorry for my bad english btw.
@KaptanUfuk11 ай бұрын
yes. i found this method about 2,5 years ago but i never automated it, i couldnt do it. i was waiting for someone to do this application. thanks
@Sircliffe11 ай бұрын
Store files on KZbin with digital data modes like OFDM-3500.
@jerobarraco8 ай бұрын
KISS instead of fighting against the cache. Upload the chunks and not the whole files. That would improve random access times in case you want to read or start reading from a random part. Pretty much the same way FAT stores files in chunks. It might even help if you implement some sort of parallelization in the pipeline. Ive seen mny of these tools, i find them interesting, i remember there was one to store files on email accounts (back when goggle falsely advertised infinite storage). Good job on using py fuse. Like others i would have used 7z to split and encrypt.
@jerobarraco8 ай бұрын
It will also improve your ram usage problem.theres a reason why libfuse uses samll chunks and youre basically going against that.
@SMASHTheGamingCanuck11 ай бұрын
Wonder if Guilded would be faster then discord as it offers 500mb file upload limit
@mehregankbi11 ай бұрын
did you also purchase premium? it's cheap iirc and it says speed does increase for premium users.
@Viralvlogvideos11 ай бұрын
how to make a video player that is hosted online but it uses telegram data
@erikehlers700611 ай бұрын
I have noticed, that the download speed is kinda slow even when you download files normaly. So I think it actually has to do something with their servers
@kairu_b11 ай бұрын
Another great video!
@shubhsharma1911 ай бұрын
Can we do same thing with Javascript? if someone can update me on this coz i have no idea about python but i want to try this in JavaScript
@matheuswmac11 ай бұрын
bro, the worst day was when I lost my group with my files and there was no backup, (I was banned from my group somehow) so I don't trust Telegram much for backups
@kaidenrogers11 ай бұрын
Yeah, Telegram doesn't guarantee they'll keep your messages. That's how they can offer storage for "unlimited" files. If they start running out of space, they start deleting old files.
@Girgoo11 ай бұрын
Maybe it is better if you just sync the file in the background, possible make small chunks to have multiple upload run simultaneously? Now with 2 different providers(telegram + discord) you can actually have raid 1?
@parkour_pain8 ай бұрын
You mentioned having to do some unconventional things to get the library to work for dlscord, what might those things be? I’m working on a different project but I’m needing to call functions in my bot too and I’m struggling
@parkour_pain8 ай бұрын
I’ll take any help I can get I would appreciate it so much I am very desperate
@kleins011 ай бұрын
Very interesting video again!
@undead214611 ай бұрын
tbh when you live in a country where an SSD costs an entire months paycheck, a free but shitty cloud service doesn't seem that bad.
@IvanIvanov-c2t11 ай бұрын
Telegram really slow sometimes in uploading/downloading
@flamingkillermc280611 ай бұрын
Didn't know about winRAR and telegram 💀💀💀💀
@jhonlee164710 ай бұрын
Bro just stop telling ppl if they remove that 2gb upload limit i am disliking every single vid of yours
@ricocrusader11248 ай бұрын
Bohoo so scary
@melodyMonger4138 ай бұрын
oh noooo your gonna give the videos MORE engagement? how could youuuu
@melodyMonger4138 ай бұрын
oh noooo your gonna give the videos MORE engagement? how could youuuu
6 ай бұрын
I'm confused about what you're talking about please improve your grammar.
@misonly54965 ай бұрын
Who cares about dislikes
@tutacat11 ай бұрын
Actually, HTTP supports something called download range, which only downloads the requested range from a file.
@selachian11 ай бұрын
This is the type of abuse that ruins things for everybody else. Well, I guess the fact that you don't abuse it by creating hundreds of accounts to accomplish this and only use your single account makes it a little less problematic.
@kaedriz11 ай бұрын
I thought the same, like I hate corporations more than other guy, but this will only hurt legit users in the end, like restrictions on max file upload, max attachment size etc. And it's even funnier when people do it to backup data like there exists specialised products to it, my fav Backblaze, for just 9$/m for unlimited data. I understand someone in third world might be burdened by it, but then do you realy need that much storage for backup important documents, like gigabytes? Someone testing it if it works is ok, but abusing it longterm like that? 🙄
@michaelepica35643 ай бұрын
Dude it's just fun. He doesn't really use it, and no they don't really care.
@esecallum11 ай бұрын
MEGA does 50 gb ?
@lancemarchetti867311 ай бұрын
Great video!
@hwtw11 ай бұрын
How about make telegram and discord on a raid like thing?
@reilshat11 ай бұрын
The download speed in telegram is limited just so that you don't use it as a file storage
@MrPeepa11 ай бұрын
Why not use read write streams for uploading and downloading. And then in the pipeline add a counter for the amount of chunks that got written or read.
@ivanromanchenko45911 ай бұрын
What if telegram will cut this feature?
@myfather789311 ай бұрын
wasn't there Unlim Cloud app which used telegram for storgae. Or did it stopped working?
@ErikUden11 ай бұрын
Sure, these are “bad” download and upload speeds if compared to transferring files to a local drive, but what about enabling it to sync just like Nextcloud or OneDrive does? Wouldn't it be awesome to use this in order to have locally stored files backed up to the cloud. I could assume the Nextcloud client would be a huge help to implement something like this here! What do you think?
@jecksfoxofficial11 ай бұрын
Isnt telegram automatically download all files to ur phone?
@TheCollectiveHexagon11 ай бұрын
there's a config for that(even by file size) which you can enable/disable
@mastermanhwas11 ай бұрын
I have an idea can you create an GUI for telegram only for uploading the files like if the members is free the file limit will be 2GB I'd the premium users is 4GB limit so if this idea create an GUI project is bit more powerful to use ??❤
I did actually look at pyfuse3's fsync(), but I don't think it behaves like a cache. As far as I can tell from the pyfuse3 docs (www.rath.org/pyfuse3-docs/operations.html#pyfuse3.Operations.fsync), it just passes the fh, not actually the data, so a separate cache is still needed - and I couldn't actually get pyfuse3 to call into fsync() in testing, so I kept it in release(). Maybe not optimal, but it works!
@coobik79734 ай бұрын
Telegram should NOT be that slow. If you use it a LOT, like 30GB in a few minutes, then it will decrease the speed to 10MB. Otherwise it should be faster.
@ManIkWeet11 ай бұрын
A lot of specialized file download software can download a file using multiple connections simultaneously, maybe you can use that to improve speeds more?
@abasgames11 ай бұрын
you can store your data on KZbin by uploading videos and use them as filesystem
@czypherth11 ай бұрын
what if you emulate how ssd works
@LoL-hx1fo7 ай бұрын
It's a bad idea to upload things like this publicly, if a lot of people start doing it, companies will eventually stop it. That is why everyone who knew about this up until now didn't show it publicly.
@mizukun903711 ай бұрын
i wanna learn computer science like coding stuff how to start
@Twisted_Code11 ай бұрын
FUSE sounds like it might be relevant to a problem I've had on my to do list to solve. Is this the same term used by the Windows ecosystem for the concept?
@this-one11 ай бұрын
No need for Samba on your Linux host, if you want to run it on windows there is WinFsp, which is basically FUSE for Windows.
@brennanlaurent474811 ай бұрын
What about steam could you store files on steam using there cloud save feature
@simon_roy11 ай бұрын
Can you get ban from telegram for doing this ?
@misonly54965 ай бұрын
Yes
@despareint11 ай бұрын
Till Telegram bans your account for whatever TOS violation, you may appeal but your files are gone Other issue is capped download speed
@tomerbs44011 ай бұрын
any windows alternative to FUSE?
@ReaperXXIII11 ай бұрын
great vid, but htf do you not know rar? is it some sort of generational gap?
@Cahangir11 ай бұрын
Generation Z is the least technical. It is a fact.
@jmvr11 ай бұрын
@@Cahangir and thus, the endless cycle of "___ generation is worse than my generation" continues, as it always has
@Cahangir11 ай бұрын
@@jmvr you misunderstood me. I'm simply quoting senior level IT professionals.
@jmvr11 ай бұрын
@@Cahangir if that's the case, it would be clearer to use quotation marks to signify as such, otherwise people will mistake your comment as being hateful of people not of your generation, which is what my comment pointed toward. For what seems like forever, people have always said that the generations below them are bad, so forgive me if I wrote your comment off as being in a similar vein as that line of thought.
@SHALLGLISTENBEFORETHETEMPLESOF11 ай бұрын
@@Cahangir they absolutely didn't misunderstand you.
@ohhim.11 ай бұрын
Oh man do we need a windows version of this
@shabariks77357 ай бұрын
what about github private repository
@realcheez79511 ай бұрын
this is amazing
@AnoshterHaar10 ай бұрын
Does this provide any form of redundancy? Cause why would you otherwise even bother the slightest... There are zip programs out there making raid like redundancy possible for zip files. Multipar for example.
@notchieuwu11 ай бұрын
i LOVE fuse stuff, i've tried to do a similar thing in windows with terabox because the client sucks, but it didn't work out
@ErikUden11 ай бұрын
Imagine you could sync with this like with Nextcloud ^ ^
@algj11 ай бұрын
You used FUSE and still - no random reads/writes, missed a huge opportunity to allow streaming media with low latency, torrent seeding and many other things.
@JellyRockFN11 ай бұрын
Is this safe to store content in telegram?
@D0Samp11 ай бұрын
I see we have advanced pretty far from the time I used a free ad-supported web hoster with filesize limits and a PHP script to concatenate split files.
@gamecuber611 ай бұрын
2:08 no way the guy who turned discord into google drive is italian (i am italian)