[main] Blossom mod file uploads with mirroring/spreading #167

Open
opened 2024-12-01 16:06:40 +00:00 by freakoverse · 0 comments
Owner

To be written

Notes:

  1. This doesn't remove the ability for the user to add links from other sources manually.
  2. There'd be suggested blossom servers to upload files to (showcasing their max file upload limit; text under it)
    2.1. There'd also be a field to add a link from an external source that would be the mod files (so the user can just copy/paste the mod file link to upload to, instead of uploading from their pc) with a button to begin the upload process from that link
    2.2. The above would be done by having a button in the middle "3 servers selected", clicking it would bring up a popup with checkboxes on servers that we've set up, but also an extra field with a plus button next to it to add more, and such additions are saved locally on the user's pc so they wouldn't have to keep adding them each time (defaults can't be removed, but they can be turned off. user additions can be removed and turned off / unchecked) )
  3. Upon upload, it would also (randomly) mirror what was uploaded (via bud-04 mirror, not user-reuploading) to 2 other blossoms from the list we got (speaking of that, this list might be updated every now and then depending if some of them shut down or block deg mods. Also, if one fails to mirror to, it would select another to attempt until it exhausts its options)
  4. There'd be a field where the user can also mirror what's uploaded to what they add (in case all blossom server options are broken and/or the user just wants to increase the number of mirrors, and or wants to just have it as a backup).
    4.1. To give the option if the publisher/creator wants to make that link available for public or not
    4.2. They add add multiples of this with [+] and with the same public/private option
  5. Once published, users click the download button and goes through the process going through all links/mirrors (first one, works, great, doesn't then tries the next link, and so on)
  6. Users can also click a button called 'backup' that triggers a popup with a field to add a blossom server link to mirror the file to, and a toggle option if the user wants to make that public for people to know that server and potentially download from it (similar to before, they can do this multiple times with [+] button that adds another field). Generally speaking, the user should have it set up where they'd have a whitelist of their npub so that they can only upload to their own server (we'd mention that in text warning them). I'm not sure how we can publicize their server in association with the mod post they're backup the files for so we and users and the post itself can easily find it, something like replying to the post but it's just their blossom server link (wouldn't be a normal reply of course).
    6.1. these user-added public backups would be separate links, but utilized as part of the download failsafe process mentioned previously (haven't decided if all, partial, or no links would be visible for the public or not).
  7. (i guess this is for consideration since we don't have a subscription thing yet) For Premium Plus subscribers, it'd be mentioned that their upload would be backedup/mirrored on DEG Mod's servers and present them as the primary download (which would also hopefully include a malware scan function and generates a scan report and auto filled in the malware field, if it is empty, otherwise trigger a popup to mention if the user wants to replace the filled field with that generated report).
  8. To showcase a malware scan mark if it was auto generated through such a method, if not then show a different mark if it was user-added
  9. To package Blossom / Blossom Drive and publish it to Umbrel so users can easily (ish) setup their own Blossom to do the above.

Useful things:

  1. https://blossomservers.com/
  2. Mirroring using BUD-04.
    3.1. More specifics on imeta blobs
  3. When main download link breaks, it tries to find it elsewhere
  4. For focusing on files rather than just media files
To be written Notes: 1. This doesn't remove the ability for the user to add links from other sources manually. 2. There'd be suggested blossom servers to upload files to (showcasing their max file upload limit; text under it) 2.1. There'd also be a field to add a link from an external source that would be the mod files (so the user can just copy/paste the mod file link to upload to, instead of uploading from their pc) with a button to begin the upload process from that link 2.2. The above would be done by having a button in the middle "3 servers selected", clicking it would bring up a popup with checkboxes on servers that we've set up, but also an extra field with a plus button next to it to add more, and such additions are saved locally on the user's pc so they wouldn't have to keep adding them each time (defaults can't be removed, but they can be turned off. user additions can be removed and turned off / unchecked) ) 3. Upon upload, it would also (randomly) mirror what was uploaded (via bud-04 mirror, not user-reuploading) to 2 other blossoms from the list we got (speaking of that, this list might be updated every now and then depending if some of them shut down or block deg mods. Also, if one fails to mirror to, it would select another to attempt until it exhausts its options) 4. There'd be a field where the user can also mirror what's uploaded to what they add (in case all blossom server options are broken and/or the user just wants to increase the number of mirrors, and or wants to just have it as a backup). 4.1. To give the option if the publisher/creator wants to make that link available for public or not 4.2. They add add multiples of this with [+] and with the same public/private option 5. Once published, users click the download button and goes through the process going through all links/mirrors (first one, works, great, doesn't then tries the next link, and so on) 6. Users can also click a button called 'backup' that triggers a popup with a field to add a blossom server link to mirror the file to, and a toggle option if the user wants to make that public for people to know that server and potentially download from it (similar to before, they can do this multiple times with [+] button that adds another field). Generally speaking, the user should have it set up where they'd have a whitelist of their npub so that they can only upload to their own server (we'd mention that in text warning them). I'm not sure how we can publicize their server in association with the mod post they're backup the files for so we and users and the post itself can easily find it, something like replying to the post but it's just their blossom server link (wouldn't be a normal reply of course). 6.1. these user-added public backups would be separate links, but utilized as part of the download failsafe process mentioned previously (haven't decided if all, partial, or no links would be visible for the public or not). 7. (i guess this is for consideration since we don't have a subscription thing yet) For Premium Plus subscribers, it'd be mentioned that their upload would be backedup/mirrored on DEG Mod's servers and present them as the primary download (which would also hopefully include a malware scan function and generates a scan report and auto filled in the malware field, if it is empty, otherwise trigger a popup to mention if the user wants to replace the filled field with that generated report). 8. To showcase a malware scan mark if it was auto generated through such a method, if not then show a different mark if it was user-added 9. To package Blossom / Blossom Drive and publish it to Umbrel so users can easily (ish) setup their own Blossom to do the above. Useful things: 1. https://blossomservers.com/ 2. [Mirroring](https://primal.net/e/nevent1qqsgt9a6dcukuhw96ep24ngm30xmnetkyrcwjmywk2zgx37wqzp3tkspzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgdwaehxw309ahx7uewd3hkcq3qye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjs7kqcaj) using [BUD-04](https://github.com/hzrd149/blossom/blob/master/buds/04.md). 3.1. [More specifics](https://primal.net/e/note1lpav7a747690yt55ghzm7v4p48pkp3shgh6d0uv3cl3c3ke55mmq3smw6t) on imeta blobs 4. When main download link breaks, it tries to [find it elsewhere](https://primal.net/e/note18zxsmztdyngvp87uwuwmhd80efnurdrjrelt3ltrfehh52d949csejpg36) 5. For [focusing on files](https://primal.net/e/note1jk8hap9xf3kwkd7qp03vhaktlwk2s9e67u4zueufp6rrw5paqxqqurlkcu) rather than just media files
freakoverse added the
Kind/Feature
Priority
High
labels 2024-12-01 16:06:40 +00:00
freakoverse added this to the Main Features (Phase 3) project 2024-12-01 16:06:40 +00:00
freakoverse changed title from [Main[ Blossom mod file uploads with mirroring/spreading to [main] Blossom mod file uploads with mirroring/spreading 2024-12-01 16:06:51 +00:00
Sign in to join this conversation.
No description provided.