Skip to content

Move to URL instead of CURL - #3

Open
ethanmoss1 wants to merge 29 commits into
shombando:mainfrom
ethanmoss1:main
Open

Move to URL instead of CURL#3
ethanmoss1 wants to merge 29 commits into
shombando:mainfrom
ethanmoss1:main

Conversation

@ethanmoss1

Copy link
Copy Markdown

Bumped version to 2 as this requires a different library and no need for CURL.
Fixes issue #1, This stops package.el, elpaca and straight from trying to find an emacs package called curl.

If we want i can tackle #2 ?

@shombando

Copy link
Copy Markdown
Owner

@ethanmoss1 thanks for putting this together and making it an Emacs only package, I love that. I won't be able to test it for a couple days but I'm on-board with merging it and going this direction. I'll test and merge ASAP. Thanks again!

@ethanmoss1

Copy link
Copy Markdown
Author

Oh no, thank you! Especially for doing most of the work! It was fun learning the URL package/lib. I might tackle some of the long-term goals soon, so I'll create a pull request when I've had a go.

Any issues just shout and I'll get them changed ready for merging.

This upsets Elpaca as it trys to install url
The function can now check inputs as well as change priority on the message.
The priority should be 1 to 5. and now the checks use a known good string or number
Also fixed some comments and bugs
Added a check on the inputs
ntfy--publish-message: work now with the tags
ntfy-message-*: these functions all have the keys removed
ntfy--check-inputs: regex updated

@shombando shombando left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ethanmoss1 this is so great! You have totally surpassed my original foundation. I have a couple requests for documentation updates (needed before merge) and a suggestion around emoji-list (for consideration, not merge blocker).
I'd like to invite you to be a maintainer of this project if you're willing. After this merge is done, I'll update the docs to point to Github as the canonical source of the package so you can make merges as a maintainer here.
Thanks for all the great updates and your immense patience.

Comment thread ntfy-example.org
(setopt ntfy-server "http://ntfy.domain.com"
ntfy-topic "emacs"
ntfy-title "Notification from emacs"
ntfy-tags "purple_circle,loudspeaker"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ethanmoss1 I think this needs to be

		ntfy-tags '("purple_circle" "loudspeaker")

Comment thread readme.org
:config (setopt ntfy-server "https://ntfy.sh"
ntfy-topic "mytopic"
ntfy-header "Notification from emacs"
ntfy-tags "purple_circle,loudspeaker"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same change here:

		ntfy-tags '("purple_circle" "loudspeaker")

Comment thread ntfy.el


;;;--- Internal Functions
(defun ntfy--interactive-emoji-selector ()

@shombando shombando Aug 2, 2026

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ethanmoss1 this is really nice functionality, love it. I do wonder though if it makes sense to maintain an emoji list in the project that will be out of sync with both ntfy and emacs? Is there a way to invoke emacs built-in emoji-search?

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

Successfully merging this pull request may close these issues.

2 participants