PushBits logo

Alternatives to PushBits

PushBits is an open-source relay server for push notifications that delivers important notifications through Matrix, offering a self-hosted alternative to Pushover and Gotify without requiring an additional app. Find open source and proprietary alternatives that serve similar purposes.

License:ISC
Stars:340
Difficulty:Easy
Pricing:Free
Hosting:Self-Hosted

Self-hosted alternatives to PushBits

Open source projects that can replace PushBits:

ntfy logo

ntfy

23,393
Apache-2.0

ntfy

Simple HTTP-based pub-sub notification service that lets you send notifications to your phone or desktop via scripts from any computer, without having to sign up or pay any fees.

Overview

ntfy (pronounced "notify") is a lightweight, self-hosted notification service that enables you to send push notifications to your devices through simple HTTP requests. Whether you're monitoring servers, automating home systems, or building applications that need real-time notifications, ntfy provides a simple yet powerful solution. The service supports both a free public instance and self-hosted deployments, giving you flexibility in how you implement notifications.

Key Features

Simple HTTP API

  • HTTP PUT/POST: Send notifications with simple curl commands or HTTP requests
  • No Authentication Required: Start sending notifications immediately without signup
  • Topic-Based: Organize notifications using custom topics
  • Multiple Formats: Support for text, markdown, and rich notifications
  • Custom Headers: Add priority, tags, icons, and other metadata
  • Attachment Support: Send files and images with notifications

Multi-Platform Support

  • Android App: Native Android app with full notification support
  • iOS App: Native iOS app for iPhone and iPad
  • Web App: Progressive Web App that works on any browser
  • Desktop Integration: Works with desktop notification systems
  • API Access: Integrate with any programming language or tool
  • Webhook Support: Receive notifications from external services

Advanced Notification Features

  • Priority Levels: Set notification urgency from low to critical
  • Custom Icons: Use emoji or custom icons for visual identification
  • Rich Formatting: Support for markdown formatting in messages
  • Scheduled Delivery: Schedule notifications for future delivery
  • Message Persistence: Messages are stored and can be retrieved later
  • Read Receipts: Track when notifications are read

Self-Hosting Capabilities

  • Complete Control: Host your own notification service
  • Privacy Protection: Keep all notification data on your infrastructure
  • Custom Domains: Use your own domain for the notification service
  • User Authentication: Implement access control and user management
  • Rate Limiting: Control usage and prevent abuse
  • Database Integration: Store notifications in your preferred database

Technology Stack

  • Backend: Go for high performance and low resource usage
  • Frontend: JavaScript with React for the web interface
  • Database: SQLite for simple deployments, PostgreSQL for production
  • Real-time: WebSocket connections for instant delivery
  • Mobile: Native Android and iOS applications
  • API: RESTful HTTP API with extensive documentation
  • Deployment: Docker containers with minimal resource requirements
  • Storage: File attachments with configurable storage backends

Use Cases

Server Monitoring & DevOps

  • Get notified when servers go down or services fail
  • Monitor deployment status and build results
  • Track system resource usage and performance metrics
  • Receive alerts for security events and intrusions
  • Monitor backup completion and database health

Home Automation

  • Smart home device status updates and alerts
  • Security system notifications and door/window sensors
  • Weather alerts and environmental monitoring
  • Energy usage monitoring and cost tracking
  • Garden irrigation and plant monitoring systems

Personal Productivity

  • Task completion reminders and deadline alerts
  • Calendar event notifications and meeting reminders
  • Health and fitness goal tracking updates
  • Financial transaction alerts and budget notifications
  • Travel updates and transportation status

Application Development

  • User activity notifications for web and mobile apps
  • E-commerce order updates and shipping notifications
  • Social media mentions and engagement alerts
  • Form submissions and customer inquiry notifications
  • System maintenance and scheduled downtime alerts

Self-Hosting Benefits

Privacy & Security

  • Complete Data Control: All notifications stay on your infrastructure
  • No Third-Party Dependencies: Eliminate reliance on external services
  • Custom Security Policies: Implement your own authentication and authorization
  • Network Isolation: Keep notification traffic within your network
  • Audit Trail: Complete visibility into all notification activity

Cost Efficiency

  • No Usage Limits: Send unlimited notifications without per-message fees
  • Resource Efficient: Low CPU and memory requirements for high throughput
  • Predictable Costs: One-time setup cost instead of ongoing subscription fees
  • Scalable Infrastructure: Scale according to your specific needs
  • No Vendor Lock-in: Avoid dependency on commercial notification services

