Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Selfhosted
  3. File collecting program?

File collecting program?

Scheduled Pinned Locked Moved Selfhosted
selfhosted
23 Posts 15 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • object@sh.itjust.worksO [email protected]

    I find myself often having to transfer a random files from another person's device to mine. Existing file sharing solutions aren't exactly ideal because they either require me to remember a very long URL (file shares), or requiring me to log in on others' device (cloud). I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users. I understand it's not wise to accept files from unauthenticated users, but it would be so damn convenient. If there isn't one, I suppose that would be my next project.

    R This user is from outside of this forum
    R This user is from outside of this forum
    [email protected]
    wrote last edited by
    #7

    Firefox Send is open source, even though the public service is no longer offered.

    Here are some public instances and instructions for self hosting: https://github.com/timvisee/send-instances/tree/master?tab=readme-ov-file

    1 Reply Last reply
    0
    • object@sh.itjust.worksO [email protected]

      I find myself often having to transfer a random files from another person's device to mine. Existing file sharing solutions aren't exactly ideal because they either require me to remember a very long URL (file shares), or requiring me to log in on others' device (cloud). I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users. I understand it's not wise to accept files from unauthenticated users, but it would be so damn convenient. If there isn't one, I suppose that would be my next project.

      D This user is from outside of this forum
      D This user is from outside of this forum
      [email protected]
      wrote last edited by
      #8

      While I’m sure there’s a pre-canned tool out there for you, if you have basic software experience (which you seem to), this is one of those times where it’s usually most efficient to hack together a dumb CGI script and call it a day.

      This prompt should get you most of the way there, using your llm of choice:

      Write a minimalist cgi script to help upload files to a server. Upon a GET request, serve a light page with a centered form that takes in a file and a submission code. Submission codes will be stored on individual lines of a plaintext file. Adding new codes to this file is out of scope - but the codes will be 8-char hex strings (do validate that submission strings are not empty!). The script should accept the submission as a POST, and save the file to an upload dir if the submission code is valid.

      Vet the output, harden as needed, setup a systemd service to serve with busybox httpd, and optionally reverse-proxy. If you’ve done this sorta thing before, you can probably knock it out in a half hour.

      1 Reply Last reply
      1
      • object@sh.itjust.worksO [email protected]

        I am a teaching assistant, and occasionally people ask me why their code isn't working. I take it to my device so they can continue their work whilst I figure out the issue. I want to minimise the uploading complexity, and the time it takes to upload one.

        F This user is from outside of this forum
        F This user is from outside of this forum
        [email protected]
        wrote last edited by
        #9

        If you’re on the same network, take a look at snapdrop. It’s basically cross platform AirDrop.

        ? 1 Reply Last reply
        0
        • F [email protected]

          If you’re on the same network, take a look at snapdrop. It’s basically cross platform AirDrop.

          ? Offline
          ? Offline
          Guest
          wrote last edited by
          #10

          Looks like the project is dead…

          F 1 Reply Last reply
          0
          • object@sh.itjust.worksO [email protected]

            I find myself often having to transfer a random files from another person's device to mine. Existing file sharing solutions aren't exactly ideal because they either require me to remember a very long URL (file shares), or requiring me to log in on others' device (cloud). I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users. I understand it's not wise to accept files from unauthenticated users, but it would be so damn convenient. If there isn't one, I suppose that would be my next project.

            isokiero@sopuli.xyzI This user is from outside of this forum
            isokiero@sopuli.xyzI This user is from outside of this forum
            [email protected]
            wrote last edited by
            #11

            You could get around with a normal file share service (assuming you already are using one) via tinyurl or similar redirect. I don't know how much the free services track you or if they have other security implications, but I have couple of domains laying around and it would be pretty trivial to just create HTTP redirect from "class-a.up.mydomain.foo" to my nextcloud upload link.

            object@sh.itjust.worksO 1 Reply Last reply
            1
            • object@sh.itjust.worksO [email protected]

              I'll have to see if it works in my environment, but otherwise it looks cool! Thank you.

              C This user is from outside of this forum
              C This user is from outside of this forum
              [email protected]
              wrote last edited by
              #12

              Certainly!

              I've never used this one, but it could also work for you.

              1 Reply Last reply
              0
              • object@sh.itjust.worksO [email protected]

                I find myself often having to transfer a random files from another person's device to mine. Existing file sharing solutions aren't exactly ideal because they either require me to remember a very long URL (file shares), or requiring me to log in on others' device (cloud). I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users. I understand it's not wise to accept files from unauthenticated users, but it would be so damn convenient. If there isn't one, I suppose that would be my next project.

                dominiquec@lemmy.worldD This user is from outside of this forum
                dominiquec@lemmy.worldD This user is from outside of this forum
                [email protected]
                wrote last edited by
                #13

                NextCloud allows you to share a folder but for upload only.

                1 Reply Last reply
                5
                • object@sh.itjust.worksO [email protected]

                  I find myself often having to transfer a random files from another person's device to mine. Existing file sharing solutions aren't exactly ideal because they either require me to remember a very long URL (file shares), or requiring me to log in on others' device (cloud). I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users. I understand it's not wise to accept files from unauthenticated users, but it would be so damn convenient. If there isn't one, I suppose that would be my next project.

                  N This user is from outside of this forum
                  N This user is from outside of this forum
                  [email protected]
                  wrote last edited by [email protected]
                  #14

                  Is it a requirement that the files remain private? Because if what you're after is something more akin to publishing, distribution, or otherwise making them public for anyone to download, I might have something for you.

                  1 Reply Last reply
                  0
                  • ? Guest

                    Looks like the project is dead…

                    F This user is from outside of this forum
                    F This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #15

                    I’m sure there’s a decent fork. Read the code; there’s not much to it!

                    1 Reply Last reply
                    0
                    • object@sh.itjust.worksO [email protected]

                      I am a teaching assistant, and occasionally people ask me why their code isn't working. I take it to my device so they can continue their work whilst I figure out the issue. I want to minimise the uploading complexity, and the time it takes to upload one.

                      irmadlad@lemmy.worldI This user is from outside of this forum
                      irmadlad@lemmy.worldI This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #16

                      If it's code, would a private pastebin work for you?

                      1 Reply Last reply
                      2
                      • object@sh.itjust.worksO [email protected]

                        I am a teaching assistant, and occasionally people ask me why their code isn't working. I take it to my device so they can continue their work whilst I figure out the issue. I want to minimise the uploading complexity, and the time it takes to upload one.

                        P This user is from outside of this forum
                        P This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #17

                        Is a server a requirement? I haven't tried myself but localsend (p2p) comes to mind.

                        object@sh.itjust.worksO 1 Reply Last reply
                        0
                        • P [email protected]

                          Is a server a requirement? I haven't tried myself but localsend (p2p) comes to mind.

                          object@sh.itjust.worksO This user is from outside of this forum
                          object@sh.itjust.worksO This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #18

                          It would be desirable, as I don't have to be prepared whenever someone starts sending a file, but I suppose I can live without it. Thank you for the suggestion!

                          1 Reply Last reply
                          2
                          • isokiero@sopuli.xyzI [email protected]

                            You could get around with a normal file share service (assuming you already are using one) via tinyurl or similar redirect. I don't know how much the free services track you or if they have other security implications, but I have couple of domains laying around and it would be pretty trivial to just create HTTP redirect from "class-a.up.mydomain.foo" to my nextcloud upload link.

                            object@sh.itjust.worksO This user is from outside of this forum
                            object@sh.itjust.worksO This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #19

                            I honestly did not know Nextcloud allowed uploads without login. I definitely need to check that out.

                            1 Reply Last reply
                            0
                            • object@sh.itjust.worksO [email protected]

                              I find myself often having to transfer a random files from another person's device to mine. Existing file sharing solutions aren't exactly ideal because they either require me to remember a very long URL (file shares), or requiring me to log in on others' device (cloud). I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users. I understand it's not wise to accept files from unauthenticated users, but it would be so damn convenient. If there isn't one, I suppose that would be my next project.

                              I This user is from outside of this forum
                              I This user is from outside of this forum
                              [email protected]
                              wrote last edited by [email protected]
                              #20

                              I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users.

                              Email does that. Anyone can send it to your mailbox, only you can download it.

                              object@sh.itjust.worksO 1 Reply Last reply
                              0
                              • I [email protected]

                                I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users.

                                Email does that. Anyone can send it to your mailbox, only you can download it.

                                object@sh.itjust.worksO This user is from outside of this forum
                                object@sh.itjust.worksO This user is from outside of this forum
                                [email protected]
                                wrote last edited by [email protected]
                                #21

                                Actually, that's what I've done. It gets a bit tedious when the file size gets a bit big.

                                M 1 Reply Last reply
                                0
                                • object@sh.itjust.worksO [email protected]

                                  Actually, that's what I've done. It gets a bit tedious when the file size gets a bit big.

                                  M This user is from outside of this forum
                                  M This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #22

                                  You may be surprised but a private (self-hosted) torrent tracker is how I did this when I had crappy internet and had to send over a bunch of pictures and video to family.

                                  You can encrypt the data before sending, although it still should be fairly safe, speeds don't matter much, there's no storage to pay for or risk leaking.

                                  1 Reply Last reply
                                  2
                                  • object@sh.itjust.worksO [email protected]

                                    I find myself often having to transfer a random files from another person's device to mine. Existing file sharing solutions aren't exactly ideal because they either require me to remember a very long URL (file shares), or requiring me to log in on others' device (cloud). I'm wondering if there's a program where anyone can upload files, but can only be viewed and downloaded from the server by authenticated users. I understand it's not wise to accept files from unauthenticated users, but it would be so damn convenient. If there isn't one, I suppose that would be my next project.

                                    C This user is from outside of this forum
                                    C This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #23

                                    I really like using Gokapi for this, like your own file paste bin to throw between PCs or send to people. Upload via link is development as well. https://github.com/Forceu/Gokapi

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Login or register to search.
                                    Powered by NodeBB Contributors
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups