Giter Site home page Giter Site logo

Comments (9)

ShaneIsrael avatar ShaneIsrael commented on August 16, 2024

This kinda goes beyond the scope of what Fireshare is trying to achieve. If a feature like this were to be implemented it wouldn't be until much further down the line. What you are wanting sounds more like something software like Peertube solves.

But if you really like the simplicity of Fireshare in terms of setup and usability what I would recommend doing is setting up a couple shared network folders within the root video folder that you mount. Give each friend their own folder that they can drop files into. Fireshare would pick them up all the same and it would give the same result.

/videos/friend 1/
/videos/friend 2/

from fireshare.

AliMickey avatar AliMickey commented on August 16, 2024

Yeah, i've thought of that, but then I need to host a different service to allow uploading via web to the local folder.

I just found out that this is using Flask which I am very familiar with. I will definitely try and implement something when I get the chance.

from fireshare.

ShaneIsrael avatar ShaneIsrael commented on August 16, 2024

Add the folders to Google Drive and share them. Your friends would upload to your google drive folder, which would sync the files down to your PC running Fireshare. This just requires you to set up google drive sync, but makes the uploading process for your friends super easy.

from fireshare.

AliMickey avatar AliMickey commented on August 16, 2024

That would still not be as streamlined as a built in upload.

from fireshare.

ShaneIsrael avatar ShaneIsrael commented on August 16, 2024

I'm only trying to give you semi decent workarounds that would work and be fairly painless.

The problem is that adding upload capability for other users besides the admin requires a bit of work and the feature itself falls outside of the core concept that Fireshare is built for. Peertube is more akin to a solution to your specific use case, I would check it out.

Uploading that supports multiple user accounts might be something that gets added in the far future but is not something that we'll be working on anytime soon because it just doesn't align with what we are trying to accomplish.

from fireshare.

Write avatar Write commented on August 16, 2024

An other idea is to use filebrowser inside a container and mount only needed directory. https://filebrowser.org/installation
It also support multiples users and comes with a permissions system so it's pretty awesome.
I only use it for myself and added fireshare video folder, it works great to upload easily !

docker-compose.yml

version: "3"
services:
  filebrowser:
    image: filebrowser/filebrowser
    container_name: filebrowser
    hostname: filebrowser
    user: 0:0
    networks:
      - backend
    volumes:
      - /root/fireshare/Vidéos:/srv
      - ./filebrowser.db:/database/filebrowser.db
      - ./filebrowser.json:/.filebrowser.json
    ports:
      - 9898:80
    restart: unless-stopped
networks:
  backend:
    external: true

filebrowser.json

{
  "port": 80,
  "baseURL": "",
  "address": "",
  "log": "stdout",
  "database": "/database/filebrowser.db",
  "root": "/srv"
}

from fireshare.

ShaneIsrael avatar ShaneIsrael commented on August 16, 2024

@Write This is an awesome solution that I may actually implement myself on my server.

from fireshare.

AliMickey avatar AliMickey commented on August 16, 2024

I'm only trying to give you semi decent workarounds that would work and be fairly painless.

The problem is that adding upload capability for other users besides the admin requires a bit of work and the feature itself falls outside of the core concept that Fireshare is built for. Peertube is more akin to a solution to your specific use case, I would check it out.

Uploading that supports multiple user accounts might be something that gets added in the far future but is not something that we'll be working on anytime soon because it just doesn't align with what we are trying to accomplish.

You do you, but PeerTube comes with unnecessary features for this use case.

In any case, I will implement a simple upload feature, the UI of Fireshare is better than existing projects and I personally would like to use it more than just a simple file viewer. Even Filebrowser (I use it for other purposes) is not a good alternative, as users need to visit two separate websites to accomplish basic video upload.

What you do with the PR is up to you. But I will definitely be making use of it on my own (as many others will be as well I'm sure).

Thanks for the cool project!

from fireshare.

ShaneIsrael avatar ShaneIsrael commented on August 16, 2024

I'm only trying to give you semi decent workarounds that would work and be fairly painless.
The problem is that adding upload capability for other users besides the admin requires a bit of work and the feature itself falls outside of the core concept that Fireshare is built for. Peertube is more akin to a solution to your specific use case, I would check it out.
Uploading that supports multiple user accounts might be something that gets added in the far future but is not something that we'll be working on anytime soon because it just doesn't align with what we are trying to accomplish.

You do you, but PeerTube comes with unnecessary features for this use case.

In any case, I will implement a simple upload feature, the UI of Fireshare is better than existing projects and I personally would like to use it more than just a simple file viewer. Even Filebrowser (I use it for other purposes) is not a good alternative, as users need to visit two separate websites to accomplish basic video upload.

What you do with the PR is up to you. But I will definitely be making use of it on my own (as many others will be as well I'm sure).

Thanks for the cool project!

If what you implement is a simple upload for an authenticated administrator account then I'm fine with with merging it so long as the server code as well as the front end implementation once checked by us is deemed acceptable. Anything more complicated than that (support for other user accounts, etc) I will not merge.

We need to properly think about how to best implement support for additional users and what that means for the database model as well as much of the logic that would need to be updated to support additional user profiles. This is something that may be added a ways down the line, it just needs a lot of thought on how best to implement.

from fireshare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.