Customization & Integration

  • Custom Features: Modify the service to meet specific requirements
  • Integration Freedom: Connect with any internal systems and tools
  • Custom Branding: White-label the service with your organization's branding
  • Advanced Automation: Build complex notification workflows and rules
  • API Extensions: Extend functionality with custom endpoints and features

Installation & Deployment

Docker Deployment

# Simple deployment with Docker
docker run -d \
  --name ntfy \
  -p 80:80 \
  -v /var/lib/ntfy:/var/lib/ntfy \
  binwiederhier/ntfy serve

# Or with Docker Compose
version: '3.8'
services:
  ntfy:
    image: binwiederhier/ntfy
    container_name: ntfy
    command: serve
    ports:
      - "80:80"
    volumes:
      - ./data:/var/lib/ntfy
    environment:
      - NTFY_BASE_URL=https://ntfy.yourdomain.com

Binary Installation

# Install on Ubuntu/Debian
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://archive.heckel.io/apt/pubkey.txt | sudo gpg --dearmor -o /etc/apt/keyrings/archive.heckel.io.gpg
sudo apt install ntfy
sudo systemctl enable ntfy
sudo systemctl start ntfy

Configuration Example

# /etc/ntfy/server.yml
base-url: "https://ntfy.yourdomain.com"
listen-http: ":80"
cache-file: "/var/lib/ntfy/cache.db"
cache-duration: "12h"
auth-file: "/var/lib/ntfy/auth.db"
auth-default-access: "deny-all"
behind-proxy: true

Usage Examples

Basic Notification

# Send a simple notification
curl -d "Server backup completed successfully" https://ntfy.sh/myserver

# Send with priority and tags
curl -H "Priority: high" \
     -H "Tags: warning,server" \
     -d "Disk space is running low on server-01" \
     https://ntfy.sh/alerts

Advanced Notifications

# Send with custom icon and formatting
curl -H "Icon: ๐Ÿšจ" \
     -H "Title: Security Alert" \
     -H "Priority: urgent" \
     -d "**Unauthorized access detected** from IP 192.168.1.100" \
     https://ntfy.sh/security

# Send with attachment
curl -T /path/to/file.jpg \
     -H "Filename: screenshot.jpg" \
     -H "Message: Server error screenshot" \
     https://ntfy.sh/debug

Programming Integration

# Python example
import requests

requests.post("https://ntfy.sh/mytopic",
    data="Python script completed",
    headers={
        "Title": "Script Notification",
        "Priority": "default",
        "Tags": "python,automation"
    })
// JavaScript example
fetch("https://ntfy.sh/mytopic", {
  method: "POST",
  body: "JavaScript task finished",
  headers: {
    Title: "Task Complete",
    Priority: "low",
    Tags: "javascript,task",
  },
})

Advanced Features

Authentication & Access Control

  • User Management: Create and manage user accounts
  • Topic-Level Permissions: Control access to specific topics
  • Token Authentication: API tokens for programmatic access
  • Role-Based Access: Implement different permission levels
  • Rate Limiting: Prevent abuse with configurable rate limits

Integrations & Webhooks

  • Webhook Endpoints: Receive notifications from external services
  • GitHub Integration: Get notified about repository events
  • GitLab CI/CD: Monitor pipeline status and deployment results
  • Monitoring Tools: Integrate with Prometheus, Grafana, and other tools
  • Smart Home: Connect with Home Assistant and other automation platforms

Mobile App Features

  • Offline Support: Messages are queued and delivered when connection is restored
  • Custom Ringtones: Set different sounds for different topics
  • Notification Grouping: Organize notifications by topic or priority
  • Dark Mode: Full dark theme support for better user experience
  • Backup & Sync: Synchronize settings across multiple devices

Alternatives Comparison

| Feature | ntfy | Pushover | Gotify | Pushbullet | | ---------------- | ---- | -------- | ------ | ---------- | | Open Source | โœ… | โŒ | โœ… | โŒ | | Self-Hosting | โœ… | โŒ | โœ… | โŒ | | Free Tier | โœ… | ๐Ÿ’ฐ | โœ… | โœ… | | HTTP API | โœ… | โœ… | โœ… | โœ… | | Mobile Apps | โœ… | โœ… | โœ… | โœ… | | File Attachments | โœ… | โœ… | โŒ | โœ… | | Topic-Based | โœ… | โŒ | โœ… | โŒ | | No Registration | โœ… | โŒ | โŒ | โŒ |

