{"id":30594959,"url":"https://github.com/staff6773/apple-music-desktop-linux","last_synced_at":"2025-08-29T20:33:23.999Z","repository":{"id":311675990,"uuid":"1044546466","full_name":"staFF6773/apple-music-desktop-linux","owner":"staFF6773","description":"Apple Music webview created in Electron for Linux, compatible with Ubuntu and Debian.","archived":false,"fork":false,"pushed_at":"2025-08-25T22:20:24.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T23:31:58.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staFF6773.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null}},"created_at":"2025-08-25T21:14:09.000Z","updated_at":"2025-08-25T22:20:27.000Z","dependencies_parsed_at":"2025-08-25T23:32:01.658Z","dependency_job_id":"ac056a32-bc71-4467-8365-0565bd7dd35d","html_url":"https://github.com/staFF6773/apple-music-desktop-linux","commit_stats":null,"previous_names":["staff6773/apple-music-desktop-linux"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/staFF6773/apple-music-desktop-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staFF6773%2Fapple-music-desktop-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staFF6773%2Fapple-music-desktop-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staFF6773%2Fapple-music-desktop-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staFF6773%2Fapple-music-desktop-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staFF6773","download_url":"https://codeload.github.com/staFF6773/apple-music-desktop-linux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staFF6773%2Fapple-music-desktop-linux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272758439,"owners_count":24988239,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-29T20:33:23.353Z","updated_at":"2025-08-29T20:33:23.993Z","avatar_url":"https://github.com/staFF6773.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apple Music Desktop for Linux \u0026nbsp;\u003cimg src=\"./src/extra/Logo.png\" width=\"48\"\u003e\n\nA native desktop application for Linux that allows you to access Apple Music from your desktop using Electron and TypeScript.\n\n## Features\n\n- **Native webview**: Access Apple Music directly from the application\n- **Linux support**: Optimized for Linux systems\n- **TypeScript**: Fully typed and maintainable code\n- **Cookie storage**: Persistent storage for user sessions and preferences\n\n## Installation\n\n### Prerequisites\n\n- Node.js 18+ or Bun\n- npm, yarn or bun\n- Linux system (tested on Ubuntu, Debian, Arch)\n\n### Installation steps\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003cyour-repository\u003e\n   cd apple-music-desktop-linux\n   ```\n\n2. **Install dependencies**\n   ```bash\n   bun install\n   # or\n   yarn install\n   # or\n   npm install\n   ```\n\n3. **Build the project**\n   ```bash\n   bun run build\n   ```\n\n4. **Run the application**\n   ```bash\n   bun start\n   ```\n\n## Available scripts\n\n- `bun run build` - Build the TypeScript project\n- `bun run watch` - Build in watch mode\n- `bun start` - Build and run the application\n- `bun run dev` - Development mode with auto-reload\n- `bun run package` - Package the application for distribution\n- `bun run dist` - Create the final distribution\n- `bun run fix-sandbox` - Fix Electron sandbox permissions\n\n### Adding functionality\n\nThe `src/renderer.ts` file contains all the client-side logic. You can add:\n\n- New controls\n- Custom events\n- External API integration\n\n## Project structure\n\n```\nsrc/\n├── main.ts          # Main Electron process\n├── preload.ts       # Secure preload script\n├── renderer.ts      # Client-side logic\n├── index.html       # Main interface\n└── styles.css       # Application styles\n```\n\n## Development configuration\n\n### TypeScript\n\nThe project uses TypeScript 5.0+ with strict configuration. The configuration is in `tsconfig.json`.\n\n### Electron\n\n- Version: 28.0+\n- Security configuration enabled\n- Webview support enabled\n\n### Build\n\n- Compilation to JavaScript ES2020\n- Source map generation\n- Type declarations\n\n## Packaging\n\nTo create a distributable package:\n\n```bash\nbun run package\n```\n\nThis will create an AppImage file in the `dist-electron/` folder.\n\n## Troubleshooting\n\n### The application doesn't start\n\n1. Verify that Node.js is installed correctly\n2. Run `bun install` to install dependencies\n3. Verify that the build is successful with `bun run build`\n\n### The webview doesn't load\n\n1. Check your internet connection\n2. Make sure Apple Music is available in your region\n3. Check the developer console for errors\n\n### Linux permission issues\n\nIf you have permission problems when running:\n\n```bash\nchmod +x dist-electron/*.AppImage\n```\n\n### Electron sandbox permissions\n\nIf you encounter sandbox permission issues:\n\n```bash\nbun run fix-sandbox\n```\n\n## Contributing\n\n1. Fork the project\n2. Create a branch for your feature (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is under the GPL-3.0 License. See the `LICENSE` file for more details.\n\n## Acknowledgments\n\n- Electron team for the framework\n- Apple for Apple Music\n- Open source developer community\n\n## Support\n\nIf you have problems or questions:\n\n1. Check existing issues\n2. Create a new issue with problem details\n3. Include your system information and steps to reproduce\n\n---\n\n**Note**: This application is not officially affiliated with Apple Inc. It's an open source project for the Linux community.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaff6773%2Fapple-music-desktop-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaff6773%2Fapple-music-desktop-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaff6773%2Fapple-music-desktop-linux/lists"}