7
[-] binwiederhier@discuss.ntfy.sh 23 points 1 year ago

Use ntfy.sh. It's open source and has a free server.

Disclaimer: I made it ;-)

15

Lemmy doesn't support notifications of all new posts for a certain community, so I [1] wrote a little script to send me a ntfy notification for each new post in the ntfy community. Here it is:

https://gist.github.com/binwiederhier/70f13b7c7338a2b75e15438b5567a6d6

[1] When I say "I", I really mean 99% ChatGPT. But hey, I made it prettier and refined it a little at least: https://chat.openai.com/share/7703dbe5-6801-4d5b-8d56-c3f18ca3ac4a

13

Is it possible for Lemmy to send me a notification whenever somebody submits a new post to a specific community (one that I own)?

I started a project-specific community !ntfy@discuss.ntfy.sh that's supposed to be a support forum, and I have missed a few posts for many hours because there are no notifications.

I'd be ok too if there was a simple API and I'd have to write a small script, but it'd be nicer if it was built-in

12

6
[-] binwiederhier@discuss.ntfy.sh 38 points 1 year ago* (last edited 1 year ago)

Thank you for contributing to the magic of the old school internet.

My question: How does one get to write an RFC? Do you have to become part of a certain group, or just be known in certain circles, or do you just start writing and then submit it somewhere? If I had a great idea that I think should become an RFC, what is the process to make this a reality?

[-] binwiederhier@discuss.ntfy.sh 20 points 1 year ago* (last edited 1 year ago)

Related question: is "Hot" super buggy? I am on 0.18.0, but I still often see really really really old posts (1 year old, 2 years old) sprinkled in with new stuff, and I often see clusters of 5-10 posts of a single community grouped together.

I have to pay extra attention to the post age because of this.

8

Due to the nature of the default robots.txt and the meta tags in Lemmy, search engines will index even non-local communities. This leads to results that are undesirable, such as unrelated/undesirable content being associated with your instance.

As of today, lemmy-ui does not allow hiding non-local (or any) communities from Google and other search engines. If you, like me, do not want your instance to be associated with other content, you can add a custom robots.txt and response headers to avoid indexing.

In nginx, simply add this:

# Disallow all search engines
location / {
  ...
  add_header X-Robots-Tag noindex;
}

location = /robots.txt {
    add_header Content-Type text/plain;
    return 200 "User-agent: *\nDisallow: /\n";
}

Here's a commit in my fork of the lemmy-ansible playbook. And here's a corresponding issue I opened in lemmy-ui.

I hope this helps someone :-)

17

cross-posted from: https://discuss.ntfy.sh/post/30818

Hello friends ๐Ÿ‘‹, it's that time again. A new ntfy release has landed. This one is pretty cool!

For those who don't know, ntfy is a a tool that lets you send push notifications to your phone from any script or server using a simple HTTP PUT/POST requests. It's 100% open source and self-hostable, and has an Android app and a web app. You can use ntfy like this (more in the docs). This will send a notification to your phone:

curl -d "Backup on $(hostname) complete" ntfy.sh/mytopic

I host free and open version on ntfy.sh, but you can host your own of course.

๐Ÿ”ฅ What's new? With this release, the ntfy web app now contains a progressive web app (PWA) with Web Push support, which means you'll be able to install the ntfy web app on your desktop or phone similar to a native app (even on iOS! ๐Ÿฅณ). Installing the PWA gives ntfy web its own launcher, a standalone window, push notifications, and an app badge with the unread notification count. Note that this needs to be configured for selfhosted servers!

On top of that, this release also brings dark mode ๐Ÿง›๐ŸŒ™ to the web app.

๐Ÿ™ A huge thanks for this release goes to @nimbleghost, for basically implementing the Web Push / PWA and dark mode feature by himself. I'm really grateful for your contributions.

โค๏ธ If you like ntfy, please consider sponsoring us via GitHub Sponsors or Liberapay, or buying a paid plan via the web app. Contrary to "popular" belief, I am not swimming in money due to the paid plans. ๐Ÿ˜ฌ

Detailed release notes: https://docs.ntfy.sh/releases/

Other links:

Public topics:

34

Hello friends ๐Ÿ‘‹, it's that time again. A new ntfy release has landed. This one is pretty cool!

For those who don't know, ntfy is a a tool that lets you send push notifications to your phone from any script or server using a simple HTTP PUT/POST requests. It's 100% open source and self-hostable, and has an Android app and a web app. You can use ntfy like this (more in the docs). This will send a notification to your phone:

curl -d "Backup on $(hostname) complete" ntfy.sh/mytopic

I host free and open version on ntfy.sh, but you can host your own of course.

๐Ÿ”ฅ What's new? With this release, the ntfy web app now contains a progressive web app (PWA) with Web Push support, which means you'll be able to install the ntfy web app on your desktop or phone similar to a native app (even on iOS! ๐Ÿฅณ). Installing the PWA gives ntfy web its own launcher, a standalone window, push notifications, and an app badge with the unread notification count. Note that this needs to be configured for selfhosted servers!

On top of that, this release also brings dark mode ๐Ÿง›๐ŸŒ™ to the web app.

๐Ÿ™ A huge thanks for this release goes to @nimbleghost, for basically implementing the Web Push / PWA and dark mode feature by himself. I'm really grateful for your contributions.

โค๏ธ If you like ntfy, please consider sponsoring us via GitHub Sponsors or Liberapay, or buying a paid plan via the web app. Contrary to "popular" belief, I am not swimming in money due to the paid plans. ๐Ÿ˜ฌ

Detailed release notes: https://docs.ntfy.sh/releases/

Other links:

Public topics:

7
[-] binwiederhier@discuss.ntfy.sh 18 points 1 year ago

A developer of an open source application being attacked my an entitled user. A story as old as time, yet very sad to see over and over again.

Dear user, you are getting something for free. Open source even. If you don't like how it works, fork it and develop your own, or do your part in helping out debug and investigate. Or just stop using it.

This is not a big corporation with dozens or hundreds of devs working on an app that you pay for with ads or premium subscriptions. This is a free app, developed by volunteers. Please be nice. You can complain, but be civil about it.

5

cross-posted from: https://discuss.ntfy.sh/post/25279

Hello folks,

Request for testing: The next ntfy server release will contain a progressive web app (PWA) with Web Push support, which means you'll be able to install the ntfy web app on your desktop or phone similar to a native app (even on iOS! ๐Ÿฅณ), and get basic push notification support (without any battery drain).

Installing the PWA gives ntfy web its own launcher (e.g. shortcut on Windows, app on macOS, launcher shortcut on Linux, home screen icon on iOS, and launcher icon on Android), a standalone window, push notifications, and an app badge with the unread notification count.

Testing instructions: The (hopefully) production ready version of the PWA is currently deployed on https://staging.ntfy.sh/app -- Install instructions with screenshots can be found in the docs (https://docs.ntfy.sh/subscribe/pwa/).

Please report bugs or issues on Discord, Matrix, or Lemmy (!ntfy@discuss.ntfy.sh). PLEASE HELP TEST

Huuuuge thanks goes to @nimbleghost for developing this entire feature top to bottom. If you throw donations (GitHub Sponsors or Liberapay) my way, I'll share them with him. He certainly deserves it for all this great work. ๐Ÿ‘

-- If you don't know what ntfy is: ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service. You can use it to send push notifications to your phone via HTTP PUT/POST. You can selfhost it or use the hosted version on ntfy.sh

23

Hello folks,

Request for testing: The next ntfy server release will contain a progressive web app (PWA) with Web Push support, which means you'll be able to install the ntfy web app on your desktop or phone similar to a native app (even on iOS! ๐Ÿฅณ), and get basic push notification support (without any battery drain).

Installing the PWA gives ntfy web its own launcher (e.g. shortcut on Windows, app on macOS, launcher shortcut on Linux, home screen icon on iOS, and launcher icon on Android), a standalone window, push notifications, and an app badge with the unread notification count.

Testing instructions: The (hopefully) production ready version of the PWA is currently deployed on https://staging.ntfy.sh/app -- Install instructions with screenshots can be found in the docs (https://docs.ntfy.sh/subscribe/pwa/).

Please report bugs or issues on Discord, Matrix, or Lemmy (!ntfy@discuss.ntfy.sh). PLEASE HELP TEST

Huuuuge thanks goes to @nimbleghost for developing this entire feature top to bottom. If you throw donations (GitHub Sponsors or Liberapay) my way, I'll share them with him. He certainly deserves it for all this great work. ๐Ÿ‘

-- If you don't know what ntfy is: ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service. You can use it to send push notifications to your phone via HTTP PUT/POST. You can selfhost it or use the hosted version on ntfy.sh

[-] binwiederhier@discuss.ntfy.sh 20 points 1 year ago* (last edited 1 year ago)

This has been my go to answer if the hair stylist asked what I'd do. I'd go to different jewlery stores, because they'd still call the cops if you wanna buy stuff for a million.

(I forgot to add the "no returning items" rule; but since you added the "selling it off" part I think it's fine, hehe)

[-] binwiederhier@discuss.ntfy.sh 21 points 1 year ago

I'd buy at least 10 snickers and a bottle of wine or something, right?

183
submitted 1 year ago* (last edited 1 year ago) by binwiederhier@discuss.ntfy.sh to c/asklemmy@lemmy.ml

I have asked this question to countless people (mostly in hair salons) as an alternative to small talk, and it always yields interesting results.

Rules:

  • You get the money right now, right where you are. If it's 10pm and you're in the middle of nowhere, your money will still go poof at 11pm.
  • As a result of the above, tell us what time it is and roughly where you are (big city, desert, small town, ...)
  • You must spend the money. You cannot give it to someone to hold on to it for you for a while.
  • Normal world rules apply, e.g. you cannot buy a $250k car at a dealership in 1h in cash, and you cannot buy a house in 1h either.
  • Remember that getting from where you are to the place you need to go takes time. Factor that in!

Edit: I'm glad you guys had fun with this one. Feel free to post similar hypothetical questions. I kinda like these.

Edit edit: Free advertising ๐Ÿ˜… --> I run and maintain an open source push notification service called ntfy, which let's you send notifications to your phone via PUT/POST, like curl -d "backup successful" ntfy.sh/mytopic. Go check it out.

[-] binwiederhier@discuss.ntfy.sh 27 points 1 year ago

There are about 35k active users on all instances combined (according to https://the-federation.info/platform/73, note that I mean "active" users, not total). That is a minuscule amount compared to even average-size subreddits. Give it time, and be part of the content-producers.

[-] binwiederhier@discuss.ntfy.sh 18 points 1 year ago* (last edited 1 year ago)

WebSockets ... causing live updates to the site which many users dislike

I appreciate all the work in this release. It's insane how much you packed into one release. Well done. I am most excited about the live updates going away. It was quite disruptive. Thanks for that.

That said, WebSockets can be implemented very efficiently. I run an open source notification service called ntfy, and the public instance ntfy.sh currently keeps 6-8k WebSocket connections and thousands more HTTP stream (long polling HTTP) open, all on a 2 core machine with 4GB of RAM. My point being that WebSockets can be implemented very efficiently. Though in Lemmy's case it's likely not necessary.

-- Another thing I wanted to notice is that I am missing mentions of security issues in the release notes. There are some tickets that sound really really really bad, like this one: https://github.com/LemmyNet/lemmy/issues/3060

Isn't that more important than anything else?

[-] binwiederhier@discuss.ntfy.sh 30 points 1 year ago

I will say, that while I like Lemmy (despite its bugs and all that), it severely lacks stupid GIFs and videos, from interestingasfuck, damnthatsinteresting, PublicFreakout, aww, etc.

Maybe that'll come, but I doubt it.

[-] binwiederhier@discuss.ntfy.sh 30 points 1 year ago

This happened to my ~770 people subreddit r/ntfy too. They really lost their marbles, didn't they? I turned it back to "Public" out of fear that they'll delete my Reddit account. I fear even "Restricted" won't stop them. So instead, I'll manually delete or lock new posts and direct them to the Lemmy instance. I may assign another dummy mod account too and unassign myself. Maybe that'll give me a way to close the sub in the future.

[-] binwiederhier@discuss.ntfy.sh 37 points 1 year ago

You got a lot of heat in this discussion, but let me be one of the few to applaud you for actually making a proposal. Saying No is easy, but suggesting something and writing it down and putting it out there is hard.

I am a Principal Engineer by trade, and i do what you did here all the time. I put out suggestions to my team and let them absolutely wreck it. This is how you advance and enhance your idea. Listen and learn from the feedback and suggest another thing based on what you have learned. Rinse and repeat.

That's how you get to a great proposal. Keep at it. Well done.

[-] binwiederhier@discuss.ntfy.sh 22 points 1 year ago

I haven't even been using it for day, and I share your disappointment. However, I understand that Lemmy is in its infancy. There are huge UX hurdles to overcome, and it's a lot for two developers to carry. The hope is that more devs will join, and make a good UX -- For what it's worth, the UI is quite neat IMHO, it's just the UX with regards to federation and discoverability.

Having a ways to add instances and then replicate community lists would be a start. Having to manually fiddle with URLs of other communities is weird.

view more: next โ€บ

binwiederhier

joined 1 year ago
MODERATOR OF