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

Bukuserver as a desktop software #774

Open
sjehuda opened this issue Aug 29, 2024 · 2 comments
Open

Bukuserver as a desktop software #774

sjehuda opened this issue Aug 29, 2024 · 2 comments

Comments

@sjehuda
Copy link
Contributor

sjehuda commented Aug 29, 2024

Feature requests

Bukuserver is already a desktop software.

This is a suggestion to frame Bukuserver inside pywebview.

It is possible to use pywebview in a fashion which would differentiate links of Bukuserver to links that are external to Bukuserver.

Please see the proposed solution at r0x0r/pywebview#1459 (comment)

P.S.

  • The solution involves ECMAScript'
  • Consider module webbrowser;
  • Syncthing opens a browser upon server start.
@LeXofLeviafan
Copy link
Collaborator

So… you want a desktop application that… displays a webpage… and then opens links from it in a browser? 🤔

I can't seem to think of any reason why this would be better than just using a regular browser. (I can, however, think of a reason why this would be worse: when I click a link in a webpage, the one behaviour I don't want is that link opening in a different window of a different browser, especially if I have no control over which window of that browser is used – in the rare cases when that particular behaviour is desirable, I can simply copy the link and paste it into the location bar of that browser manually).

…And if the entire point was to retain Bukuserver page open while opening links from it, setting BUKUSERVER_OPEN_IN_NEW_TAB=true would suffice to get there (in fact, that's exactly how I always use it).

@sjehuda
Copy link
Contributor Author

sjehuda commented Aug 30, 2024

I have only started to experiment with the idea, yesterday. I have only made a suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants