Skip Navigation
binwiederhier

Hi I'm Phil 👋, I'm a software engineer, and I maintain an open source push notification tool called ntfy. I'm also German 🇩🇪, and a big fan of 🇬🇧 & 🇺🇸, and a dad of two 👦👧

帖子
7
评论
63
Joined
2 yr. ago
  • That .... actually looks and feels pretty slick. Very neat UI.

  • Great writeup thank you. May I just say that tmyour original plan was both ambitious and a little insane. And even the current cost and infrastructure is bonkers IMHO.

    I do hope you're getting donations to help with the cost. Good luck.

    My instance is on the other end of the spectrum: I pay $6/month for it on digitalocean. It has 1G of RAM. It crashes every now and then, likely because of the RAM and OOM killer. But it's only for me and a few ntfy fans, so it's quite different.

  • I do cover the costs yes, through donations and the paid plans.

    It's definitely fun to do some things, but others are daunting indeed. I do, however, learn a lot. I have learned a lot that I was able to reuse elsewhere. All that is priceless.

  • Thanks. I don't work on it full time, no. It's a side gig project I've been doing for a year and a half. I recently added paid plans to get a little side income, but it's not really taken off. Likely because the free tier is too generous hehe.

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

    Disclaimer: I made it ;-)

  • You can type reset to fix your terminal if it gets messed up like that.

  • Excuse my ignorance, but where can I find details to this issueand does it affect only 0.18.1, or also 0.18.0?

  • You really should. It's pretty darn amazing.

  • I have noticed that I use it less myself. I think honestly though, at least for me, that it is 90% related to the clunky and awkward UI of ChatGPT. If it was easy to natively type the prompt in the browser bar I'd use it much more.

    Plus, the annoying text scrolling thingy ... Just show me the answer already, hehe.

  • homelab @lemmy.ml
    binwiederhier @discuss.ntfy.sh

    Improving the performance of a Windows Guest on KVM/QEMU

  • 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?

  • Install Debian Stable on a SSD, most likely via debootstrap from the Ubuntu system

    What an interesting way to install a new system. I've only ever done that for image building purposes. Why would you do that instead of just installing it from a flash drive?

    Also: it sounds like you're manually installing things. I would suggest Ansible or something similar, so that reinstalling isn't so brittle and manual.

  • 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.

  • If you don't, half the time your posts will just disappear into the ether...

  • There are plenty of instances that copy the original content. As an instance owner that runs a only a single project specific community, I should be able to decide what content is available on my domain, and what isn't. Don't you think?

    Aside from the questionable content, there is also legal issues around it that I'd rather not deal with.

  • There is no way to exclude individual communities. The post URLs are generic, like /post/1234. From nginx or other proxies, I cannot tell what community they belong to. I would love to have my own be searchable, but not at the price of tainting my project's reputation.

  • Lemmy @lemmy.ml
    binwiederhier @discuss.ntfy.sh

    Guide: Hide your Lemmy instance from search engines

    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:

     undefined
        
    # 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 i

  • I asked the same question on r/selfhosted a few weeks ago, and I was downvoted just for asking the question.

    https://www.reddit.com/r/selfhosted/comments/13elu4p/why_downvote_so_much/

  • Selfhosted @lemmy.world
    binwiederhier @discuss.ntfy.sh

    ntfy release 🎉 - Now with Web Push and a progressive web app (hello iOS friends ❤️), and with dark mode for the web app! ntfy lets you send push notifications to your phone via a simple REST API, and

    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:

     undefined
        
    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! 🥳). Ins

    Damn, that's interesting! @lemmy.ml
    binwiederhier @discuss.ntfy.sh

    Ecosia - search engine that spend 100% of its profits planting trees

    Selfhosted @lemmy.world
    binwiederhier @discuss.ntfy.sh

    📢 ntfy Web Push / PWA: Request for testing!

    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 instructi

    Asklemmy @lemmy.ml
    binwiederhier @discuss.ntfy.sh

    If I gave you $1 million in cash to spend in 1 hour, after which the money will disappear, what would you buy?

    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

    Selfhosted @lemmy.world
    binwiederhier @discuss.ntfy.sh

    Using healthchecks.io and ntfy.sh to wake you up if your services are down

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

    I use ntfy (on another instance) + healthchecks.io to wake me up at night when ntfy.sh is down (crazy inception, right?). It's the "poor man's PagerDuty" if you will. It works amazingly.

    Here's how I set it up:

    • I signed up healthchecks.io (free plan) and configured a project for "ntfy.sh" with a "ntfy" integration, i.e. publish to ntfy.example.com/<secret> with max priority
    • I have two different hosts execute small "integration ntfy.sh tests" and only ping healthchecks.io if they succeed. If they don't healthchecks.io will publish to ntfy.example.com/<secret>
    • In the ntfy Android app, I subscribe to ntfy.example.com/<secret>, enable "Keep alerting on highest priority", and make it override DND (do not disturb) for this topic.

    Now when ntfy.sh goes down, the integration tests in the cronjobs will fail, and so healthchecks.io will not be pinged, which will trigger it to publish to `ntfy.example.com/<se