{"id":22061695,"url":"https://github.com/floofies/nubango","last_synced_at":"2026-03-19T21:35:43.756Z","repository":{"id":135350517,"uuid":"376219403","full_name":"Floofies/nubango","owner":"Floofies","description":"Nubango is an iTunes-compatible Kerbango Tuning Service (KTS) server/proxy.","archived":false,"fork":false,"pushed_at":"2024-12-21T06:49:26.000Z","size":3447,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-28T23:28:40.444Z","etag":null,"topics":["apache","apple","audio-streams","cgi","cgi-bin","hack","internet-radio","internet-radio-player","internet-radio-stations","itunes","itunes-radio","kerbango","mac-os-x","server","xml"],"latest_commit_sha":null,"homepage":"https://macintoshgarden.org/apps/garden-itunes-nubango-radio-patch","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Floofies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-12T06:30:38.000Z","updated_at":"2024-12-21T06:49:30.000Z","dependencies_parsed_at":"2025-01-28T23:28:32.292Z","dependency_job_id":"7db10b77-f9cd-4313-9ef3-54efb22b90ab","html_url":"https://github.com/Floofies/nubango","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floofies%2Fnubango","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floofies%2Fnubango/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floofies%2Fnubango/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floofies%2Fnubango/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Floofies","download_url":"https://codeload.github.com/Floofies/nubango/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245139183,"owners_count":20567123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","apple","audio-streams","cgi","cgi-bin","hack","internet-radio","internet-radio-player","internet-radio-stations","itunes","itunes-radio","kerbango","mac-os-x","server","xml"],"created_at":"2024-11-30T18:14:06.756Z","updated_at":"2026-01-04T20:45:52.769Z","avatar_url":"https://github.com/Floofies.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nubango\n\nNubango is an iTunes-compatible Kerbango Tuning Service (KTS) server/proxy. Nubango is *really* just one CGI script and some static XML files.\n\nOld iTunes versions like iTunes 8 and below are no longer able to download internet radio station listings from Apple's KTS server. Such old iTunes versions are using bad query strings in their HTTP requests. To get things working again, iTunes can be made to communicate with Nubango instead of Kerbango.\n\n## Patched iTunes Applications\n\n[Pre-patched iTunes apps are now available on the Macintosh Garden!](https://macintoshgarden.org/apps/garden-itunes-nubango-radio-patch)\n\nTo get iTunes to load radio stations from Nubango, we must redirect iTunes' HTTP requests to a Nubango server. `patcher.sh` does a simple string replacement on a iTunes binary executable, replacing all instances of `pri.kts-af.net` with `pri.kts-af.org` (which is our dedicated Nubango server). Running the patcher in Terminal will present an \"Open File\" dialog in which you will be asked to select an iTunes application for patching. The old application binary is stored within `iTunes.app/Contents/MacOS/iTunes.old`, just in case you would like to undo the hack later.\n\n## :construction: *Project Status Disclaimer: Experimental*\n\n:warning: \"Experimental\" means two things: ~~Here be dragons~~ Nubango may cause damage to your system if you attempt to use it, because at-present it is mostly untested.\n\n**We need your help to improve Nubango for everyone. Please present requests and report any problems by creating a new GitHub issue!**\n\n## How to Self-Host Nubango\n\n*For experienced users only. You risk damaging your system. Please read the included MIT \"LICENSE\" document.*\n\n### Self-hosting with Apache on Linux\n\n*Tested on Ubuntu 20.04.2*\n\n1. Install Apache 2:\n\n```shell\nsudo apt-get update \u0026\u0026 sudo apt install apache2\n```\n\n2. Copy the entire included `xml` directory into the webroot (most likely at) `/var/www/html`\n3. Enable the `rewrite` \u0026 `cgi` Apache modules:\n\n```shell\nsudo a2enmod rewrite cgi\n```\n\n4. Add this `RewriteRule` to the the site file (Just before the line `\u003c/VirtualHost\u003e`) at `/etc/apache2/sites-enabled/000-default.config`:\n\n```shell\nRewriteEngine On\nRewriteRule \"^/xml/index\\.xml$\" \"/cgi-bin/streamingRadioStations.sh\" [H=cgi-script,PT]\n```\n\n5. Copy the included CGI script from `cgi-bin/streamingRadioStations.sh` into the directory at `/usr/lib/cgi-bin`\n6. Make the file at `/usr/lib/cgi-bin/streamingRadioStations.sh` executable:\n\n```shell\nchmod +x /usr/lib/cgi-bin/streamingRadioStations.sh\n```\n\n7. Start Apache 2:\n\n```shell\nsudo apachectl start\n```\n\n8. Open http://127.0.0.1 and http://127.0.0.1/xml/index.xml in a web browser to ensure that the HTTP server is working properly.\n\n### Self-hosting with Apache on Mac OS X 10.4:\n\n*Apache is included and pre-configured with Mac OS X 10.4*\n\n1. Copy the entire included `xml` directory into the webroot at `/Library/WebServer/Documents`\n2. Add this `RewriteRule` to the bottom of the file at `/etc/httpd/httpd.conf`:\n\n```shell\nRewriteRule \"^/xml/index\\.xml$\" \"/cgi-bin/streamingRadioStations.sh\" [PT]\n```\n\n3. Copy the included CGI script from `cgi-bin/streamingRadioStations.sh` into the directory at `/Library/WebServer/CGI-Executables`\n4. Make the file at `/Library/WebServer/CGI-Executables/streamingRadioStations.sh` executable:\n\n```shell\nchmod +x /Library/WebServer/CGI-Executables/streamingRadioStations.sh\n```\n\n5. Ensure that \"Personal Web Sharing\" is enabled in *System Preferences \u003e Internet \u0026 Network \u003e Services \u003e Sharing*\n6. Open http://127.0.0.1 and http://127.0.0.1/xml/index.xml in a web browser to ensure that the HTTP server is working properly.\n\n### Editing your `hosts` file for self-hosting:\n\nTo get your iTunes to communicate with your self-hosted Nubango server, you can perform a DNS hack instead of patching.\n\nYou can easily replace any of the below IP addresses with the one pointing to your Nubango server.\n\n**For Mac OS X:** Add to the bottom of `/etc/hosts`:\n\n```\n127.0.0.1 pri.kts-af.net\n::1 pri.kts-af.net\n```\n\n**For Mac OS 9:** Add to the bottom of `/System Folder/Preferences/Hosts`:\n\n```\npri.kts-af.net IN A 127.0.0.1\npri.kts-af.net IN AAAA ::1\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloofies%2Fnubango","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloofies%2Fnubango","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloofies%2Fnubango/lists"}