Resources

Apprise logo

Apprise

13,640
BSD-2-Clause

Apprise is a lightweight notification library that provides a unified way to send notifications across multiple platforms and services. It supports over 70 different notification services and allows developers to send notifications through a simple consistent interface.

Key Features

  • Unified Notifications:

    • Single consistent API
    • Support for 70+ services
    • Async notification delivery
    • Simple configuration format
    • CLI and API interfaces
  • Service Support:

    • Chat platforms (Discord, Slack, etc)
    • Email services (SMTP, Gmail, etc)
    • Push notifications
    • SMS delivery
    • Desktop notifications
    • Custom notification hooks
  • Developer Tools:

    • Python API
    • Command line interface
    • Configuration file support
    • Plugin system
    • Tag-based filtering
    • File attachments
    • Persistent storage
  • Integration Features:

    • Docker support
    • Environment variables
    • Custom hooks
    • Async operations
    • Batch notifications
    • URL-based configuration
Gotify logo

Gotify

12,770
NOASSERTION

Gotify is a lightweight, self-hosted server for sending and receiving messages in real-time. It provides a clean web interface and robust API for managing notifications, making it an excellent solution for personal or organizational push notification needs.

Key Features

  • Core Functionality:

    • WebSocket-based messaging
    • REST API endpoints
    • Real-time notifications
    • Message prioritization
    • Message categorization
    • Plugin architecture
  • Management Tools:

    • User administration
    • Client management
    • Application control
    • Token-based auth
    • Role-based access
    • Plugin system
  • Client Support:

    • Web interface
    • Android application
    • Command-line client
    • WebSocket clients
    • REST API clients
    • Cross-platform
  • Technical Features:

    • Docker deployment
    • Multi-arch support
    • SQLite database
    • TLS encryption
    • API documentation
    • Swagger UI

More communication projects

Discover other open source projects in the communication category:

Rocket.Chat
Rocket.Chat
Rocket.Chat is an open-source, fully customizable communications platform for organizations with high standards of data protection, offering team collaboration, omnichannel customer service, and a complete messaging solution.
chatteam-collaboration
Stars
42,772
Relative Popularity
199
License
NOASSERTION
Novu
Novu
Novu is an open-source notification infrastructure that provides a unified API for sending notifications across multiple channels including Email, SMS, Push, and Chat. It offers an embeddable notification center, workflow engine, and no-code email editor.
communicationnotifications
Stars
37,058
Relative Popularity
157
License
NOASSERTION
Mattermost
Mattermost
Mattermost is an open source platform for secure collaboration across the entire software development lifecycle. It provides team messaging, file sharing, project management and integrations in a self-hosted environment.
communicationcollaboration
Stars
32,712
Relative Popularity
148
License
NOASSERTION
Zulip
Zulip
Zulip is a powerful open-source team chat application that combines the immediacy of real-time chat with the organization of email-style threading, designed for productive team collaboration.
chatteam-collaboration
Stars
22,974
Relative Popularity
112
License
Apache-2.0
Element
Element
Element is a secure and decentralized communication client for the Matrix network. It provides end-to-end encrypted messaging, voice/video calls, file sharing, and collaboration features with a focus on privacy and security.
communicationchat
Stars
11,819
Relative Popularity
55
License
AGPL-3.0
Tinode
Tinode
Tinode is an instant messaging platform with a Go backend and clients for iOS, Android, web, and command line, designed for building chat applications with modern features.
messagingchat
Stars
12,540
Relative Popularity
55
License
GPL-3.0
Centrifugo
Centrifugo
Centrifugo is an open-source scalable real-time messaging server that can instantly deliver messages to application users over WebSocket, HTTP-streaming, SSE, GRPC, and WebTransport. It provides a language-agnostic PUB/SUB server for building real-time applications.
communicationwebsockets
Stars
9,002
Relative Popularity
38
License
Apache-2.0
SimpleX Chat
SimpleX Chat
SimpleX Chat is the most private and secure messaging platform with no user identifiers, featuring double ratchet E2E encryption and a unique approach to privacy that doesn't require phone numbers or usernames.
privacyencryption
Stars
8,787
Relative Popularity
37
License
AGPL-3.0
Screego
Screego
Screego is a simple, secure tool to quickly share your screen with one or multiple people via web browser, requiring no installation or registration.
screen-sharingwebrtc
Stars
8,599
Relative Popularity
36
License
GPL-3.0

Showing 1-9 of 24 projects in communication

Explore by Category

Find more projects in these tags