Hydraulophone notices
=====================

Hydraulophone is distributed under the GNU General Public License, version 3.
The complete license text is in LICENSE.

Copyright attribution
---------------------

This repository does not currently make a project-wide copyright ownership
claim or name a single copyright holder in this notice. Do not infer ownership
or affiliation from this file. Individual contributors retain any rights they
hold in their contributions, subject to the applicable license and law.

AuraMusic provenance
--------------------

Hydraulophone's InnerTube work uses public protocol observations from the
GPL-3.0 TeamAuraMusic/AuraMusic project. The reference revision consulted is:

  185a77d31733047de06cbec619d40731755a0ec1
  https://github.com/TeamAuraMusic/AuraMusic/tree/185a77d31733047de06cbec619d40731755a0ec1

The request/response shapes, domain models, and UI are implemented as Swift
code for Hydraulophone; this notice does not represent them as a verbatim
Kotlin source copy. At the same time, this repository does contain
protocol-sensitive adaptations of AuraMusic behavior, including the bounded
playback profile sequence and related client-policy methods. Those adaptations
retain GPL-3.0 provenance. See:

  docs/protocol/innertube-aura-port.md
  docs/adr/0001-mvp-boundary.md
  Sources/HydraulophoneCore/PlaybackProfiles.swift

Hydraulophone is not affiliated with, endorsed by, or an official client of
YouTube, Google, or TeamAuraMusic.

Proof-of-origin WebView resource provenance
-------------------------------------------

`Sources/HydraulophoneApp/Resources/proof_of_origin.html` and its app-layer
adapter are a narrow Swift/JavaScript adaptation of the BotGuard proof-of-origin
flow observed in TeamAuraMusic/AuraMusic at:

  185a77d31733047de06cbec619d40731755a0ec1
  https://github.com/TeamAuraMusic/AuraMusic/tree/185a77d31733047de06cbec619d40731755a0ec1

The pinned AuraMusic files consulted were:

  app/src/main/assets/po_token.html
  app/src/main/kotlin/com/auramusic/app/playback/potoken/JavaScriptUtil.kt
  app/src/main/kotlin/com/auramusic/app/playback/potoken/PoTokenWebView.kt
  app/src/main/kotlin/com/auramusic/app/playback/potoken/WebViewPoTokenProvider.kt

AuraMusic is GPL-3.0. The adaptation remains isolated to the app layer and
does not add AuraMusic as a runtime dependency.

The helper also follows BgUtils 3.2.0 behavior at revision
54c511b2bd4e3e3707f30d2907f33167e1b61b35, copyright 2024 LuanRT, under the MIT
license. Its complete permission notice is in:

  Sources/HydraulophoneApp/Resources/PROOF_OF_ORIGIN_LICENSES.md

The YouTube JNN request key is a public protocol constant observed in the
pinned source, not a user secret. The JNN API-key header is intentionally
runtime-injected from approved in-memory configuration so this repository does
not store credential-shaped values. It must never be logged or confused with a
user's personal API key.

Hydraulophone is not affiliated with, endorsed by, or an official client of
YouTube, Google, or TeamAuraMusic.

Vendored YouTubeKit solver provenance
-------------------------------------

`Sources/HydraulophoneCore/PlayerDeciphering.swift` is a narrow Swift
adaptation of the signature/n transformation boundary in
`alexeichhorn/YouTubeKit`'s `Sources/YouTubeKit/SignatureSolver.swift` at
commit `e5b7d0396ce12bf3444f0d209e8436c83373b7af` (version 0.4.9):

  https://github.com/alexeichhorn/YouTubeKit/tree/e5b7d0396ce12bf3444f0d209e8436c83373b7af

The three JavaScript solver resources are vendored byte-for-byte under:

  Sources/HydraulophoneCore/Resources/YouTubeKit

Their pinned Git blob IDs and sizes are recorded in that folder's README.
Hydraulophone does not add YouTubeKit's networking/extraction stack as a
runtime package and does not enable a remote extraction fallback. The complete
license texts are retained in:

  Sources/HydraulophoneCore/Resources/YouTubeKit/LICENSES.md

YouTubeKit — MIT
  Copyright (c) 2022 Alexander Eichhorn

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

Meriyah — ISC
  Copyright (c) 2019 and later, KFlash and others.

  Permission to use, copy, modify, and/or distribute this software for any
  purpose with or without fee is hereby granted, provided that the above
  copyright notice and this permission notice appear in all copies.

  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Astring — MIT
  Copyright (c) 2015, David Bonnet <david@bonnet.cc>

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.

yt-dlp/ejs helper — Unlicense
  This is free and unencumbered software released into the public domain.

  Anyone is free to copy, modify, publish, use, compile, sell, or distribute
  this software, either in source code form or as a compiled binary, for any
  purpose, commercial or non-commercial, and by any means.

  In jurisdictions that recognize copyright laws, the author or authors of this
  software dedicate any and all copyright interest in the software to the public
  domain. We make this dedication for the benefit of the public at large and to
  the detriment of our heirs and successors. We intend this dedication to be an
  overt act of relinquishment in perpetuity of all present and future rights to
  this software under copyright law.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

  For more information, please refer to <https://unlicense.org/>.
