Illustration asking is OneSignal open source, a locked server beside a licence document under a magnifying glass Illustration asking is OneSignal open source, a locked server beside a licence document under a magnifying glass

Is OneSignal Open Source? What Its Licence Actually Allows

Is OneSignal open source? What its Modified MIT licence allows, why you can’t self-host it, and the open-source alternatives.

No, OneSignal isn’t open source. Its SDKs are public on GitHub, but most use a “Modified MIT License” that only allows use with OneSignal’s own services, and the platform that stores subscribers and sends messages is closed SaaS you can’t self-host. For truly open-source web push, look at the web-push libraries or Perfecty Push.

“Is OneSignal open source?” sounds like a yes-or-no question, but GitHub makes it confusing. OneSignal has well over a hundred public repositories, and its WordPress plugin is even MIT-licensed. So I checked the actual licence files. Here’s what’s open, what isn’t, and what it means if you want to own your push setup.

Is OneSignal open source?

No, OneSignal is a proprietary, cloud-hosted push notification service, not open-source software. You use it through its dashboard and API, and the backend that stores your subscribers, builds segments and sends messages isn’t published. You can’t download it and run it on your own server.

What OneSignal does publish is client code: SDKs for websites and mobile apps, server API libraries and plugins. Those let your site or app talk to OneSignal’s service. They don’t replace it.

Key facts at a glance, checked on GitHub on November 25, 2026:

  • Backend and dashboard: proprietary SaaS, not available to self-host.
  • Website, Android, iOS, React Native and Flutter SDKs: public source under a “Modified MIT License”.
  • Licence condition: copies “may only be used in connection with services provided by OneSignal”.
  • WordPress plugin: declares the standard MIT licence, but it’s a connector that needs a OneSignal account.
  • Free plan: yes, with limits. See my post on whether OneSignal is free for web push.

What licence does OneSignal’s code use?

Most OneSignal SDKs use a “Modified MIT License”. It starts like the familiar MIT licence, granting rights to use, copy, modify and distribute the software. Then it adds a second condition. The licence in the OneSignal Website SDK repository says: “All copies of substantial portions of the Software may only be used in connection with services provided by OneSignal.”

The Android SDK licence contains the same clause. In plain terms, you can read and adapt the code, but only to use OneSignal. You can’t take the SDK and point it at your own server or another provider.

That restriction is why GitHub doesn’t detect these repositories as standard MIT. The “Modified MIT License” also doesn’t appear on the Open Source Initiative’s list of approved licences. So “source available” is a fairer description than “open source”.

Which parts of OneSignal can you see on GitHub?

You can see the client-side and integration code, but not the service itself. This table summarises the main repositories I checked:

RepositoryWhat it doesLicence
OneSignal-Website-SDKWeb push SDK for websitesModified MIT (OneSignal services only)
OneSignal-Android-SDKNative Android SDKModified MIT (OneSignal services only)
OneSignal-iOS-SDK, react-native-onesignal, OneSignal-Flutter-SDKMobile SDKsModified MIT (per each LICENSE file)
OneSignal-WordPress-PluginWordPress connectorMIT (declared in readme.txt)
OneSignal backend and dashboardStorage, segmentation, sendingNot published

So the open parts are useful for auditing what runs on your site, and for debugging. They don’t give you independence from OneSignal.

Does it matter whether a push service is open source?

It matters if you care about control, data location or long-term cost. With a closed SaaS service, your subscriber list lives on the vendor’s servers, and pricing or plan changes are outside your control. OneSignal’s free plan has changed before, as I explain in my post on OneSignal’s free plan change.

On the other hand, open source doesn’t automatically mean cheaper. You still pay for a server, and you or a developer must build and maintain the features a SaaS dashboard gives you. For many small sites, a hosted service is the sensible choice. The real question is who you want to depend on.

What are the open-source alternatives to OneSignal?

The main open-source alternatives are building blocks rather than full OneSignal replacements. Here’s what exists for web push, from each project’s official page:

OptionWhat you getLicence
web-push (Node.js) and web-push-phpLibraries that handle VAPID signing and payload encryptionOpen source (web-push-php is MIT)
Perfecty PushWordPress plugin with opt-in, push on publish and statsGPL-2.0; its page says it doesn’t support Safari or iOS
Your own code on Firebase Cloud MessagingFull control, built by youYour choice

With the libraries, you still build the opt-in prompt, subscriber database, segments, scheduling and reports yourself. My comparison of open-source vs paid self-hosted push breaks down that work, and my list of OneSignal alternatives for websites groups the hosted options by pricing model.

Can you self-host OneSignal?

No, OneSignal doesn’t offer a self-hosted edition. Every plan runs on OneSignal’s cloud. If self-hosting is the goal, you have two paths: build on open-source libraries, or buy a self-hosted panel that you install on your own server.

The self-hosted path keeps subscriber data on infrastructure you control. However, you become responsible for updates, backups and uptime. My post on the disadvantages of self-hosted push notifications covers those costs honestly.

Where LaraPush fits

LaraPush isn’t open source either, so I won’t pretend it is. It’s a commercial, self-hosted web push panel that you install on your own VPS, sold as a one-time licence from $499 (check LaraPush pricing). The licence covers one server with unlimited domains and subscribers, and there are no sponsored ads in your notifications. It sits between the two options above: you get a ready dashboard with campaigns, segmentation and analytics, while subscriber data stays on your server. The trade-offs are no free plan, paid major version upgrades and a server you maintain. The features page lists what’s included, and the migration page describes a Migration Add-on for moving from other providers; contact the team for details.

Frequently asked questions

Is the OneSignal SDK open source?

The SDK source code is public on GitHub, but most SDKs use a Modified MIT License. It adds a condition that copies may only be used with services provided by OneSignal. That restriction means the SDKs are source available rather than open source in the usual sense.

Is the OneSignal WordPress plugin open source?

The plugin’s readme declares the standard MIT licence, so the plugin code itself is open. However, it’s only a connector. It needs a OneSignal account, and your subscribers are stored and messaged through OneSignal’s closed cloud service, not on your WordPress server.

Can I host OneSignal on my own server?

No. OneSignal is only available as a cloud service, and its backend isn’t published. If you need self-hosting, use open-source libraries such as web-push or web-push-php and build the rest, or choose a self-hosted push panel that you install on your own VPS.

Is OneSignal free?

OneSignal has a free plan with limits. As of November 1, 2026, the Free plan lets you collect web push subscribers, but each send reaches at most 10,000 subscribers. Paid plans start with Growth. Check OneSignal’s pricing page for current terms.

What is the best open-source alternative to OneSignal for WordPress?

Perfecty Push is the closest open-source option for WordPress. It’s GPL-2.0 and handles opt-in, push on publish and stats from your own site. Its WordPress.org page says it doesn’t support Safari or iOS, so check that limit against your audience before choosing it.

Leave a Reply

Your email address will not be published. Required fields are marked *