[GH-ISSUE #59] windows client released yet #154

Closed
opened 2026-03-13 17:30:51 +03:00 by kerem · 17 comments
Owner

Originally created by @MROSSFTEK on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/Aetherinox/ntfy-desktop/issues/59

Originally assigned to: @Aetherinox on GitHub.

will you be releasing a full installer for windows clients?

Originally created by @MROSSFTEK on GitHub (May 28, 2025). Original GitHub issue: https://github.com/Aetherinox/ntfy-desktop/issues/59 Originally assigned to: @Aetherinox on GitHub. will you be releasing a full installer for windows clients?
Author
Owner

@Aetherinox commented on GitHub (May 28, 2025):

Once I get the code cleaned up, which is what I'm doing now, I'll be able to create a workflow which generates the binaries. But for now, if you clone the repo, you can build the binary with the commands in the readme. Should only take 2 or so minutes. Still have some packages I need to finish updating today.

<!-- gh-comment-id:2916189443 --> @Aetherinox commented on GitHub (May 28, 2025): Once I get the code cleaned up, which is what I'm doing now, I'll be able to create a workflow which generates the binaries. But for now, if you clone the repo, you can build the binary with the commands in the readme. Should only take 2 or so minutes. Still have some packages I need to finish updating today.
Author
Owner

@MROSSFTEK commented on GitHub (Jun 6, 2025):

your build.bat has an error on windows.
'rm' is not recognized as an internal or external command,

<!-- gh-comment-id:2950289916 --> @MROSSFTEK commented on GitHub (Jun 6, 2025): your build.bat has an error on windows. 'rm' is not recognized as an internal or external command,
Author
Owner

@Aetherinox commented on GitHub (Jun 6, 2025):

Yeah, not a huge ordeal, just cleans up the existing files. They'll over-write when you build the next time around.

I have bash on my Windows machine, so they work, I switched over to a native windows command.

<!-- gh-comment-id:2951121159 --> @Aetherinox commented on GitHub (Jun 6, 2025): Yeah, not a huge ordeal, just cleans up the existing files. They'll over-write when you build the next time around. I have bash on my Windows machine, so they work, I switched over to a native windows command.
Author
Owner

@Aetherinox commented on GitHub (Jun 8, 2025):

All of the issues in this ticket have either been resolved, or will be resolved in the new update. If you have any issues in the future, let me know.

<!-- gh-comment-id:2953685058 --> @Aetherinox commented on GitHub (Jun 8, 2025): All of the issues in this ticket have either been resolved, or will be resolved in the new update. If you have any issues in the future, let me know.
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

Just an update. pre-built binaries are now available in the Releases section of the repo.

The changes I posted are in this release.

<!-- gh-comment-id:2954364553 --> @Aetherinox commented on GitHub (Jun 9, 2025): Just an update. pre-built binaries are now available in the [Releases](https://github.com/Aetherinox/ntfy-desktop/releases/tag/2.1.0) section of the repo. The changes I posted are in this release.
Author
Owner

@MROSSFTEK commented on GitHub (Jun 9, 2025):

thank you for that! i downloaded it and it launches fine (windows 10 and higher will prompt you to ack that you want to run it as it appears untrusted.. just an FYI).
im assuming your client is written to only go to the official ntfy.sh server? i put in my local on LAN server and it does not connect.
i get this error (domain name scrubbed, of course )
Failed to resolve https://ntfy.mydomain.com/,0 - defaulting to https://ntfy.sh/app

<!-- gh-comment-id:2955664621 --> @MROSSFTEK commented on GitHub (Jun 9, 2025): thank you for that! i downloaded it and it launches fine (windows 10 and higher will prompt you to ack that you want to run it as it appears untrusted.. just an FYI). im assuming your client is written to only go to the official ntfy.sh server? i put in my local on LAN server and it does not connect. i get this error (domain name scrubbed, of course ) Failed to resolve https://ntfy.mydomain.com/,0 - defaulting to https://ntfy.sh/app
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

Windows will prompt you to run it untrusted until I sign the program with a certificate. A verified certificate costs about $100 a year, and I just don't have enough users on this repo yet to justify buying an SSL certificate I have to manage. But it will run the same.

im assuming your client is written to only go to the official ntfy.sh server?

No, it supports ntfy.sh, and your own self-hosted server. If you have a self-hosted server, go to the menu at the top, click Instances, and set your URL.

Then, click the toggle box at the bottom that says "Localhost". Some users will be unable to see their site unless you enable that box. It depends on how you have your domain set up.

Image

<!-- gh-comment-id:2955690184 --> @Aetherinox commented on GitHub (Jun 9, 2025): Windows will prompt you to run it untrusted until I sign the program with a certificate. A verified certificate costs about $100 a year, and I just don't have enough users on this repo yet to justify buying an SSL certificate I have to manage. But it will run the same. > im assuming your client is written to only go to the official ntfy.sh server? No, it supports ntfy.sh, and your own self-hosted server. If you have a self-hosted server, go to the menu at the top, click **Instances**, and set your URL. Then, click the toggle box at the bottom that says "Localhost". Some users will be unable to see their site unless you enable that box. It depends on how you have your domain set up. ![Image](https://github.com/user-attachments/assets/d6eb3a01-0a21-43e2-b923-01aa12e2f814)
Author
Owner

@MROSSFTEK commented on GitHub (Jun 9, 2025):

i put my local (not local host) server in the instance and the error i get is this
Failed to resolve https://ntfy.mydomain.com/,0 - defaulting to https://ntfy.sh/app
i was reviewing the main project page and it showed you putting in https://yourserver.com/ntfy. i am running it on a server as https://ntfy.mydomain.com is your app looking for a url to end with /ntfy?

Image

<!-- gh-comment-id:2955701910 --> @MROSSFTEK commented on GitHub (Jun 9, 2025): i put my local (not local host) server in the instance and the error i get is this Failed to resolve https://ntfy.mydomain.com/,0 - defaulting to https://ntfy.sh/app i was reviewing the main project page and it showed you putting in https://yourserver.com/ntfy. i am running it on a server as https://ntfy.mydomain.com is your app looking for a url to end with /ntfy? ![Image](https://github.com/user-attachments/assets/b64ee1a3-4833-4fc1-85ef-6c3906775fbc)
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

My app looks for a valid accessible domain (or local if you have localhost mode enabled). It then tries to reach the API server tied into the URL.

But with Localhost mode, it removes that validation, and just forces that specific URL to load as a normal browser would.

To access your local server, I assume you had to modify your host file to point your system to a local domain name.

Can you screenshot the window when you get that message? Because with localhost mode, you shouldn't get a message at all. It should just load. And if it can't load, it'll just show a blank page.

<!-- gh-comment-id:2955709410 --> @Aetherinox commented on GitHub (Jun 9, 2025): My app looks for a valid accessible domain (or local if you have localhost mode enabled). It then tries to reach the API server tied into the URL. But with Localhost mode, it removes that validation, and just forces that specific URL to load as a normal browser would. To access your local server, I assume you had to modify your host file to point your system to a local domain name. Can you screenshot the window when you get that message? Because with localhost mode, you shouldn't get a message at all. It should just load. And if it can't load, it'll just show a blank page.
Author
Owner

@MROSSFTEK commented on GitHub (Jun 9, 2025):

Image

thats my error i have my local ntfy server and local host enabled in the app

<!-- gh-comment-id:2955715307 --> @MROSSFTEK commented on GitHub (Jun 9, 2025): ![Image](https://github.com/user-attachments/assets/a8a66aee-bfd1-45e9-afe6-eca3ab4a18bd) thats my error i have my local ntfy server and local host enabled in the app
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

I'm looking at the code now, I think I see the issue. Give me a few mins.

<!-- gh-comment-id:2955717867 --> @Aetherinox commented on GitHub (Jun 9, 2025): I'm looking at the code now, I think I see the issue. Give me a few mins.
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

Few minor bugs to fix, then I'll push. I already fixed the issue you're having. This is why you shouldn't code for 18 hours straight.

<!-- gh-comment-id:2955761532 --> @Aetherinox commented on GitHub (Jun 9, 2025): Few minor bugs to fix, then I'll push. I already fixed the issue you're having. This is why you shouldn't code for 18 hours straight.
Author
Owner

@MROSSFTEK commented on GitHub (Jun 9, 2025):

LOL that's words to live by!

<!-- gh-comment-id:2955764730 --> @MROSSFTEK commented on GitHub (Jun 9, 2025): LOL that's words to live by!
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

Alright, there were two bugs

  1. It improperly setting the URL to default even though resolve was turned off
  2. You were unable to clear out the URL and set yourself back to the default ntfy server url. It would yell at you to provide a url before you could close the window.

I'm pushing a release, it'll take a few minutes to compile.

<!-- gh-comment-id:2955776368 --> @Aetherinox commented on GitHub (Jun 9, 2025): Alright, there were two bugs 1. It improperly setting the URL to default even though resolve was turned off 2. You were unable to clear out the URL and set yourself back to the default ntfy server url. It would yell at you to provide a url before you could close the window. I'm pushing a release, it'll take a few minutes to compile.
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

Released:

<!-- gh-comment-id:2955813669 --> @Aetherinox commented on GitHub (Jun 9, 2025): Released: - https://github.com/Aetherinox/ntfy-desktop/releases/tag/2.1.1
Author
Owner

@MROSSFTEK commented on GitHub (Jun 9, 2025):

awesome! thank you!

<!-- gh-comment-id:2955822301 --> @MROSSFTEK commented on GitHub (Jun 9, 2025): awesome! thank you!
Author
Owner

@Aetherinox commented on GitHub (Jun 9, 2025):

Sure thing. I tested out the compiled copy and it works for me now.

<!-- gh-comment-id:2955835390 --> @Aetherinox commented on GitHub (Jun 9, 2025): Sure thing. I tested out the compiled copy and it works for me now.
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/ntfy-desktop#154
No description provided.