@binwiederhier
@discuss.ntfy.shIs 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
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 :-)
https://www.ecosia.org/
Ecosia uses the ad revenue from your searches to plant trees where they are needed the most. By searching with Ecosia, youβre not only reforesting our planet, but youβre also empowering the communities around our planting projects to build a better future for themselves. Give it a try!
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:
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.
https://ntfy.sh/
ntfy is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, and/or using a REST API.
Hey folks, the r/selfhosted community has always been very kind to ntfy, and with recent events, I'm moving the r/ntfy subreddit to Lemmy.
https://discuss.ntfy.sh/c/ntfy
Feel free to join and/or ask questions about ntfy.