Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a docker image with web interface #86

Open
schklom opened this issue Aug 25, 2023 · 7 comments
Open

Create a docker image with web interface #86

schklom opened this issue Aug 25, 2023 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@schklom
Copy link

schklom commented Aug 25, 2023

The project looks great! Would it be possible to write a Dockerfile so that people can host this service easily via Docker?

@crschnick
Copy link
Member

This is intended to be installed as a desktop application on your workstation due to how it utilizes your existing commandline tools.

It is not a service that you can host, not even in a local docker container. For it to work properly, it needs access to your local file system, executables, environment variables, and should be able to spawn processes that run on your local machine and not within the container.

I understand that a lot of people prefer the simplicity and isolation of containers, but it is basically impossible to put this into one.

@schklom
Copy link
Author

schklom commented Aug 26, 2023

it needs access to your local file system, executables, environment variables, and should be able to spawn processes that run on your local machine

I am fairly sure this is all doable inside a container. I mean, VS-Code does it. I would personally use this service on a server to manage the files there and on other machines.
The requirement would be to expose this via http, or display the window in the same way that https://github.com/nelyon/wanderbird does (via xrdp).

@crschnick
Copy link
Member

Alright so I looked at this a little bit more closely. I think displaying the window via some form of rdp is a big stretch and will also hamper the user experience, so essentially what this boils down to is creating a web interface for xpipe.

This would definitely be possible, the daemon and API works independently of the GUI and can also be called from a web interface. But this is definitely a big task and would also require maintaining both user interfaces. I personally can't do that myself, but maybe someone wants to try that.

@crschnick crschnick added the enhancement New feature or request label Aug 28, 2023
@crschnick crschnick changed the title Docker image Create a docker image with web interface Aug 28, 2023
@schklom
Copy link
Author

schklom commented Aug 28, 2023

Thanks for the feedback! I have no idea how to start coding this, but maybe someone will :)

One thought that may help for the maintenance: it might be acceptable that the app works in the background and opens a webpage instead of a window. This way, there would be only the web interface to maintain.

@crschnick
Copy link
Member

If anyone is interested in realizing this feature and also has experience with web development, this should be doable. I can't do everything myself, but provide a proper API endpoint for a web interface when needed.

I marked this issue as help wanted

@crschnick crschnick added the help wanted Extra attention is needed label Mar 19, 2024
@crschnick
Copy link
Member

There is now a webtop docker image available for xpipe, i.e. a desktop environment that you can running a container and access from a browser at https://github.com/xpipe-io/xpipe-webtop

This is not a true containerized version of xpipe with a true web interface, but it's a start. Because right now xpipe requires a desktop environment with other installed applications, that is how it's designed.

The image is currently in testing with the PTB build and the latest image version is the ptb tag with ghcr.io/xpipe-io/xpipe-webtop:ptb

@crschnick
Copy link
Member

This is now released with xpipe 12 at https://github.com/xpipe-io/xpipe-webtop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

2 participants