Тёмный

Stealing Storage from Discord 

Dev Detour
Подписаться 22 тыс.
Просмотров 1,6 млн
50% 1

How I'm storing hundreds of gigabytes of files on Discord, for free! I wrote a server in NodeJS and a frontend in React that lets me upload any file of any size to Discord, then download it later. Works great! And even hides tax evasion evidence from the IRS!
Don't do this yourself, I didn't actually read Discord TOS but if I had I'm pretty sure it says not to do this. I'm not releasing the code (mostly because it is bad) but also because really don't do this
#nodejs #discord #cloudstorage
(so I don't get sued):
Music from Uppbeat (free for Creators!):
uppbeat.io/t/braden-deal/lets...
License code: FRUHYRRYPCQPY1M8
uppbeat.io/t/mountaineer/hold...
License code: Y7WJKREQB4NBLBYZ
uppbeat.io/t/bakerman/permafrost
License code: QW2ZDFQHIVHRJTZB

Наука

Опубликовано:

 

16 ноя 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2,7 тыс.   
@discord
@discord 8 дней назад
bro what
@NotDIO123
@NotDIO123 8 дней назад
Hello discord
@Forsakei
@Forsakei 8 дней назад
I'd say it's a fair exchange for that arbitration clause
@jakodarex
@jakodarex 8 дней назад
yes
@DeadInside-hf4gh
@DeadInside-hf4gh 8 дней назад
lmaoooo
@San-pv
@San-pv 8 дней назад
1 hour ago? they took 5 months to notice the 100petabytes of sudden storage hikes? crazy
@Palozon
@Palozon 5 месяцев назад
The internet's long-running insistance of using tax fraud as a punchline has got to be genuinely annoying for the IRS. Keep it up everyone, great bit.
@hawoaliahmed6996
@hawoaliahmed6996 5 месяцев назад
Wait that is a bit?
@turolretar
@turolretar 5 месяцев назад
Here’s a prime example of someone who doesn’t yet understand the sigma grindset
@ashxxiv
@ashxxiv 5 месяцев назад
​@@hawoaliahmed6996blud really out here doing tax fraud
@takemebacktothen
@takemebacktothen 5 месяцев назад
Taxation is theft
@TysonJensen
@TysonJensen 5 месяцев назад
Kinda? The FBI is fond of saying that everyone using encryption must all be criminals because otherwise we'd send our bank details as plain text CC'ing them on every transaction otherwise we must be pedophile tax cheats. The internet has noticed and the internet loves to mock the clueless.@@hawoaliahmed6996
@Redice_47
@Redice_47 5 месяцев назад
If they introduced data per account or device, then remember this guy here
@KhaledSham
@KhaledSham 5 месяцев назад
fr
@kurdm1482
@kurdm1482 5 месяцев назад
lol
@AlOqab_
@AlOqab_ 4 месяца назад
if they did so then just stop using discord lol
@Redice_47
@Redice_47 4 месяца назад
@@AlOqab_ hmmm first this is a joke, second, but then they will make their platform so not useful, and everything will only be in Nitro resulting in teenagers leaving the platform, maybe some will stay but many will leave (if they have a brain)
@Walking_W
@Walking_W 3 месяца назад
just make the bot make a new account lol
@capella5783
@capella5783 7 дней назад
This is like me 25 years ago when I realised I could just attach my files to blank emails in yahoo and save them. I thought I was really clever and thought of something no one else had ever thought of too.
@Tirexo
@Tirexo 2 дня назад
Can't be done these days unfortunately. Yahoo are bastards and delete all of your email content after a year of no usage. I'm still salty about it
@illiksis
@illiksis 5 месяцев назад
Just a word of caution, discord itself very specifically says in it's ToS that they can ban you or delete your server for whatever reason without any chance of getting stuff back. It has happened before and entire communities are lost. This is cool, but DO NOT put anything critical in.
@livelyniko
@livelyniko 5 месяцев назад
DO NOT *insert sticker*
@trwygon
@trwygon 5 месяцев назад
not to mention it is all publicly available to anyone with the URL to it
@ktokolwiek8545
@ktokolwiek8545 5 месяцев назад
bannig for nothing should be illegal
@GavAttackO
@GavAttackO 5 месяцев назад
@@ktokolwiek8545 Would you like it if people used your computer for hours on end, taking up valuable resources, all whilst not giving you a single cent? That ain't nothing chief, it's clearly stated in their ToS to not use Discord like it's a storage solution.
@Supernova1252
@Supernova1252 5 месяцев назад
This is a proof of concept man, chill
@devdetour
@devdetour 5 месяцев назад
Woah, this is blowing up a bit, thanks everyone for stopping by. A couple frequently mentioned comments I want to address: - *Will I release the code?* Definitely no. As I mention in the video this was a fun experiment/proof of concept, but to be clear: you shouldn't do this yourself, this is not a serious alternative to real cloud storage. - *You should back up your data, what if Discord removes it!!* I have it all backed up with real storage solutions, and I'm fully prepared for Discord to purge all my data. Especially with this video doing well, I'm expecting it to vanish at some point :)
@mil260zs
@mil260zs 5 месяцев назад
interesting video bro
@peturgullak4527
@peturgullak4527 5 месяцев назад
unless you have a back up on youtube discord facebook. make the code available so everyone can get free data storage
@Kat21
@Kat21 5 месяцев назад
i think discord's file url change won't affect your bot as fetching the message will generate a new CDN link which seems like what it's doing, going up the chain of message links would a solution for downloading if you previously just stored all the cdn links.
@depralexcrimson
@depralexcrimson 5 месяцев назад
are you ret addred? can you not read?@@peturgullak4527
@BoostedNW
@BoostedNW 5 месяцев назад
there's already other discord uploaders that do the same thing that have been around for a few years
@user-ex1dj3dd7g
@user-ex1dj3dd7g 8 дней назад
Bro left discord flabbergasted 😂
@NECOdes
@NECOdes 5 месяцев назад
That's a pretty interesting idea. You can also experiment with Telegram, just like Discord you have unlimited storage. But instead of small MB chunks, each user can upload up to 2GB per file and 4GB per file for premium users, and I'm pretty sure Telegram doesn't have a very strict ToS for these type of projects, unlike Discord.
@Fr3ddyH
@Fr3ddyH 5 месяцев назад
yea there are many pirating telegrams where they split the games into 2gb files
@AKA-Latromi
@AKA-Latromi 5 месяцев назад
Worth noting that Telegram premium is only 4 bucks a month, and frequently 1 year will go on sale for around 30 bucks. I've gotten two years of premium for the last two years (paying 28 and 32 dollars respectively) and that's less than a single year of Discord Nitro, which is 100.
@shayhan6227
@shayhan6227 5 месяцев назад
If you keeping doing it eventually they will charge money for it. Someone has to pay for resources at the end of the day.
@NECOdes
@NECOdes 5 месяцев назад
@@shayhan6227 I've been using Telegram for over 8 years now. I have more than 20 channels and +8 thousand big files. Not to mention that my channels are private and just contains my own files. There are big channels in Telegram with huge catalog of games, movies, and songs. If that “eventually they will charge money for it” had happened, Discord would've been the first platform to stop or charge you, not Telegram.
@forhadrh
@forhadrh 5 месяцев назад
There's a app in MS Store called T-Drive just for that. Note: the app is paid.
@PatrickJBauer89
@PatrickJBauer89 5 месяцев назад
Nice idea. Just one technical thing if you're already using node: use streaming. You don't need to "upload" your whole file to your NodeJS instance before processing. Stream your file to your server which encrypts the stream and immediately starts to upload. You can then dynamically chunk the stream while more data is incoming. Don't work on the whole file on your NodeJS part :D
@4w0ken
@4w0ken 5 месяцев назад
if the stream breaks mitfile u have chunks of uselss data n the server? how can we handle that?
@CodeMark
@CodeMark 5 месяцев назад
@@4w0ken when streaming data in Node.js, you can handle interruptions or breaks in the stream by implementing strategies such as chunking data, using resumable uploads, employing checksums for data integrity, implementing robust error handling and retry mechanisms, logging and monitoring the process, and testing various failure scenarios to strengthen your error-handling mechanisms.
@PatrickJBauer89
@PatrickJBauer89 5 месяцев назад
@@4w0ken The same as when the upload itself breaks (as it's already a stream). Rolling back already uploaded chunks should not be to big of a problem.
@4w0ken
@4w0ken 5 месяцев назад
@@PatrickJBauer89 ​@CodeMark ok cool thx both of u
@darshanhihoriya
@darshanhihoriya 5 месяцев назад
I have more than 100TB of data on discord 😂
@calebanderson1532
@calebanderson1532 5 месяцев назад
what i'm really impressed with is he managed to create a node.js server that deals with files and had no memory problems
@dennisunderscore
@dennisunderscore 5 месяцев назад
you can just use the streams api i did this a year ago and one of my friends literally uploaded a whole 20gb linux distro lol (it took like 4 hours though) the strategy is pretty simple, pipe the incoming http stream into a slicer that slices into 8mb chunks (or whatever the webhook file size limit is) and upload them sequentially, collecting all the cdn urls and returning them back as the response
@rafaelarantes4804
@rafaelarantes4804 5 месяцев назад
@@dennisunderscore We had the same idea, streams API is really nice for this kind of stuff.
@chy4e431
@chy4e431 5 месяцев назад
Nodejs is notorious for handling high realtime throughput as long as you do it right. Everything has to be async and streamed, if you do that it's crazy how much data nodejs can handle without major overhead.
@calebanderson1532
@calebanderson1532 5 месяцев назад
@@supernovahm1178 first of all... who asked? second of all... is 100mb/s really a lot for a server? probably not...
@calebanderson1532
@calebanderson1532 5 месяцев назад
hmmm maybe all the file apis should just work out of the box without these issues... why should you have to use only a single method in order for a functional server?@@chy4e431
@abdullahtahir991
@abdullahtahir991 5 месяцев назад
A nice video to shake our own minds to look for the reson behind every facility why its free. How they are earning. Nice brainstorming and cool video. Loved it
@1BP6
@1BP6 5 месяцев назад
this is great, the usage of nodejs this way kinda inspiring keep it up bro
@MiSt3300
@MiSt3300 5 месяцев назад
This is a very fun experiment! Great idea to try to implement for testing (and only for that, as I personally wouldn't rely on the stability of this). This just shows you how much can be done with a basic node application, so easy to implement all sorts of crazy ideas!
@MiSt3300
@MiSt3300 5 месяцев назад
@BeastSupreme735 no your heart will stop beating st#pid bot
@thereallyrealplayer9676
@thereallyrealplayer9676 5 месяцев назад
I used to use a private Discord server with only myself for storing many files like photos and videos, but I quit after just half a year. Discord began permanently preventing the loading of half the files that I uploaded there, essentially deleting them. At least I only uploaded like one gigabyte in total, but this was still very problematic.
@velevetyy
@velevetyy 5 месяцев назад
oh damn im scared thats happened to my archives
@waterbucket4358
@waterbucket4358 5 месяцев назад
you're so lucky u can upload a gigabyte, i have 0.40 mbps upload speed and cant do shit
@user-sg7rl8be1s
@user-sg7rl8be1s 5 месяцев назад
​@@waterbucket4358bro you are totally lost
@AXGIV
@AXGIV 5 месяцев назад
​@@velevetyysame, is there a solution?
@dollaz4647
@dollaz4647 5 месяцев назад
I still got all my stuff
@thatsfsguy3609
@thatsfsguy3609 4 месяца назад
ive been doing this with my art for a while now! really convenient and makes it easier to download and share to friends
@bolognaworm
@bolognaworm 23 дня назад
glue!!!
@mileskimasktheslumpgod
@mileskimasktheslumpgod 11 дней назад
i do this too! it makes it very easy to organize and search for too
@vurinz
@vurinz 8 дней назад
same
@Corncycle
@Corncycle 2 месяца назад
this is such a cool idea for a project, well done! and great presentation running and monitoring a cdn sounds like a nightmare. there must be so many ways to exploit and annoy it, even with what the average user just considers "normal" usage (eg huge uncompressed images and videos). i do not envy the people who maintain cdns, but im very grateful they exist haha
@kevinorr54
@kevinorr54 5 месяцев назад
This is pretty cool. You could steal even more storage by saving the metadata (message IDs of the chunks, filename, etc) in discord messages also, instead of storing it on your server. For instance, you could use a data structure such as a btree or a hamt and store its nodes as messages, and the root node could e.g. be the only message in a specific channel. This way you could get away with minimal memory usage on your end
@BoydWoodbridge
@BoydWoodbridge 5 месяцев назад
@@BeastSupreme735 Goofy ass
@rbxXlXi
@rbxXlXi 5 месяцев назад
you should include file hashes for every upload inside of the bot's message to maintain file integrity and warn the end user if something doesnt check out. and with these new discord cdn changes, all you have to do is store the message id and you can get the new attachment link from it every time you need it plus the message contents(ie the file hash).
@rakeshchowdhury202
@rakeshchowdhury202 5 месяцев назад
Cyclic Redundancy Check
@lokomen9
@lokomen9 5 месяцев назад
@@rakeshchowdhury202 just call it CRC
@ErroR_FX
@ErroR_FX 5 месяцев назад
how I coded my own fs using discord cdn
@rorysmistakes
@rorysmistakes 5 месяцев назад
This reminds me of suckerpinch's "harder drives" video - you have a very similar energy! Loved the video, +1 sub
@ptzski
@ptzski 5 месяцев назад
I really like the idea of splitting the bits up within files, it’s cool you actually managed to apply this using a discord bot. Well done!
@CreativeMindsAudio
@CreativeMindsAudio 5 месяцев назад
This is awesome! I was thinking you were just going to upload rar files with like 25MB each file, like how usenet newsgroups were.
@JakalairVG
@JakalairVG 5 месяцев назад
Wow, this takes me back. Great video btw and a crazy idea. Back in the late 1990s a few friends of mine used to do something similar with our college email account. My memory is that we used WinRAR and just broke up files to whatever the attachment limit was back then. We used this to share files back and forth because it was easier and faster than making that many floppy disks, and zip disks were expensive. The sysadmin for the system did eventually tell us to stop using his email for this purpose. Then he told us about IRC...
@CeilingOven.
@CeilingOven. 7 дней назад
IRC?
@JakalairVG
@JakalairVG 6 дней назад
@@CeilingOven. Oh, sorry IRC is Internet Relay Chat. It is basically was internet chat for many years, and is still around today. Think something like Discord with channels and text chats, but there is no central company in charge.
@CeilingOven.
@CeilingOven. 6 дней назад
@@JakalairVG Ohh okay! Thank you so much, that teacher must've gotten a good laugh from you two lol
@JakalairVG
@JakalairVG 5 дней назад
@@CeilingOven. He was both amused and concerned. Using the systems he was in charge of in unusual ways made him like us more, but also meant he watched us to make sure we didn't break anything.
@Professor_Utonium_
@Professor_Utonium_ 20 часов назад
You know you're getting old when people are asking about IRC hahaha
@atablevendetta1429
@atablevendetta1429 5 месяцев назад
I had been wanting to do something like this for years. Awesome you did it!
@boxdog54
@boxdog54 4 месяца назад
I had this idea a few months back, but didn't have the coding know-how. Really cool project!
@level7feeders13
@level7feeders13 5 месяцев назад
In order to prevent overloading the server, handle the encryption and file splitting on the front end as an additional layer of security. I am aware that the server runs locally in your situation as well, but in a production setting, it most likely runs on Google Cloud or Azure. The server should only be able to upload the files to Discord because neither of these two businesses can be completely trusted with privacy also It is necessary to store the database locally to avoid sensitive informations from leaving your environment.
@TheGBLNWatcher
@TheGBLNWatcher 5 месяцев назад
it runs on azure
@SoulisYT
@SoulisYT 5 месяцев назад
You can post each file bundle in a thread with the filename as the name of the thread. this will help you to search through the files if you need to and also help in case your database breaks
@maksimal3498
@maksimal3498 5 месяцев назад
I mean, I use discord to keep artists names (not musical one, or any of the sfw ones...), I use it to store shit for school, I store funny meme images, but what you doing here sir is straight up genius!
@pontylick5800
@pontylick5800 5 месяцев назад
This is the solution to my storage problems, thanks for the wonderful idea!
@toeb.
@toeb. 5 месяцев назад
The level of quality information and subtle humour is amazing. Subbed.
@subashchandra9557
@subashchandra9557 5 месяцев назад
This is what is known as the "Tragedy of the Commons". A free resource will always be depleted by the greedy, and eventually they're gonna have to put limits on it and make you pay for Nitro to do the same thing you used to do.
@MushookieMan
@MushookieMan 5 месяцев назад
No because nobody else will implement something so inconvenient
@avishjha4030
@avishjha4030 5 месяцев назад
@@MushookieMan You really haven't seen the lengths some people go to XD.
@Tumleren
@Tumleren 5 месяцев назад
@@MushookieManonly until someone makes an easy to use application for it. All the things he's doing with the server can be done from the Pc. This is just going to harm people like what was done with Google drive where people hosted hundreds of terabytes for free
@LiEnby
@LiEnby 5 месяцев назад
No because tragedy of the commons is bullshit
@theglowcloud2215
@theglowcloud2215 5 месяцев назад
No, this is known as "shareholder capitalism" whereby Discord realized they need more money and will now make you pay for Nitro to do the same thing you used to do for free.
@BKBinary
@BKBinary 3 месяца назад
This video kept popping up right after I uploaded my infinite storage video haha. So weird we have such similar videos and editing styles and randomly blew up at the same time. Good luck with the RU-vid grind brother
@dauntingkitty
@dauntingkitty 5 дней назад
I’ve been using discord as a file transfer system (phone to pc and vice versa) for a while now this is a logical step forward
@Ollig999
@Ollig999 5 месяцев назад
This is really cool! I expected you to have hundreds of thousands of subs with this kind of quality
@JuniorTechnologyCorner
@JuniorTechnologyCorner 5 месяцев назад
I thought the same thing.
@ugandanknuckles3429
@ugandanknuckles3429 5 месяцев назад
oh wow just noticed. Guess we all gotta subscribe
@acumen8566
@acumen8566 5 месяцев назад
I watched the first seconds of the video and though that the creator must have at least 50k subs. This is some high quality content!
@immortaljellyfish9364
@immortaljellyfish9364 26 дней назад
Telegram users in the corner 😏😏
@mangata5833
@mangata5833 14 дней назад
yea i have been searching for this kind of comments Telegram really works greate
@Imtitled
@Imtitled 10 дней назад
Same bro ​@@mangata5833
@ktytyi
@ktytyi 7 дней назад
uploadgram is dead tho
@waludalu5102
@waludalu5102 6 дней назад
i have been saving entire movies in my telegram
@TheInternationalJew
@TheInternationalJew 2 дня назад
​@@waludalu5102Absolute beast
@KrisztianKecskes
@KrisztianKecskes 4 месяца назад
I did my university thesis on basically the same thing :) It is really amazing to see this.
@kleins0
@kleins0 5 месяцев назад
omg, ive literallt thought about this once, and thought no one would have the courage to do this. ure definitely a legend for this one and literally read my mind
@Stego27
@Stego27 5 месяцев назад
Instead of uploading the entire file to the server before splitting it into chunks, you should stream it to discord directly. This could effectively cut the upload/download times in half since it's doing both phases in parallel, as well as allowing larger files than the server's memory allocation. To gain even more performance you could read a certain number of chunks ahead and upload them to discord in parallel, which will improve performance if uploading to discord is far slower than uploading to your server.
@flipogreen
@flipogreen 5 месяцев назад
@@BeastSupreme735bot
@vngelnumbers
@vngelnumbers 5 месяцев назад
been doing this since 2018, really helpful to store screenshots.
@GreenyThaBeany
@GreenyThaBeany 5 месяцев назад
DESERVED SUBCRIBE!!! Amazing work, you made me rethink my cloud storage provider :P
@Goldfish_Vender
@Goldfish_Vender 5 месяцев назад
I remember seeing a meme project someone did a few years ago called something like "Discord as a cloud service" where they did basically exactly the same thing. It's a pretty funny, idea.
@yumyum366
@yumyum366 5 месяцев назад
It's funny, but increases the burden on an otherwise free service.
@cezarcatalin1406
@cezarcatalin1406 5 месяцев назад
@@yumyum366 Storage is cheap as hell nowadays and if Google can make it work for literal pennies on the gigabyte, you can be sure as hell Discord can too.
@Baisernours
@Baisernours 5 месяцев назад
Quick note for someone rushing to recreate the project: Discord will slightly change the way we can access files on a server, now (or very shortly) you will receive a temporary download link when clicking on the download button. AFAIK the new arguments are already there on the link but are useless and removable for now.
@mixxedxyz
@mixxedxyz 5 месяцев назад
It's cool to see how this stuff works breaking files into smaller parts, and when downloading, it downloads from every part. Impressive! However, I'm not the kind of guy who uses cloud services. i use an Pi NAS because its unbeatable.
@isak5263
@isak5263 5 дней назад
My dude we were already doing this, this video just exposes our secrets to the wrong people.
@Evansmustard
@Evansmustard 5 месяцев назад
man i really hope Discord doesn't start cracking down this this now that this video is somewhat popular. I've been using discord as a personal file dump for awhile now, its so convenient. I would be so bummed if they started putting more restrictions in place.
@DJSockmonkeyMusic
@DJSockmonkeyMusic 5 месяцев назад
If they have a big uptick in people uploading huge amounts of data, they will probably crack down hard, but this isn't a new idea, and it's not a good idea really. There are better tools. It's just an experiment, so as long as no-one does something stupid like try to back up the internet archive to discord, it won't make any real difference.
@theairaccumulator7144
@theairaccumulator7144 5 месяцев назад
They have been cracking down on it for months. Starting next year file links will become temporary and hot linking will stop being possible. You won't be able to download files anymore outside of the official client. The functionality already is there, they just need to flip a switch.
@CRT_YT
@CRT_YT 5 месяцев назад
@@theairaccumulator7144 dude so many downloads from online are gonna be absolutely destroyed
@evenrik_2214
@evenrik_2214 5 месяцев назад
It says in their TOS very specific that it isn't allowed to use discord as personal storage. So if you are the only member for a long time and just storing files there then you are breaking their rules and it is within their "rights" to clap the server and joke's over
@bkmnst
@bkmnst 5 месяцев назад
telegram would suit your case a lot better, it allows 2gb file uploads for free, the only downside is slow upload speed
@chrisdawson1776
@chrisdawson1776 5 месяцев назад
Literally who asked for your input? Genuine question.
@skydivenext
@skydivenext 5 месяцев назад
I am no programmer nor understand much of the viddo but It literally support more upload, why would not consider it, why are you questioning their input?
@chrisdawson1776
@chrisdawson1776 5 месяцев назад
@@skydivenext Keep crying kid.
@samtheweeb4573
@samtheweeb4573 5 месяцев назад
@@chrisdawson1776 Get a life kid. Stop bullying people on the internet and do something that would make You, your family and community proud. The other person really helped people by suggesting Telegram. Hope you get out of your mom's basement and get better :)
@cooldownboi3890
@cooldownboi3890 5 месяцев назад
@@chrisdawson1776 blud thinks he is cool
@kumalalalalalalaa7045
@kumalalalalalalaa7045 5 месяцев назад
This is a sick video. This has been an idea I've made, but I didn't decide to make a feature to split the files in 25mb chunks. I had encryption tho. [ The project I made is discontinued because this was 2 years ago lol ] Nice video!
@crtrcor2e
@crtrcor2e 5 месяцев назад
One of the best videos i seen this year. Great work your content is as great as your projects.
@MarCrisMoli
@MarCrisMoli 5 месяцев назад
I've been stroring my documents to discord ever since the pandemic, its nice to see that i am not the only one who does this
@xIronWarlordx
@xIronWarlordx 5 месяцев назад
I hope you're not expecting any kind of privacy
@shinobuoshino5066
@shinobuoshino5066 5 месяцев назад
@@xIronWarlordx implying anyone at discord cares to look through each individual file uploaded lol, anyway encrypting is just one extra command you have to run in shell before uploading the file, big deal
@xIronWarlordx
@xIronWarlordx 5 месяцев назад
@@shinobuoshino5066 If you're abusing their service or they think you might be doing something illegal they will look into it. Yes, probably not a big deal if it's encrypted. All I'm saying is to not expect the same privacy as storing your shit on your own hard drive.
@NostalgicRemedy
@NostalgicRemedy 4 месяца назад
no one cares keep crying@@xIronWarlordx
@errorlooo8124
@errorlooo8124 5 месяцев назад
Hey i had the same idea too but like a year ago, even used encryption and all that. Also can confirm that even after a year the data is still downloadable.
@Makayasa
@Makayasa 5 месяцев назад
damn, i've been thinking about this stuff and finally someone just made it
@MatteoKysely
@MatteoKysely 5 месяцев назад
I love the little message you left in the secret file. Chicken nuggets are awesome.
@the_zlatk0
@the_zlatk0 5 месяцев назад
very interesting idea! i have been doing this for a while now to store small files (up to 25mb though most of them are less than 8 as that was the old limit). from my experience, the links to files only expire if the message/channel/server get deleted (obviously) so i dont think there is much to worry. also when i opened this video it was on 5k views, after finishing it, it now stands at around 7k views. crazy stuff!
@MattWyskiel
@MattWyskiel 5 месяцев назад
as someone who’s legitimately working on a custom personal document storage solution using S3 as a replacement for Google Drive, Dropbox, etc. I loved seeing this experiment!
@HappGamr
@HappGamr 5 месяцев назад
What is s3?
@avishjha4030
@avishjha4030 5 месяцев назад
@@HappGamr It's from AWS. S3 is basically google drive but for cloud services (ELI5).
@bunself
@bunself 5 месяцев назад
amazon simple storage service
@tailsinafunnyhamsterball5555
@tailsinafunnyhamsterball5555 5 месяцев назад
​@BeastSupreme735bait used to be believable...
@notanonymous3976
@notanonymous3976 9 дней назад
this is mind-blowing stuff. well done
@TherealDomikoso
@TherealDomikoso 5 месяцев назад
this guy is the reason discord is making discord files temporary :)
@ronsijm
@ronsijm 5 месяцев назад
Cool! I've made similar kinda things before, so maybe some suggestions: - You mentioned that you get all the download urls, and store them in a local database. This creates a dependency on your database. At the end of the upload, you could just create a .txt file with all the meta data, and also upload that to discord. Like you could have a chunks channel, and a meta-data channel for completed uploads, for example. - You can make your uploads look less suspicious my combining a zip with a png - (for example, in plain windows cmd "copy /b image.png + archive.zip output.png") - though I'm not 100% sure whether Discord tries to apply image compression if it thinks it's a png - You could also upload a extra PAR2 file like on Usenet, in case one of the files goes missing somehow
@apache937
@apache937 5 месяцев назад
uncompressed images are downloadable from the cdn, though some exif stripping is done
@infernalfire2104
@infernalfire2104 5 месяцев назад
thats just a database with more steps
@MrBa143
@MrBa143 5 месяцев назад
@@infernalfire2104 The comment was about keeping everything on discord ie. one dependency, it has nothing to do with adding more steps. This is automated after all.
@ian_bruh1
@ian_bruh1 5 месяцев назад
png’s would be more suspicious due to the consistent 25 mb file size. A lot of people upload zips on discord already.
@seyan.7364
@seyan.7364 5 месяцев назад
the issue with this approach is the more files you have, the query times for fetching metadata for a specific file will increase linearly (as you have to search through more "metadata messages", until at one point it becomes too much.
@topgames451
@topgames451 5 месяцев назад
This is pretty cool, I was thinking about doing the same thing a while ago back when Discord allowed only 5MB per file, since cloud storage in my country is pretty high, i just create multiple Gmails xD
@apache937
@apache937 5 месяцев назад
8mb?
@jupieterr
@jupieterr 4 месяца назад
This was a great video! I've been in the MLP Fandom since i was like, 7 in 2011, and I know of most of rhese stories!
@techhxshira
@techhxshira 5 месяцев назад
I would rather buy storage then all this, but thankfully you made a really good piece of software solving a major storage issue.
@somexne
@somexne 5 месяцев назад
I would love to make a better up-to-date version of this with you, maybe with storing in multiple places at once? I actually do have a similar but faster (and more integral) version of this. Keep up the good work.
@user-qw9yf6zs9t
@user-qw9yf6zs9t 5 месяцев назад
as someone has probably already said, you can zip the file to make it smaller (zip already comes with encryption iirc) and instead of sending the file to the server then discord just give the client info to upload/download itself (this may or may not work with browser restrictions but a simple command line app may solve this) cool stuff :)
@kniivves
@kniivves 5 месяцев назад
rar is better for compression
@arjix8738
@arjix8738 5 месяцев назад
@@kniivves 7z is better for compression
@timu778
@timu778 5 месяцев назад
@@arjix8738 morse_code.txt is good for expression
@brysondev
@brysondev 5 месяцев назад
@@kniivves What is blud waffling about 💀 I bet your ass still has < v6.24 of winrar too and will get zipbombed any day now
@XCanG
@XCanG 5 месяцев назад
Slightly better solution would be not actually using archives, but raw algorithms, like DEFLATE, Brotli, etc.
@GR4B0VZKY
@GR4B0VZKY 5 месяцев назад
ive been doing that for ages with my art and school stuff, very useful indeed
@bradyciessau3299
@bradyciessau3299 5 месяцев назад
Ive been doing this for a couple years now. Its been the neatest work out ive came across lol
@CODE7X
@CODE7X 5 месяцев назад
The godly power you get by learning a programming language and a bit of creativity is insane
@apache937
@apache937 5 месяцев назад
creativity is the hard part
@skydivenext
@skydivenext 5 месяцев назад
I am no programmer neither understand not even half of the half what was this video about, why he just didn't use rar and uploaded to telegram? This feels like a nightmare
@CODE7X
@CODE7X 5 месяцев назад
@@skydivenextthis was probably and example but , this video is more about showing the capabilities of finding resources where generally people don't even think of , telegram can't be trusted , it might stop it's services after like 20-30 years but RU-vid as we know is unlimited and owned by Google and will never be closed probably so it's more logical to use it than already available cloud storage
@CODE7X
@CODE7X 5 месяцев назад
@@apache937 yes , but the people who are already creative must learn atleast one programming language, so they can implement their ideas
@CODE7X
@CODE7X 5 месяцев назад
Rather than people who know programming language who should find creativity , they can probably focus on different applications of programming
@anonymous-iu4th
@anonymous-iu4th 5 месяцев назад
This guy's going to be real confused when all his data starts mysteriously disappearing in about a years time
@equenos
@equenos 5 месяцев назад
You can attach multiple files to one message. This can reduce the amount of API calls and therefore reduce the uploading time, as well as deletion time.
@sailorgaijin8838
@sailorgaijin8838 5 месяцев назад
this is a fun little project that will definitely not have challenges and will definitely not look like a waste of energy especially because i can't put on my resume.
@vivival2742
@vivival2742 5 месяцев назад
The change in links will not affect the creation as you could simply do it using your discord bot - you can just save the channel/guild/message ID and make the bot fetch the message
@RomeDrori
@RomeDrori 5 месяцев назад
As someone with half a petabyte in their home NAS and most of it backed up to the cloud as well this is great but discords policies around data privacy scare me too much for that
@_NekOz
@_NekOz 5 месяцев назад
After being hacked, Discords account security also scares me.
@carlodrift
@carlodrift 5 месяцев назад
and they can ban your account for this
@algj
@algj 5 месяцев назад
RAID6 with different services such as Discord, Telegram, ...
@apache937
@apache937 5 месяцев назад
encryption!!!!
@apache937
@apache937 5 месяцев назад
you clicked a link and downloaded a "game" or gave your info to phishing site @@_NekOz
@pacg1801
@pacg1801 17 дней назад
Ive been doing this for about a year now. Helps me further categorize my data
@nuadarstark
@nuadarstark 5 месяцев назад
Someone actually has an app that does literally same thing with Telegram. It shares files with a Telegram chat and then downloads them from said chat if needed. It's really neat and completely free. And as long as you set it up right, also safe.
@dehdesh
@dehdesh 5 месяцев назад
That's kinda neat. I do something similar with 7zip where I compress it into part files and upload it, but not on the same scale. Usually just for Among Us mod packs. Kinda wonder if you could get a Discord bot to behave like a fileshare. That would be wild. Keep years worth of snapshots of all of your proxmox machines in discord
@catt0215
@catt0215 5 месяцев назад
Do note that discord has recently started adding features preparing for making every file uploaded to discord temporary, specifically because people do this and scams often use discord as a filehost, so be careful with this and watch out for any announcements about temporary files.
@pikachuchujelly7628
@pikachuchujelly7628 5 месяцев назад
Oh man that sucks! I've been in a bunch of Discord communities that have uploaded files for many years that we constantly go back to. I'd hate to see all of that get lost.
@catt0215
@catt0215 5 месяцев назад
@@pikachuchujelly7628 download it in that case
@pioter-ji1bo
@pioter-ji1bo 4 месяца назад
​@@pikachuchujelly7628better start backing those files up
@alexyowl
@alexyowl 5 месяцев назад
Bro has never used Telegram
@ylonsorillo8036
@ylonsorillo8036 Месяц назад
Well telegram has a 2gb limit already
@4notheranonhere
@4notheranonhere Месяц назад
​@@ylonsorillo8036 Have you ever heard of file splitting?
@Super0Tee
@Super0Tee Месяц назад
​@@ylonsorillo8036huh
@everydaydose7779
@everydaydose7779 Месяц назад
​@@ylonsorillo8036😂 you dont know shit
@nido84
@nido84 Месяц назад
​@@ylonsorillo80362,000mb > 25mb
@Visnetter
@Visnetter 4 месяца назад
Legit accidentally already did this yesterday. My laptop ran out of storage and I had a long recorded video from some gameplay I wanted to save. I thought to myself that I might as well upload it to youtube so that I can store it there. Worked like a charm
@redrush-hp9li
@redrush-hp9li 3 месяца назад
RIP compression
@nicholasyoa86
@nicholasyoa86 5 месяцев назад
Edit: 7:17 clarifies this, lookin' forward to how this is got around! Regarding 5:16, Discord is introducing a new feature where a file has an expiry time and special token when you click on a file. So even if they knew those 3 things, they'd also need the token and expiry parameters. It then just wouldn't work. NTTS covered this as a means to prevent from people using Discord's CDN as a malware host.
@taku1101
@taku1101 5 месяцев назад
how to get around this? get bot to fetch message content before link expires -> get new url parameters
@nicholasyoa86
@nicholasyoa86 5 месяцев назад
@@taku1101 I'm more interested how he does it web-development side. It's simple to do but I found it pretty cool that he built a dashboard and stuff as well, I'm not completely good with web development so find it interesting
@everypizza
@everypizza 5 месяцев назад
This is against the TOS. I don't have Discord, but I spend 15 minutes reading them.
@stevemelons
@stevemelons 5 месяцев назад
Get a life
@Sparkette
@Sparkette 5 месяцев назад
What section?
@everypizza
@everypizza 5 месяцев назад
@@Sparkette I honestly don't remember, i think it had something to do with causing problems with their servers
@fizztastik
@fizztastik 5 месяцев назад
Boohoo
@everypizza
@everypizza 5 месяцев назад
@@xboxblakeyjnr8280 law abiding citizens
@Denvigen
@Denvigen 2 дня назад
I love using my server to store videos and random files I have, very useful.
@jeffeNuts
@jeffeNuts 5 месяцев назад
Great stuff, thanks for posting this
@judahsievers7496
@judahsievers7496 5 месяцев назад
Fun and smart idea, however, for issues upon privacy and maybe size partitions, I would love to see a follow up video on how you do this for telegram , with a size limit of only 2GB per file.
@nicton_T
@nicton_T 4 дня назад
Telegram is the GOAT , very underrated app.
@dashman2062
@dashman2062 5 месяцев назад
Great video! Here is another idea I thought of. Why not just upload everything to the Internet Archive? As far as I know there isn't any limits- " no limit to number of files. However, from a systems perspective, we do not recommend files larger than 50 GBs to be uploaded or more than 1000 files, per single page" only con I can think of is the data would be public not private.
@0xC4aE1e5
@0xC4aE1e5 5 месяцев назад
I think it's like 2 TB per listing
@romancvijanovic7130
@romancvijanovic7130 5 месяцев назад
Discord and google are thankful for even more of your data.
@JEMODZ
@JEMODZ 5 месяцев назад
to bypass the "links expiring" with the new discord update you could make a bot send a message in a private server with the download attachment, then when u want to download the file again your bot reads the attachment url from the message, which will grab an updated url which will work.
@GafurovJasur
@GafurovJasur 4 месяца назад
In Telegram messenger you have unlimited storage forever btw
@rrinnlonginus
@rrinnlonginus 5 месяцев назад
It's understandable that the author does not want to release the code for this "solution" but then again this does not look like it is too hard to replicate. Regarding storage, I still find myself liking HDDs a lot for archiving. They are super cheap in terms of cost per GigaByte.
@apache937
@apache937 5 месяцев назад
just ask gpt 4 to create this
@rrinnlonginus
@rrinnlonginus 5 месяцев назад
@@apache937 That too lol Expanding from this idea, however, I believe more in a sort of hyper-intermediation involving both people and AI
@ninetysixvoid
@ninetysixvoid 5 месяцев назад
@@rrinnlonginus Or better get 7-Zip and create a split (25mb) archive
@ilusions4
@ilusions4 5 месяцев назад
I've noticed that files posted years ago don't exist anymore. Other projects like this one exist, but don't rely on them. just self-host nextcloud or something
@gothgirllicker
@gothgirllicker 5 месяцев назад
ive been doing this for years. i have a private gc with all my alt accounts and i store literally everything in it - be it a random video i need the link of, a date i need to remember, all my account emails/passwords or school files. its so useful, but definitely risky if someone hacks you.
@furkanoezbek6595
@furkanoezbek6595 5 месяцев назад
Beware: Discord shares every information that youre sending or uploading or writing to third parties and for analyses.
@PhoenixAscension554
@PhoenixAscension554 20 дней назад
@@furkanoezbek6595False.
@sanuthomas2657
@sanuthomas2657 5 месяцев назад
How about storing files in telegram?
@gampas7973
@gampas7973 26 дней назад
imagine running game servers on discord 💀💀
@Dennisjay9
@Dennisjay9 5 месяцев назад
Coding all this, uploading it, encoding it and then actually finding the file and doing everything in reverse to get it out. This is a great method to use if you value your time below $2 a month
@blake8027
@blake8027 5 месяцев назад
ive been doing this for so long! and im really impressed how discord can storage so much
@jerolarreta8857
@jerolarreta8857 2 месяца назад
Are you using discord for that??
@blake8027
@blake8027 2 месяца назад
not specifically for that..@@jerolarreta8857
@jimanterra703
@jimanterra703 5 месяцев назад
Discord already intent to make download links expire after some time.
@devdetour
@devdetour 5 месяцев назад
Right, by late this year/early next year I think they are aiming for. But like I mention toward the end of the video, from the details they have shared, I don't think expiring external CDN links will actually break this project. I might have to change it a bit, but I think it should overall still function!
@RadOo
@RadOo 5 месяцев назад
but isn't the bot just sending a "long text message with 'random' characters" ? this is what I see
@arjix8738
@arjix8738 5 месяцев назад
@@RadOo nope, discord shows a preview of the file
@SourMellon
@SourMellon 5 месяцев назад
Idea: make a new gmail 😊
@Battledragon4
@Battledragon4 5 месяцев назад
But this will only work as long as the bot exists (and Discord)? But what if the support for the bot ends?
@KingTalion
@KingTalion 5 месяцев назад
I used to save memes by sending them in a private discord server but I noticed that if they are there too long then some of the oldest ones, seemingly at random will start to be "not found"
@dan2800
@dan2800 5 месяцев назад
I would personally use splitting with WinRAR or something similar you can encrypt the entire thing and you aren't sending plain text + you get a bit of compression depending on type of the file
@bluesquare23
@bluesquare23 5 месяцев назад
There's a Unix utility called split. I don't know cause the guy didn't release his source. But my guess is he's having his nodejs app wrap a split command, or maybe there's already an NPM library that wraps split. As far as I know there's no way to have programmatic control over WinRAR. It's an end user desktop app, not really something you'd snitch into a larger project like this.
@dan2800
@dan2800 5 месяцев назад
@@bluesquare23 winrar was first thing that came to my mind but I'm sure there's some kind of CLI tool to zip files and split them in process
@apache937
@apache937 5 месяцев назад
7zip definitely has a cli tool which could be used by this @@dan2800
@apache937
@apache937 5 месяцев назад
tbh chatgpt 4 could create this with a few messages @@bluesquare23
@shinobuoshino5066
@shinobuoshino5066 5 месяцев назад
@@bluesquare23 lmao soydevs really will unironically spawn a new process to run a split command in system shell to split a buffer... Instead of just splitting the buffer they already have in memory in their own code.
@authom
@authom 5 месяцев назад
Interesting video. This is fairly simple to do but a clever idea. The arbitrary RU-vid storage has been done to death but in hindsight Discord would be really obvious to do this on. If you wanted to get real speed you could make this a CLI tool as opposed to web interface, to skip out on all the issues with using a browser. Also - react is a bit overkill for this, no? 😂
@12Rosen
@12Rosen 5 месяцев назад
HEY I KNOW YOU
@dav_france7850
@dav_france7850 5 месяцев назад
why would react be overkill? like seriously, do you think it's easier to do this with html and js? That frontend in react probably took at most a couple of hours to get the basic functionalities done
@no_name4796
@no_name4796 5 месяцев назад
React is probably overkill,but at the same time if a tool works and you can get things done fast, can you really call it overkill?
@dav_france7850
@dav_france7850 5 месяцев назад
@@no_name4796 but why would it be overkill in your opinion? and what would you use to do it
@WorriedArrow
@WorriedArrow 5 месяцев назад
agreed, use solid instead 😎
@MrWankerson
@MrWankerson Месяц назад
I've done this for years. I made a personal server for myself with labels and I always compressed the zip files to smaller sizes.
@villain_devious
@villain_devious Месяц назад
thats so cool! i got a question tho, how does a line of code that sends as text the "content" of the file looks like?
Далее
Where People Go When They Want to Hack You
34:40
Просмотров 228 тыс.
Why European Businesses Kinda Suck.
8:13
Просмотров 62 тыс.
Cool storing hack! 🤩 Smart Phone holder #gadget
00:41
За кого будете болеть ? ✊🏻
00:21
МЕТ ГАЛА, что это было?
1:09:17
Просмотров 205 тыс.
Stealing Storage from Telegram
11:11
Просмотров 182 тыс.
The Sudden Rise of Arc Browser
5:47
Просмотров 19 тыс.
Why Minecraft Players Built a Real Life Supercomputer
23:24
How A Steam Bug Deleted Someone’s Entire PC
11:49
Просмотров 832 тыс.
Two GPT-4os interacting and singing
5:55
Просмотров 1,6 млн
5 Gum: How to Completely Annihilate Your Brand Image
19:57
The power button can never be pressed!!
0:57
Просмотров 42 млн