diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a39fd68..d00e7c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,12 +51,32 @@ jobs: -p:DebugType=none \ -o publish/linux-arm64 + - name: Publish osx-x64 + run: | + dotnet publish TokyBay/TokyBay.csproj \ + -c Release -r osx-x64 --self-contained \ + -p:PublishSingleFile=true \ + -p:PublishTrimmed=false \ + -p:DebugType=none \ + -o publish/osx-x64 + + - name: Publish osx-arm64 + run: | + dotnet publish TokyBay/TokyBay.csproj \ + -c Release -r osx-arm64 --self-contained \ + -p:PublishSingleFile=true \ + -p:PublishTrimmed=false \ + -p:DebugType=none \ + -o publish/osx-arm64 + - name: Zip artifacts run: | cd publish zip -j tokybay-win-x64.zip win-x64/* zip -j tokybay-linux-x64.zip linux-x64/* zip -j tokybay-linux-arm64.zip linux-arm64/* + zip -j tokybay-osx-x64.zip osx-x64/* + zip -j tokybay-osx-arm64.zip osx-arm64/* - name: Create and push version tag run: | @@ -77,4 +97,6 @@ jobs: --latest \ publish/tokybay-win-x64.zip \ publish/tokybay-linux-x64.zip \ - publish/tokybay-linux-arm64.zip + publish/tokybay-linux-arm64.zip \ + publish/tokybay-osx-x64.zip \ + publish/tokybay-osx-arm64.zip diff --git a/CLAUDE.md b/CLAUDE.md index 71c4947..510d910 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -64,6 +64,8 @@ dotnet run --project TokyBay -- -d "C:\Pfad\zum\Download" dotnet publish -c Release -r win-x64 --self-contained dotnet publish -c Release -r linux-x64 --self-contained dotnet publish -c Release -r linux-arm64 --self-contained +dotnet publish -c Release -r osx-x64 --self-contained +dotnet publish -c Release -r osx-arm64 --self-contained ``` ## Konventionen diff --git a/README.md b/README.md index 2f400ca..93eb0fe 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ Search & download audiobooks from multiple sites and convert them automatically to the audiobook-friendly M4B format or good old MP3. +> [!Important] +> Tokybook.com is currently undergoing a major platform overhaul and the website is temporarily closed. However, **TokyBay continues to work** — search and downloads still function via the Tokybook API. + > [!Note] > This project is intended for educational purposes only. Please respect copyright laws and the terms of service of the respective websites. @@ -14,9 +17,6 @@ Search & download audiobooks from multiple sites and convert them automatically ![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg) ![Issues](https://img.shields.io/github/issues/z00mable/TokyBay?color=informational) -> [!Important] -> Tokybook.com is currently undergoing a major platform overhaul and the website is temporarily closed. However, **TokyBay continues to work** — search and downloads still function via the Tokybook API. - ## Table of Contents - [Quick Start (No technical knowledge required)](#quick-start-no-technical-knowledge-required) @@ -44,6 +44,8 @@ Go to the **[latest release page](https://github.com/z00mable/TokyBay/releases/l | Windows | `tokybay-win-x64.zip` | | Linux (64-bit) | `tokybay-linux-x64.zip` | | Linux (ARM, e.g. Raspberry Pi) | `tokybay-linux-arm64.zip` | +| macOS (Intel) | `tokybay-osx-x64.zip` | +| macOS (Apple Silicon M1/M2/M3) | `tokybay-osx-arm64.zip` | ### Step 2 — Extract the ZIP @@ -52,7 +54,10 @@ Extract the downloaded ZIP file to any folder you like (e.g. your Desktop or Dow ### Step 3 — Run TokyBay - **Windows:** Double-click `tokybay.exe` — or right-click it and select *Open in Terminal* -- **Linux:** Open a terminal in the extracted folder and run `./tokybay` +- **Linux / macOS:** Open a terminal in the extracted folder and run `./tokybay` + +> [!Note] +> On macOS you may need to allow the binary in *System Settings → Privacy & Security* on first launch. That's it. TokyBay will guide you through the rest. @@ -67,24 +72,25 @@ That's it. TokyBay will guide you through the rest. | Site | Status | |------|--------| -| [tokybook.com](https://tokybook.com) | Website temporarily offline, API operational | -| [zaudiobooks.com](https://zaudiobooks.com) / [freeaudiobooks.top](https://freeaudiobooks.top) | Currently unreachable | -| [goldenaudiobook.net](https://goldenaudiobook.net) | Working | -| [fulllengthaudiobooks.net](https://fulllengthaudiobooks.net) | Working | -| [bigaudiobooks.net](https://bigaudiobooks.net) | Working | -| [findaudiobook.com](https://findaudiobook.com) | Working | -| [bookaudiobook.net](https://bookaudiobook.net) | Working | -| [hotaudiobooks.com](https://hotaudiobooks.com) | Working | -| [hdaudiobooks.net](https://hdaudiobooks.net) | Working | -| [audiozaic.com](https://audiozaic.com) | Working | +| [tokybook.com](https://tokybook.com) | Website temporarily offline, API operational | +| [hdaudiobooks.net](https://hdaudiobooks.net) | Working | +| [goldenaudiobook.net](https://goldenaudiobook.net) | Working | +| [fulllengthaudiobooks.net](https://fulllengthaudiobooks.net) | Working | +| [bigaudiobooks.net](https://bigaudiobooks.net) | Working | +| [findaudiobook.com](https://findaudiobook.com) | Working | +| [bookaudiobook.net](https://bookaudiobook.net) | Working | +| [hotaudiobooks.com](https://hotaudiobooks.com) | Working | +| [audiozaic.com](https://audiozaic.com) | Working | +| [zaudiobooks.com](https://zaudiobooks.com) | Currently unreachable | +| [freeaudiobooks.top](https://freeaudiobooks.top) | Currently unreachable | ## Features -1. **Search**: Search and find audiobooks by title -2. **Direct URL download**: Download any audiobook directly by URL +1. **Search**: Search and find audiobooks by title on Tokybook.com +2. **Direct URL download**: Download any audiobook directly by URL on supported sites 3. **M4B conversion**: Automatically convert to the M4B audiobook format after download 4. **MP3 conversion**: Automatically convert to MP3 format after download -5. **Multi-site support**: Works with Tokybook, ZAudiobooks/FreeAudiobooks, GoldenAudiobook, and FullLengthAudiobooks +5. **Multi-site support**: Works with Tokybook and many other sites 6. **Settings**: Persistent in-app settings — download path, conversion preferences ## Usage @@ -139,6 +145,8 @@ dotnet run --project TokyBay -- -d "C:\Users\User\Music" dotnet publish -c Release -r win-x64 --self-contained dotnet publish -c Release -r linux-x64 --self-contained dotnet publish -c Release -r linux-arm64 --self-contained +dotnet publish -c Release -r osx-x64 --self-contained +dotnet publish -c Release -r osx-arm64 --self-contained ``` ### Adding a new site diff --git a/TokyBay/TokyBay.csproj b/TokyBay/TokyBay.csproj index bfd705e..ab9d5ac 100644 --- a/TokyBay/TokyBay.csproj +++ b/TokyBay/TokyBay.csproj @@ -5,9 +5,9 @@ net9.0 enable enable - 0.6.0 - 0.6.0 - 0.6.0 + 0.6.1 + 0.6.1 + 0.6.1