[GH-ISSUE #111] Possibility to have multi user configuration #94

Open
opened 2026-02-25 20:32:24 +03:00 by kerem · 2 comments
Owner

Originally created by @kidburglar on GitHub (Apr 9, 2017).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/111

Hello,

I was thinking, maybe it would be possible to split the inferface from the application.
So we can host the interace with a webserver and connect to different socket from the interface like ruTorrent do for rTorrent.

It would avoid multiple webservers for each users and I think it will simplify the configuration for multiple users too.

Cheers.

Originally created by @kidburglar on GitHub (Apr 9, 2017). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/111 Hello, I was thinking, maybe it would be possible to split the inferface from the application. So we can host the interace with a webserver and connect to different socket from the interface like ruTorrent do for rTorrent. It would avoid multiple webservers for each users and I think it will simplify the configuration for multiple users too. Cheers.
Author
Owner

@asapach commented on GitHub (Apr 10, 2017):

So you would have one frontend and multiple backends? How do you choose which backend to connect to? How do you envision the user experience?
I like the idea, but there are some technical challenges, e.g. currently frontend code is pretty much tightly coupled to the backend logic and decoupling them means formalizing the protocol and maintaining some kind of versioning / backwards compatibility.

<!-- gh-comment-id:292953140 --> @asapach commented on GitHub (Apr 10, 2017): So you would have one frontend and multiple backends? How do you choose which backend to connect to? How do you envision the user experience? I like the idea, but there are some technical challenges, e.g. currently frontend code is pretty much tightly coupled to the backend logic and decoupling them means formalizing the protocol and maintaining some kind of versioning / backwards compatibility.
Author
Owner

@kidburglar commented on GitHub (Apr 10, 2017):

That is a good question, I never did nodejs so I can only compare to rutorrent / rtorrent.

rtorrent listen to diferent port / socket that depend of the user configuration file (~/.rtorrent.rc)

ruTorrent display the interface and connect on the port / socket that is given in his configuration file and in apache / nginx.
ruTorrent match the configuration with the login that we use when we login with apache authorization.

I don't know if I'm really clear, if you need configuration files or more information don't hésitate to ask.
Cheers.

<!-- gh-comment-id:292959393 --> @kidburglar commented on GitHub (Apr 10, 2017): That is a good question, I never did nodejs so I can only compare to rutorrent / rtorrent. rtorrent listen to diferent port / socket that depend of the user configuration file (~/.rtorrent.rc) ruTorrent display the interface and connect on the port / socket that is given in his configuration file and in apache / nginx. ruTorrent match the configuration with the login that we use when we login with apache authorization. I don't know if I'm really clear, if you need configuration files or more information don't hésitate to ask. Cheers.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/peerflix-server#94
No description provided.