diff --git a/API_ACCESS_POLICY.md b/API_ACCESS_POLICY.md new file mode 100644 index 0000000..b947278 --- /dev/null +++ b/API_ACCESS_POLICY.md @@ -0,0 +1,52 @@ + +# WebSocket API Terms of Use + +**Effective Date:** January 3rd, 2026 +**Project:** Rdio Scanner open source project +**Sponsor:** Saubeo Solutions + +--- + +### 1. License +This software is distributed under the GNU General Public License (GPL). You are free to use, modify, and distribute the source code under the terms of the GPL. + +--- + +### 2. Scope of Restriction +The restriction described below applies **only** to the **WebSocket API** implemented by this project. +It does **not** apply to any standard HTTP API endpoints or other interfaces provided by the software. +The WebSocket API is a real-time communication channel intended for authorized clients only. + +--- + +### 3. Authorized Access +- Access to the **WebSocket API** is **exclusively reserved** for the official sponsor of this project, **Saubeo Solutions**, **and its native applications**. +- No other entity or individual is permitted to use the WebSocket API without prior written consent from the maintainers. + +--- + +### 4. Authentication +Authorized clients must: +- Use valid authentication credentials provided by the maintainers. +- Ensure secure handling of credentials. Sharing credentials with unauthorized parties is strictly prohibited. + +--- + +### 5. Prohibited Use +You may not: +- Attempt to connect to the WebSocket API without explicit authorization. +- Use the WebSocket API for any purpose outside the scope of Saubeo Solutions’ sponsorship and its native apps. +- Reverse-engineer, replicate, or redistribute the hosted WebSocket API service. + +--- + +### 6. Enforcement +Violation of these terms may result in: +- Immediate revocation of WebSocket API access. +- Legal action for unauthorized use. + +--- + +### 7. Contact +For authorization requests or questions, contact: +[mailto:rdio-scanner@saubeo.solutions] diff --git a/README.md b/README.md index b57e6ca..5cb7385 100644 --- a/README.md +++ b/README.md @@ -75,4 +75,11 @@ You can enjoy your [Rdio Scanner](https://github.com/chuot/rdio-scanner) on the [![Available on the App Store](./docs/images/app-store-badge.png?raw=true)](https://apps.apple.com/us/app/rdio-scanner/id1563065667#?platform=iphone) [![Get it on Google Play](./docs/images/google-play-badge.png?raw=true)](https://play.google.com/store/apps/details?id=solutions.saubeo.rdioScanner) + +**Important Notice:** + +> This project is licensed under the GNU GPL. However, the **WebSocket API** provided by this software is **restricted** and reserved exclusively for **Saubeo Solutions and its native applications**. +> Unauthorized use of the WebSocket API is strictly prohibited. +> For details, see [API_ACCESS_POLICY.md](API_ACCESS_POLICY.md). + **Happy Rdio scanning !** \ No newline at end of file diff --git a/server/access.go b/server/access.go index e4b3360..6a320a8 100644 --- a/server/access.go +++ b/server/access.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/admin.go b/server/admin.go index 9a8754e..bb1338d 100644 --- a/server/admin.go +++ b/server/admin.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/api.go b/server/api.go index 7b4e1d1..b03846e 100644 --- a/server/api.go +++ b/server/api.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/apikey.go b/server/apikey.go index a95cb0b..d38b0cd 100644 --- a/server/apikey.go +++ b/server/apikey.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/blacklists.go b/server/blacklists.go index ca66f3b..1cd396e 100644 --- a/server/blacklists.go +++ b/server/blacklists.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/call.go b/server/call.go index 99c6ee2..05ed14f 100644 --- a/server/call.go +++ b/server/call.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/client.go b/server/client.go index 31ce793..49b5d1b 100644 --- a/server/client.go +++ b/server/client.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/command.go b/server/command.go index f819412..5303c17 100644 --- a/server/command.go +++ b/server/command.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/config.go b/server/config.go index a41f1e2..255a7c3 100644 --- a/server/config.go +++ b/server/config.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/controller.go b/server/controller.go index 5af23f9..1f82337 100644 --- a/server/controller.go +++ b/server/controller.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/daemon.go b/server/daemon.go index 86f3d54..90f47c2 100644 --- a/server/daemon.go +++ b/server/daemon.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/database.go b/server/database.go index 57b1975..917d737 100644 --- a/server/database.go +++ b/server/database.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/defaults.go b/server/defaults.go index 6624409..6d154df 100644 --- a/server/defaults.go +++ b/server/defaults.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/dirwatch.go b/server/dirwatch.go index 1d71f75..2c45843 100644 --- a/server/dirwatch.go +++ b/server/dirwatch.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/downstream.go b/server/downstream.go index 4fbb8be..d59d355 100644 --- a/server/downstream.go +++ b/server/downstream.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/ffmpeg.go b/server/ffmpeg.go index 22ffa82..dad9398 100644 --- a/server/ffmpeg.go +++ b/server/ffmpeg.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/group.go b/server/group.go index 5b58e2d..5768a2c 100644 --- a/server/group.go +++ b/server/group.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/keypad.go b/server/keypad.go index d551a40..ed7d6c5 100644 --- a/server/keypad.go +++ b/server/keypad.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/livefeed.go b/server/livefeed.go index 75092e4..10d908e 100644 --- a/server/livefeed.go +++ b/server/livefeed.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/log.go b/server/log.go index a40dba5..9daf7fa 100644 --- a/server/log.go +++ b/server/log.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/main.go b/server/main.go index 40f02c9..6a83d94 100644 --- a/server/main.go +++ b/server/main.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/message.go b/server/message.go index cf0da81..1ceffd1 100644 --- a/server/message.go +++ b/server/message.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/options.go b/server/options.go index a19af25..f248a79 100644 --- a/server/options.go +++ b/server/options.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/parsers.go b/server/parsers.go index b5d9dfb..824b694 100644 --- a/server/parsers.go +++ b/server/parsers.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/scheduler.go b/server/scheduler.go index 0f8cb28..b86e1a5 100644 --- a/server/scheduler.go +++ b/server/scheduler.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/system.go b/server/system.go index 5752d70..0472e67 100644 --- a/server/system.go +++ b/server/system.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/tag.go b/server/tag.go index b371004..17026f0 100644 --- a/server/tag.go +++ b/server/tag.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/talkgroup.go b/server/talkgroup.go index 968d277..8532ee2 100644 --- a/server/talkgroup.go +++ b/server/talkgroup.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/unit.go b/server/unit.go index 1adbedf..73cfcf3 100644 --- a/server/unit.go +++ b/server/unit.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/version.go b/server/version.go index 9a13443..b97d6c8 100644 --- a/server/version.go +++ b/server/version.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main diff --git a/server/webapp.go b/server/webapp.go index cfd92d0..02bb9d2 100644 --- a/server/webapp.go +++ b/server/webapp.go @@ -12,6 +12,11 @@ // // You should have received a copy of the GNU General Public License // along with this program. If not, see +// +// WebSocket API Access Policy: +// This WebSocket API is reserved exclusively for Saubeo Solutions and its native applications. +// Unauthorized access is strictly prohibited. +// See API_ACCESS_POLICY.md for full terms. package main