TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Gotify – a self-hosted push-notifications service

490 pointsby adraenwanabout 6 years ago

23 comments

dmitrygrabout 6 years ago
It is worth noting that this will use a noticeable amount of power more than Google cloud messaging. The basic idea of how is works is about the same, but the devil is in the details. If you look at an idle connection over LTE, you will notice that after a while your carrier will close it. You need keepalives. If you look at the connection for Google cloud messaging, you might notice that it needs much fewer keep alives than YOU need to keep your connection alive. This means fewer wakes from sleep mode and lower power.
评论 #19348703 未加载
评论 #19348862 未加载
评论 #19348588 未加载
wybiralabout 6 years ago
Awesome! I&#x27;ve been working on a collection of news source parsers [1] (a combination of RSS and HTML scrapers) that this will work perfect with to replace my native news app. All I have to do is pipe the lines from my parser through a Python script issuing these message POST requests and it just works out of the box.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;wybiral&#x2F;stream-sources" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wybiral&#x2F;stream-sources</a>
rubenbeabout 6 years ago
I gave it a quick try and &quot;it just worked&quot; with minimal configuration. Really easy to get started.<p>Unfortunately messages are only plaintext.
评论 #19348409 未加载
评论 #19348401 未加载
noahster11about 6 years ago
Although I&#x27;ve been using Pushover[0], a paid service, instead of Gotify, I found a really cool project to pair a push-notification service with is huginn[1], which allows you to program bots to do things on cron jobs, among other really powerful actions.<p>[0] <a href="https:&#x2F;&#x2F;pushover.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pushover.net&#x2F;</a> [1] <a href="https:&#x2F;&#x2F;github.com&#x2F;huginn&#x2F;huginn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;huginn&#x2F;huginn</a>
评论 #19352466 未加载
draugadrottenabout 6 years ago
<a href="https:&#x2F;&#x2F;gotify.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gotify.net&#x2F;</a>
sisciaabout 6 years ago
I would like to point out that there exists solutions tested in the field in the last 20 years to solve the same problem.<p>In particular I would suggest to get to know MQTT an open protocol with several (open and close) implementation that is know for its flexibility and scalability (if nothing has changed it is used to power the Messager Facebook platform, but don&#x27;t quote me on that).<p>verneMQ is the server implementation I would suggest if you are interested in such topic.
评论 #19351232 未加载
评论 #19353812 未加载
dlhavemaabout 6 years ago
Interesting project. Is this intended to replace Firebase Cloud Messaging on android or be a wrapper in front of it?<p>I only saw android support, anything for iOS in the works?
评论 #19348464 未加载
benoliver999about 6 years ago
Funny, I was just looking for an alternative to pushover that doesn&#x27;t use google services last week. Tested this and it worked quite well.<p>I actually wound up just using an SMS gateway provider with a simple API you can just fire a get request to.
评论 #19349170 未加载
评论 #19349027 未加载
rakooabout 6 years ago
<a href="https:&#x2F;&#x2F;pushpin.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pushpin.org&#x2F;</a> is another alternative that has some history, has support for more protocols and is used in production by its creators
188201about 6 years ago
FCM is integrated in kernel, so it cannot be killed. And it starts a persistent TCP connection to Google server. If all apps uses FCM, then all notification would route through this connection, and this significantly reduce battery consumption than the alternative, where each app uses its own web socket server.<p>So, assume using a degoogled android, can this notification replaced FCM if more apps use this notification server? This server uses web socket, so what does FCM use for its connection? Does web socket battery efficient enough?
评论 #19350286 未加载
评论 #19351247 未加载
blumomoabout 6 years ago
The documentation states that End2End tests are included. I didn&#x27;t find them in the repository. I want to learn from the tests - Can somebody please help me and point me to the End2End tests?
评论 #19351089 未加载
评论 #19349944 未加载
linkmotifabout 6 years ago
Is there a standard understanding of what are push notifications? Are they the same for android and iOS? I’m not sure what this project is about!
评论 #19349537 未加载
评论 #19349088 未加载
wiradikusumaabout 6 years ago
I like the idea of the project, but I&#x27;m curious.<p>Why would you need a self-hosted (or really, any other push-notif service) other than the official one from Apple&#x2F;Goggle?<p>They&#x27;re optimized (for each respective platform), no need to maintain a server, and free. If you need &quot;cross-platform&quot;, you can use Firebase(?) that abstracts that away.
评论 #19350345 未加载
评论 #19350429 未加载
评论 #19351069 未加载
评论 #19351179 未加载
canada_dryabout 6 years ago
Bah... no linux 32 bit binary for my old home-automation server.
评论 #19355576 未加载
sandosabout 6 years ago
This is what home assistant needs! The only really lacking thing about HA is the lack of native Android app, but the most important thing is notifications.
eponeponeponabout 6 years ago
Neat. I could definitely use this for some home infrastructure I&#x27;m playing around with at the moment - will definitely give it a shot!
AlfeGabout 6 years ago
Have anyone used Nats as a push notification service? We are looking for alternatives to Google Play Services.
skybrianabout 6 years ago
Hmm, I didn&#x27;t see anything about security while skimming the docs?
born2discoverabout 6 years ago
Awesome! This opens the door to so many possibilities!
johnchristopherabout 6 years ago
Logo reminds me of traefik. Is it related ?
评论 #19348546 未加载
评论 #19348621 未加载
triplewipeassabout 6 years ago
Useless without iOS support. What’s the point of an abstraction that has only a single implementation?
评论 #19349141 未加载
评论 #19349215 未加载
nukeopabout 6 years ago
I&#x27;m not up to date with Android, but why does displaying notifications require an entire server or a paid service? Is it not just a matter of installing a client program and sending a curl to an endpoint?
评论 #19349082 未加载
评论 #19348996 未加载
评论 #19349594 未加载
评论 #19351740 未加载
评论 #19349501 未加载
NicoJuicyabout 6 years ago
Off-topic<p>I got so scared when I looked at the swagger. The authentication uses the exact same variables as mine and is somewhat similar. The name of the endpoints are also very similar and the project has resemblance to mine.<p>That was really really akward for a moment.<p>I&#x27;ll use the project though ( different use-case), looks really interesting. Coincidentally it&#x27;s for the same project as I mentioned.