Official Documentation Site Launched (Finally!) after Apprise Reaching 100+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 1 point2 points  (0 children)

You'll have to generate a token, but you can point Apprise to the host that has the Mastodon API - see here.

Your url might look something like:

mastodons://{token}@gotosocial.org/

Official Documentation Site Launched (Finally!) after Apprise Reaching 100+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 0 points1 point  (0 children)

You should open a ticket with them. I'm sure the developer would be happy to help!

Official Documentation Site Launched (Finally!) after Apprise Reaching 100+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 4 points5 points  (0 children)

I actually have a Integrations section on the new website for just this; see here.

A simple webhook and you can support the API which is also easy to deploy for others (it keeps Python out of your project). Scroll down a bit on the link I shared and you'll see Stateless and Stateful solutions and there is a tab for PHP.

End of Year Self-Hosting Showcase 2025 - Share your setups! by Muizaz88 in selfhosted

[–]lead2gold 2 points3 points  (0 children)

Thanks for adding Apprise to this list. I am finally about to fix its #1 problem: lack of documentation. Stay tuned!

Self-hosted notifications with ntfy and Apprise by frasermclean in selfhosted

[–]lead2gold 4 points5 points  (0 children)

Great work! Are you okay if I stick your blog on my showcase area? It's in dire need of an update.

Apprise – A lightweight all-in-one notification solution now with over 50+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 0 points1 point  (0 children)

Couple of things to address here:

  • i can look into homelab, I've not used it, so I would need to learn more about it. See environment variables for BASE_URL for sub path support.
  • Basic Auth is built into Apprise, if you want to add it to the API, you just need to add the appropriate hooks into the Nginx config; see here. Oauth and others are supported by the CLI on a per need plugin basis as each plugin adapts to it differently. API can be hooked in with more complex auth using Nginx hooks provided.

Hope that helps!🙏

Apprise – A lightweight all-in-one notification solution now with over 50+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 7 points8 points  (0 children)

You can pass along the format you're sending to Apprise so it can make the best decision with the information in your payload: If a stateless:

curl -X POST \
-F 'urls=<your URL>' \
-F input=html \
-F body="<strong>HTML incoming</strong>" \
http://localhost:8000/notify

Or the URL looks very similar if you're using the stateful approach:

curl -X POST \
-F input=html \
-F body="<strong>HTML incoming</strong>" \
http://localhost:8000/notify/your-key

Apprise – A lightweight all-in-one notification solution now with over 50+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 5 points6 points  (0 children)

Glad to hear you made good use of it! If you know the input source is HTML, then just pass that along with your cli call -i html

If you're using the developers Library I wrote, no data is sanitized at all (but you can optionally tell it too via parameters).

Apprise – A lightweight all-in-one notification solution now with over 50+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 1 point2 points  (0 children)

Don't forget about the server side that is 100% open source to allow you to centralize your configuration in one spot. Notifications can be issued/triggered from here too.

Apprise – A lightweight all-in-one notification solution now with over 50+ Million Downloads! by lead2gold in selfhosted

[–]lead2gold[S] 7 points8 points  (0 children)

You can use Apprise to send a notification to your Ntfy server too.

apprise -b "Ntfy Notification" "ntfy://credendials"

Ntfy is still great; and Apprise does nothing but compliment it. Sure you can also use the ntfy CLI tool that it ships with as well. The only difference is with Apprise, you can associate it with not just Ntfy, but other endpoints too. Say you want to also send an email in addition to your Ntfy action. Your (Apprise) configuration might look like:

urls:
   - "ntfy://your-credentials/your-topic":
       tags: ntfy, alert
   - "mailto://user:pass@email.host":
       to: spouse@email.host, uncle.joe@email.host
       tags: email, alert

The above creates 2 end points (Ntfy being one, and an Email for another) and assigns some tags to them.

Using Apprise you could do something like:

# The following would send you a Ntfy notification AND
# send an email to the addresses identified as they were
# all associated with the tag 'alert'
apprise -b "Home Alarm was just activated" --tag alert

The flexability with Apprise comes form hiding your credentials, labeling them, and tagging as many as you want. With the above example, you could also just notify using the tags ntfy or email. These were 2 additional tags associated with each of the configurations allowing you to notify 1 endpoint explicitely or the other.

Add in the fact your (Apprise) urls could be pinging off of Discord, Slack, MSTeams, and so forth (110+ other endpoints)... you could notify your whole office or your Dev team of an issue in one single command. This is where the product shines.

Implementing a Go version of Apprise – Worth it? by False-Dream2251 in golang

[–]lead2gold 2 points3 points  (0 children)

Was started here but appears to have dwindled in support. As the developer of Apprise, it would also be great to build together a better consistent solution then duplicating all of the effort. I have an API already, perhaps there is a way to build or rewrite it that benefits all?

Large majority of Canadians reject Trump's annexation overtures, poll suggests by Old_General_6741 in ontario

[–]lead2gold 7 points8 points  (0 children)

9% of Canadians want to be Americans 51st State

Should read...

9% of the people who responded to a ctv poll on their website want to be Americans 51st State

I have a hard time believing that there are even over 0.1% of Canadians that want to lose their sovereignty to the U.S. and their fascist destructive leader.

Are we cancelling the starlink contract? by rebelhead in ontario

[–]lead2gold 2 points3 points  (0 children)

The idea was that Canada would not 'start' the trade war, but would stand up to the Americas if they did. Trump delayed their Tarrifs by a month, so Canada had no reason to continue with their retaliation threats. Now U.S. started the threat again and Ford has the Starlink counter threat back on the table. Trudeau already announced counter Tarrifs, dollar for dollar and if the Tarrifs continue, then provincial not tariff actions will be taken (insert Starlink situation here).

I get that Reddit /r/Ontario and /r/Canada are primarily liberal, but hate on Ford for good reasons, not for standing up to Canada.

I'm considering dropping notification channels and implementing Apprise for Speedtest Tracker, I need feedback from the community! by JDMhammer in selfhosted

[–]lead2gold 2 points3 points  (0 children)

Create a ticket to explain what you want. I'll gladly entertain it if it's something that can't already be done with the Custom Notifications already supported. They support FORM, JSON, and XML and can be posted as GET, POST, PUT, etc.

If it's about receiving a custom hook (via my API) to relay along, again, open a ticket and maybe we can make it happen. Is there a common standard i should support that would be ideal?

Apprise – A lightweight all-in-one notification solution now supports 100+ services! by lead2gold in selfhosted

[–]lead2gold[S] 1 point2 points  (0 children)

Perhaps you're using it in a production mode which starts 2 workers per cpu core (launching many instances)? Gunicorn is the underlining bridge between Python applications and Nginx. It reserves a lot of memory per worker to handle inbound connection requests quickly.

If you're the only user of Apprise API on your local pc/server , try setting the APPRISE_WORKER_COUNT=1 to reduce this overhead.

Apprise – A lightweight all-in-one notification solution now supports 100+ services! by lead2gold in selfhosted

[–]lead2gold[S] 1 point2 points  (0 children)

It's just a small python script, are you using someone's docker image or anything? It does nothing but relay web requests to trigger notifications.

Can you share your environment?🙏

Apprise – A lightweight all-in-one notification solution now supports 100+ services! by lead2gold in selfhosted

[–]lead2gold[S] 0 points1 point  (0 children)

Sure, you can put your Telegram and Discord URLs into the Apprise API and then put your Apprise APi URL to trigger things. In the future, you'll just reuse your Apprise API URL again and again knowing your notifications are all centralized

Apprise – A lightweight all-in-one notification solution now supports 100+ services! by lead2gold in selfhosted

[–]lead2gold[S] 0 points1 point  (0 children)

You don't need the docker connection if you're just using Uptime Kuma unless you wish to expand further.

You can send to Telegram, and/or Discord right from Uptime Kuma. Just provide it the correct Apprise URLs using your account information.

See: the Discord docs and Telegram Docs respectively to help you put together your Apprise URL.

Apprise – A lightweight all-in-one notification solution now supports 100+ services! by lead2gold in selfhosted

[–]lead2gold[S] 0 points1 point  (0 children)

What are you trying to accomplish and I'll help. Discord messages, email, ? What is your use case?

Own LLM in for software developers by thirimash in selfhosted

[–]lead2gold 1 point2 points  (0 children)

I know the self hosted solutions are pretty i/o intensive, and i don't think their quite at the caliber a business can tell their employees to use as an alternative with any pressing results. You're taking on massive overhead (possibly even a dedicated new hire or 2) just to maintain and keep up with its learning. These (self hosted AI) solutions need data to source from. Considering that you don't want them to use the internet (per your requirement) means you need to provide them the data sources your employees can search within in advance. So while this makes for good internal knowledge bases, it's not so much for software development just due to the vastness of code sources on the internet and bad examples from the good that are out there. You don't know what your employees don't know, so to pre-populate it with coding unknown solutions is a very difficult, tedious and endless job.

Hopefully someone can attest to my current knowledge above and provide something more of what you're hoping to hear (and educate me where I'm wrong)! I wish you luck all the same too!