Stealing Storage from Discord

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2023
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2.7K

  • @Palozon
    @Palozon 5 หลายเดือนก่อน +12583

    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 หลายเดือนก่อน +527

      Wait that is a bit?

    • @turolretar
      @turolretar 5 หลายเดือนก่อน +260

      Here’s a prime example of someone who doesn’t yet understand the sigma grindset

    • @ashxxiv
      @ashxxiv 5 หลายเดือนก่อน +199

      ​@@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 หลายเดือนก่อน +4467

    If they introduced data per account or device, then remember this guy here

    • @KhaledSham
      @KhaledSham 5 หลายเดือนก่อน +46

      fr

    • @kurdm1482
      @kurdm1482 5 หลายเดือนก่อน +9

      lol

    • @AlOqab_
      @AlOqab_ 5 หลายเดือนก่อน +20

      if they did so then just stop using discord lol

    • @Redice_47
      @Redice_47 5 หลายเดือนก่อน +42

      @@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 หลายเดือนก่อน +5

      just make the bot make a new account lol

  • @capella5783
    @capella5783 13 วันที่ผ่านมา +387

    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 9 วันที่ผ่านมา +41

      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

    • @xAnonymousComedia
      @xAnonymousComedia 5 วันที่ผ่านมา +4

      I did this on an msn conversation with a bot

    • @user-bs7mv5rh1u
      @user-bs7mv5rh1u 4 วันที่ผ่านมา

      Me too. Stopped using yahoo for this reason. ​@@Tirexo

    • @capella5783
      @capella5783 3 วันที่ผ่านมา +2

      @@Tirexo I know, back in the early 2000s I spent most of my time posting 'bro stfu' on videos telling everyone about it. Its liks its not going to be a secret anymore dude dont you think Yahoo employees will watch this video too?

  • @NECOdes
    @NECOdes 5 หลายเดือนก่อน +1508

    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 หลายเดือนก่อน +184

      yea there are many pirating telegrams where they split the games into 2gb files

    • @AKA-Latromi
      @AKA-Latromi 5 หลายเดือนก่อน +135

      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 หลายเดือนก่อน +49

      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.

  • @illiksis
    @illiksis 5 หลายเดือนก่อน +12997

    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 หลายเดือนก่อน +697

      DO NOT *insert sticker*

    • @trwygon
      @trwygon 5 หลายเดือนก่อน +541

      not to mention it is all publicly available to anyone with the URL to it

    • @ktokolwiek8545
      @ktokolwiek8545 5 หลายเดือนก่อน +291

      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 หลายเดือนก่อน +121

      This is a proof of concept man, chill

  • @PatrickJBauer89
    @PatrickJBauer89 5 หลายเดือนก่อน +2021

    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 หลายเดือนก่อน +43

      if the stream breaks mitfile u have chunks of uselss data n the server? how can we handle that?

    • @CodeMark
      @CodeMark 5 หลายเดือนก่อน +124

      @@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 หลายเดือนก่อน +28

      @@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 หลายเดือนก่อน +6

      @@PatrickJBauer89 ​@CodeMark ok cool thx both of u

    • @darshanhihoriya
      @darshanhihoriya 5 หลายเดือนก่อน +12

      I have more than 100TB of data on discord 😂

  • @user-ex1dj3dd7g
    @user-ex1dj3dd7g 15 วันที่ผ่านมา +128

    Bro left discord flabbergasted 😂

  • @abdullahtahir991
    @abdullahtahir991 5 หลายเดือนก่อน +44

    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

  • @calebanderson1532
    @calebanderson1532 5 หลายเดือนก่อน +2118

    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 หลายเดือนก่อน +153

      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 หลายเดือนก่อน +28

      @@dennisunderscore We had the same idea, streams API is really nice for this kind of stuff.

    • @chy4e431
      @chy4e431 5 หลายเดือนก่อน +22

      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 หลายเดือนก่อน +3

      @@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

  • @devdetour
    @devdetour  5 หลายเดือนก่อน +5637

    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 หลายเดือนก่อน +13

      interesting video bro

    • @peturgullak4527
      @peturgullak4527 5 หลายเดือนก่อน +53

      unless you have a back up on youtube discord facebook. make the code available so everyone can get free data storage

    • @Kat21
      @Kat21 5 หลายเดือนก่อน +15

      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 หลายเดือนก่อน +20

      there's already other discord uploaders that do the same thing that have been around for a few years

  • @1BP6
    @1BP6 5 หลายเดือนก่อน +8

    this is great, the usage of nodejs this way kinda inspiring keep it up bro

  • @immortaljellyfish9364
    @immortaljellyfish9364 หลายเดือนก่อน +216

    Telegram users in the corner 😏😏

    • @mangata5833
      @mangata5833 20 วันที่ผ่านมา +20

      yea i have been searching for this kind of comments Telegram really works greate

    • @Imtitled
      @Imtitled 17 วันที่ผ่านมา

      Same bro ​@@mangata5833

    • @ktytyi
      @ktytyi 14 วันที่ผ่านมา

      uploadgram is dead tho

    • @waludalu5102
      @waludalu5102 13 วันที่ผ่านมา +6

      i have been saving entire movies in my telegram

    • @TheInternationalJew
      @TheInternationalJew 8 วันที่ผ่านมา

      ​@@waludalu5102Absolute beast

  • @thereallyrealplayer9676
    @thereallyrealplayer9676 5 หลายเดือนก่อน +313

    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 หลายเดือนก่อน +14

      oh damn im scared thats happened to my archives

    • @waterbucket4358
      @waterbucket4358 5 หลายเดือนก่อน +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 หลายเดือนก่อน +2

      ​@@velevetyysame, is there a solution?

    • @dollaz4647
      @dollaz4647 5 หลายเดือนก่อน +5

      I still got all my stuff

  • @subashchandra9557
    @subashchandra9557 5 หลายเดือนก่อน +381

    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 หลายเดือนก่อน +30

      No because nobody else will implement something so inconvenient

    • @avishjha4030
      @avishjha4030 5 หลายเดือนก่อน +118

      @@MushookieMan You really haven't seen the lengths some people go to XD.

    • @Tumleren
      @Tumleren 5 หลายเดือนก่อน +56

      @@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 หลายเดือนก่อน +35

      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.

  • @isak5263
    @isak5263 12 วันที่ผ่านมา +6

    My dude we were already doing this, this video just exposes our secrets to the wrong people.

  • @Corncycle
    @Corncycle 2 หลายเดือนก่อน +6

    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

  • @rbxXlXi
    @rbxXlXi 5 หลายเดือนก่อน +323

    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 หลายเดือนก่อน +13

      Cyclic Redundancy Check

    • @lokomen9
      @lokomen9 5 หลายเดือนก่อน

      @@rakeshchowdhury202 just call it CRC

    • @ErroR_FX
      @ErroR_FX 5 หลายเดือนก่อน +4

      how I coded my own fs using discord cdn

  • @MiSt3300
    @MiSt3300 5 หลายเดือนก่อน +59

    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

  • @thatsfsguy3609
    @thatsfsguy3609 4 หลายเดือนก่อน +55

    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 29 วันที่ผ่านมา +3

      glue!!!

    • @mileskimasktheslumpgod
      @mileskimasktheslumpgod 17 วันที่ผ่านมา

      i do this too! it makes it very easy to organize and search for too

    • @vurinz
      @vurinz 15 วันที่ผ่านมา +1

      same

  • @rorysmistakes
    @rorysmistakes 5 หลายเดือนก่อน +12

    This reminds me of suckerpinch's "harder drives" video - you have a very similar energy! Loved the video, +1 sub

  • @CreativeMindsAudio
    @CreativeMindsAudio 6 หลายเดือนก่อน +108

    This is awesome! I was thinking you were just going to upload rar files with like 25MB each file, like how usenet newsgroups were.

  • @kevinorr54
    @kevinorr54 5 หลายเดือนก่อน +87

    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

  • @ptzski
    @ptzski 5 หลายเดือนก่อน +16

    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!

  • @atablevendetta1429
    @atablevendetta1429 5 หลายเดือนก่อน

    I had been wanting to do something like this for years. Awesome you did it!

  • @level7feeders13
    @level7feeders13 5 หลายเดือนก่อน +152

    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

  • @JakalairVG
    @JakalairVG 5 หลายเดือนก่อน +68

    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. 13 วันที่ผ่านมา +1

      IRC?

    • @JakalairVG
      @JakalairVG 13 วันที่ผ่านมา

      @@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. 12 วันที่ผ่านมา

      @@JakalairVG Ohh okay! Thank you so much, that teacher must've gotten a good laugh from you two lol

    • @JakalairVG
      @JakalairVG 12 วันที่ผ่านมา

      @@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_ 7 วันที่ผ่านมา +2

      You know you're getting old when people are asking about IRC hahaha

  • @maksimal3498
    @maksimal3498 5 หลายเดือนก่อน +2

    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!

  • @boxdog54
    @boxdog54 5 หลายเดือนก่อน +8

    I had this idea a few months back, but didn't have the coding know-how. Really cool project!

  • @Ollig999
    @Ollig999 6 หลายเดือนก่อน +65

    This is really cool! I expected you to have hundreds of thousands of subs with this kind of quality

  • @Evansmustard
    @Evansmustard 5 หลายเดือนก่อน +68

    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 หลายเดือนก่อน +34

      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 หลายเดือนก่อน +17

      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 หลายเดือนก่อน +19

      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

  • @alexyowl
    @alexyowl 5 หลายเดือนก่อน +168

    Bro has never used Telegram

    • @ylonsorillo8036
      @ylonsorillo8036 หลายเดือนก่อน +8

      Well telegram has a 2gb limit already

    • @anotheranonhere
      @anotheranonhere หลายเดือนก่อน

      ​@@ylonsorillo8036 Have you ever heard of file splitting?

    • @Super0Tee
      @Super0Tee หลายเดือนก่อน

      ​@@ylonsorillo8036huh

    • @everydaydose7779
      @everydaydose7779 หลายเดือนก่อน

      ​@@ylonsorillo8036😂
      you dont know shit

    • @nido84
      @nido84 หลายเดือนก่อน

      ​@@ylonsorillo80362,000mb > 25mb

  • @GreenyThaBeany
    @GreenyThaBeany 5 หลายเดือนก่อน

    DESERVED SUBCRIBE!!! Amazing work, you made me rethink my cloud storage provider :P

  • @SoulisYT
    @SoulisYT 5 หลายเดือนก่อน +12

    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

  • @Stego27
    @Stego27 5 หลายเดือนก่อน +223

    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 หลายเดือนก่อน +14

      @@BeastSupreme735bot

  • @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 TH-cam grind brother

  • @vngelnumbers
    @vngelnumbers 5 หลายเดือนก่อน +2

    been doing this since 2018, really helpful to store screenshots.

  • @acumen8566
    @acumen8566 5 หลายเดือนก่อน +4

    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!

  • @kleins0
    @kleins0 5 หลายเดือนก่อน +13

    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

  • @KrisztianKecskes
    @KrisztianKecskes 4 หลายเดือนก่อน

    I did my university thesis on basically the same thing :) It is really amazing to see this.

  • @ExhaustedOC
    @ExhaustedOC 7 วันที่ผ่านมา +4

    Good job, now all because of YOU Discord no longer allows any image url to stay longer than a day outside discord.

    • @deadboltzz5199
      @deadboltzz5199 12 ชั่วโมงที่ผ่านมา

      Lol he did it on purpose

  • @toeb.
    @toeb. 5 หลายเดือนก่อน +4

    The level of quality information and subtle humour is amazing. Subbed.

  • @Goldfish_Vender
    @Goldfish_Vender 5 หลายเดือนก่อน +19

    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 หลายเดือนก่อน +1

      It's funny, but increases the burden on an otherwise free service.

    • @cezarcatalin1406
      @cezarcatalin1406 5 หลายเดือนก่อน +1

      @@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.

  • @dauntingkitty
    @dauntingkitty 12 วันที่ผ่านมา

    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

  • @crtrcor2e
    @crtrcor2e 5 หลายเดือนก่อน +4

    One of the best videos i seen this year. Great work your content is as great as your projects.

  • @catt0215
    @catt0215 5 หลายเดือนก่อน +28

    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 หลายเดือนก่อน +8

      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

    • @nathangebreselassie8515
      @nathangebreselassie8515 6 วันที่ผ่านมา

      Removes the point of pins I guess

  • @ronsijm
    @ronsijm 5 หลายเดือนก่อน +84

    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 หลายเดือนก่อน +1

      uncompressed images are downloadable from the cdn, though some exif stripping is done

    • @infernalfire2104
      @infernalfire2104 5 หลายเดือนก่อน +1

      thats just a database with more steps

    • @MrBa143
      @MrBa143 5 หลายเดือนก่อน +1

      @@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 หลายเดือนก่อน +1

      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.

  • @kumalalalalalalaa7045
    @kumalalalalalalaa7045 5 หลายเดือนก่อน +1

    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!

  • @anonymous-iu4th
    @anonymous-iu4th 5 หลายเดือนก่อน +12

    This guy's going to be real confused when all his data starts mysteriously disappearing in about a years time

  • @errorlooo8124
    @errorlooo8124 5 หลายเดือนก่อน +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.

  • @somexne
    @somexne 5 หลายเดือนก่อน +4

    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.

  • @yennhinguyen6746
    @yennhinguyen6746 4 วันที่ผ่านมา

    You might be giving them companies ideass brooo stawp 😭

  • @mixxedxyz
    @mixxedxyz 5 หลายเดือนก่อน +1

    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.

  • @Baisernours
    @Baisernours 5 หลายเดือนก่อน +18

    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.

  • @RomeDrori
    @RomeDrori 5 หลายเดือนก่อน +14

    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

    • @Ozzianman
      @Ozzianman 5 หลายเดือนก่อน +3

      After being hacked, Discords account security also scares me.

    • @carlodrift
      @carlodrift 5 หลายเดือนก่อน +2

      and they can ban your account for this

    • @algj
      @algj 5 หลายเดือนก่อน +1

      RAID6 with different services such as Discord, Telegram, ...

    • @apache937
      @apache937 5 หลายเดือนก่อน +1

      encryption!!!!

    • @apache937
      @apache937 5 หลายเดือนก่อน

      you clicked a link and downloaded a "game" or gave your info to phishing site @@Ozzianman

  • @bradyciessau3299
    @bradyciessau3299 5 หลายเดือนก่อน

    Ive been doing this for a couple years now. Its been the neatest work out ive came across lol

  • @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!

  • @bkmnst
    @bkmnst 5 หลายเดือนก่อน +26

    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 หลายเดือนก่อน +15

      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 หลายเดือนก่อน +18

      @@chrisdawson1776 blud thinks he is cool

  • @MarCrisMoli
    @MarCrisMoli 5 หลายเดือนก่อน +20

    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 หลายเดือนก่อน +23

      I hope you're not expecting any kind of privacy

    • @shinobuoshino5066
      @shinobuoshino5066 5 หลายเดือนก่อน +2

      @@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 5 หลายเดือนก่อน

      no one cares keep crying@@xIronWarlordx

  • @KingTalion
    @KingTalion 5 หลายเดือนก่อน +2

    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"

  • @TherealDomikoso
    @TherealDomikoso 5 หลายเดือนก่อน +6

    this guy is the reason discord is making discord files temporary :)

  • @MattWyskiel
    @MattWyskiel 5 หลายเดือนก่อน +16

    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...

  • @user-qw9yf6zs9t
    @user-qw9yf6zs9t 5 หลายเดือนก่อน +61

    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 หลายเดือนก่อน +37

      @@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 หลายเดือนก่อน +7

      Slightly better solution would be not actually using archives, but raw algorithms, like DEFLATE, Brotli, etc.

  • @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.

  • @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.

  • @everypizza
    @everypizza 5 หลายเดือนก่อน +245

    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 หลายเดือนก่อน +9

      What section?

    • @everypizza
      @everypizza 5 หลายเดือนก่อน +34

      @@Sparkette I honestly don't remember, i think it had something to do with causing problems with their servers

    • @fizztastik
      @fizztastik 5 หลายเดือนก่อน +54

      Boohoo

    • @everypizza
      @everypizza 5 หลายเดือนก่อน

      @@xboxblakeyjnr8280 law abiding citizens

  • @topgames451
    @topgames451 6 หลายเดือนก่อน +11

    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?

  • @GR4B0VZKY
    @GR4B0VZKY 5 หลายเดือนก่อน +1

    ive been doing that for ages with my art and school stuff, very useful indeed

  • @equenos
    @equenos 5 หลายเดือนก่อน +1

    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.

  • @the_zlatk0
    @the_zlatk0 5 หลายเดือนก่อน +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!

  • @dehdesh
    @dehdesh 5 หลายเดือนก่อน +9

    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

  • @Makayasa
    @Makayasa 5 หลายเดือนก่อน

    damn, i've been thinking about this stuff and finally someone just made it

  • @notanonymous3976
    @notanonymous3976 15 วันที่ผ่านมา

    this is mind-blowing stuff. well done

  • @vivival2742
    @vivival2742 5 หลายเดือนก่อน +3

    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

  • @nicholasyoa86
    @nicholasyoa86 5 หลายเดือนก่อน +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

  • @pacg1801
    @pacg1801 24 วันที่ผ่านมา

    Ive been doing this for about a year now. Helps me further categorize my data

  • @krish4659
    @krish4659 6 วันที่ผ่านมา

    i've doing it for years, i just upload all my codes , projects , images in discord by creating a private server .
    i can organize them with channels, add bots to delete some of them , pin the important things ... its just easy, free, convinient
    your application is cool ! maybe i'll also try to build it for my college project! thanks for idea

  • @judahsievers7496
    @judahsievers7496 5 หลายเดือนก่อน +4

    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 10 วันที่ผ่านมา

      Telegram is the GOAT , very underrated app.

  • @CODE7X
    @CODE7X 5 หลายเดือนก่อน +3

    The godly power you get by learning a programming language and a bit of creativity is insane

    • @apache937
      @apache937 5 หลายเดือนก่อน +2

      creativity is the hard part

    • @skydivenext
      @skydivenext 5 หลายเดือนก่อน +1

      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 TH-cam 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 หลายเดือนก่อน +2

      @@apache937 yes , but the people who are already creative must learn atleast one programming language, so they can implement their ideas

    • @CODE7X
      @CODE7X 5 หลายเดือนก่อน +1

      Rather than people who know programming language who should find creativity , they can probably focus on different applications of programming

  • @heckinmemes6430
    @heckinmemes6430 หลายเดือนก่อน +1

    I remember using file splitters to get big files onto multiple floppies. Everything old is new again it seems.

  • @Denvigen
    @Denvigen 9 วันที่ผ่านมา

    I love using my server to store videos and random files I have, very useful.

  • @GafurovJasur
    @GafurovJasur 4 หลายเดือนก่อน +7

    In Telegram messenger you have unlimited storage forever btw

  • @dashman2062
    @dashman2062 5 หลายเดือนก่อน +3

    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

  • @ilusions4
    @ilusions4 5 หลายเดือนก่อน +2

    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

  • @jimanterra703
    @jimanterra703 6 หลายเดือนก่อน +7

    Discord already intent to make download links expire after some time.

    • @devdetour
      @devdetour  6 หลายเดือนก่อน +3

      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 6 หลายเดือนก่อน

      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

  • @rrinnlonginus
    @rrinnlonginus 5 หลายเดือนก่อน +6

    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 หลายเดือนก่อน +2

      just ask gpt 4 to create this

    • @rrinnlonginus
      @rrinnlonginus 5 หลายเดือนก่อน +1

      @@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

  • @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

  • @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?

  • @dan2800
    @dan2800 5 หลายเดือนก่อน +12

    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 หลายเดือนก่อน +2

      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 หลายเดือนก่อน +2

      @@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 หลายเดือนก่อน +32

    Interesting video. This is fairly simple to do but a clever idea. The arbitrary TH-cam 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 หลายเดือนก่อน +1

      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 หลายเดือนก่อน +3

      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 หลายเดือนก่อน +1

      @@no_name4796 but why would it be overkill in your opinion? and what would you use to do it

    • @WorriedArrow
      @WorriedArrow 5 หลายเดือนก่อน +1

      agreed, use solid instead 😎

  • @v2vvs
    @v2vvs 5 หลายเดือนก่อน

    i've been thinking about using youtube as my "cloud storage" when i was showering and then this video is popped out of nowhere.

  • @ayoSinFGC
    @ayoSinFGC 5 หลายเดือนก่อน +1

    ngl my friends did something like this before and we've kept in under wraps, I hope discord stays cool about it

  • @flouride
    @flouride 5 หลายเดือนก่อน +3

    discords gonna limit file sizes to 1 mb after this

  • @sanuthomas2657
    @sanuthomas2657 5 หลายเดือนก่อน +3

    How about storing files in telegram?

  • @repliqa__
    @repliqa__ หลายเดือนก่อน +1

    Everyone gangsta till Discord random start deleting files on their servers. It's in the ToS that files you upload on Discord have no guarantee that they would always remain on their cloud storage.

  • @parmesanzero7678
    @parmesanzero7678 5 หลายเดือนก่อน

    For TH-cam, you could use very old tape drive tech. Yeah it’s slow, but it’s efficient.
    I’d expect Discord to do the same thing other messaging apps like Skype have done and eventually delete old attachments.
    You might have to paste raw data. Good luck if that happens, given the character limits!

  • @SourMellon
    @SourMellon 5 หลายเดือนก่อน +3

    Idea: make a new gmail 😊

  • @codingwithsam4992
    @codingwithsam4992 15 วันที่ผ่านมา +4

    Bro what abt telegram

  • @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

  • @mjustbetter
    @mjustbetter 5 หลายเดือนก่อน

    now i gotta subscribe to see if discord break the files or not :3