2021-10-16 16:16:42 -05:00
# Audiobookshelf Mobile App
2021-09-01 20:07:11 -05:00
AudioBookshelf is a self-hosted audiobook server for managing and playing your audiobooks.
2022-01-08 14:33:03 -06:00
### Android (beta)
2021-09-04 16:05:22 -05:00
Get the Android app on the [Google Play Store ](https://play.google.com/store/apps/details?id=com.audiobookshelf.app )
2022-01-08 14:33:03 -06:00
### iOS (beta)
2021-09-01 20:07:11 -05:00
2022-01-08 14:33:03 -06:00
Available to beta testers through Test Flight
2021-09-04 16:05:22 -05:00
2022-01-08 14:33:03 -06:00
Join the beta testers and install the iOS app: https://testflight.apple.com/join/wiic7QIW
Join the discussion: https://github.com/advplyr/audiobookshelf-app/discussions/60
---
[Go to the main project repo github.com/advplyr/audiobookshelf ](https://github.com/advplyr/audiobookshelf ) or the project site [audiobookshelf.org ](https://audiobookshelf.org )
**Requires an Audiobookshelf server to connect with**
2021-10-16 16:16:42 -05:00
< img alt = "Screenshot1" src = "https://github.com/advplyr/audiobookshelf-app/raw/master/screenshots/BookshelfViews.png" / >
2021-12-22 11:37:04 -07:00
## Contributing
2021-12-23 10:24:27 -07:00
This application is built using [NuxtJS ](https://nuxtjs.org/ ) and [Capacitor ](https://capacitorjs.com/ ) in order to run on both iOS and Android on the same code base.
### Windows Environment Setup for Android
2021-12-22 11:37:04 -07:00
2021-12-22 22:59:46 -07:00
Required Software:
2021-12-22 11:37:04 -07:00
* [Git ](https://git-scm.com/downloads )
* [Node.js ](https://nodejs.org/en/ )
* Code editor of choice([VSCode ](https://code.visualstudio.com/download ), etc)
* [Android Studio ](https://developer.android.com/studio )
2021-12-22 22:59:46 -07:00
* [Android SDK ](https://developer.android.com/studio )
2021-12-22 11:37:04 -07:00
< details >
2021-12-22 22:59:46 -07:00
< summary > Install the required software with < a href = (https://docs.microsoft.com/en-us/windows/package-manager/winget/ #production -recommended) > winget</ a ></ summary >
2021-12-22 11:37:04 -07:00
< p >
Note: This requires a PowerShell prompt with winget installed. You should be able to copy and paste the code block to install. If you use an elevated PowerShell prompt, UAC will not pop up during the installs.
```PowerShell
winget install -e --id Git.Git; `
winget install -e --id Microsoft.VisualStudioCode; `
winget install -e --id Google.AndroidStudio; `
winget install -e --id OpenJS.NodeJS --version 16.12.0; #v17 has issues with openssl
```

< / p >
< / details >
< br >
Your Windows environment should now be set up and ready to proceed!
2021-12-23 10:24:27 -07:00
### Mac Environment Setup for Android
2021-12-22 11:37:04 -07:00
2021-12-22 22:59:46 -07:00
Required Software:
2021-12-22 11:37:04 -07:00
2021-12-22 22:59:46 -07:00
* [Android Studio ](https://developer.android.com/studio )
* [Node.js ](https://nodejs.org/en/ )
2021-12-22 22:59:46 -07:00
* [Cocoapods ](https://guides.cocoapods.org/using/getting-started.html#installation )
* [Android SDK ](https://developer.android.com/studio )
2021-12-22 11:37:04 -07:00
2021-12-22 22:59:46 -07:00
< details >
2021-12-22 22:59:46 -07:00
< summary > Install the required software with < a href = (https://brew.sh/) > homebrew< / a > < / summary >
2021-12-22 11:37:04 -07:00
2021-12-22 22:59:46 -07:00
< p >
2021-12-22 11:37:04 -07:00
2021-12-22 22:59:46 -07:00
```zsh
2021-12-22 22:59:46 -07:00
brew install android-studio node cocoapods
2021-12-22 11:37:04 -07:00
```
2021-12-22 22:59:46 -07:00
< / p >
< / details >
2021-12-23 10:30:50 -07:00
### Start working on the Android app
2021-12-22 22:59:46 -07:00
2021-12-23 11:12:16 -07:00
Clone or fork the project from terminal or powershell and `cd` into the project directory.
2021-12-22 22:59:46 -07:00
Install the required node packages:
```shell
2021-12-22 11:37:04 -07:00
npm install
```
2021-12-22 22:59:46 -07:00
2021-12-22 11:37:04 -07:00
< details >
< summary > Expand for screenshot< / summary >
2021-12-23 11:12:16 -07:00

2021-12-22 11:37:04 -07:00
< / details >
< br >
2021-12-22 22:59:46 -07:00
Generate static web app:
```shell
2021-12-22 11:37:04 -07:00
npm run generate
```
2021-12-22 22:59:46 -07:00
2021-12-22 11:37:04 -07:00
< details >
< summary > Expand for screenshot< / summary >
2021-12-23 11:12:16 -07:00

2021-12-22 11:37:04 -07:00
< / details >
< br >
Copy web app into native android/ios folders:
2021-12-22 22:59:46 -07:00
```shell
2021-12-22 11:37:04 -07:00
npx cap sync
```
2021-12-22 22:59:46 -07:00
2021-12-22 11:37:04 -07:00
< details >
< summary > Expand for screenshot< / summary >
2021-12-23 11:12:16 -07:00

2021-12-22 11:37:04 -07:00
< / details >
< br >
Open Android Studio:
2021-12-22 22:59:46 -07:00
```shell
2021-12-22 11:37:04 -07:00
npx cap open android
```
2021-12-22 22:59:46 -07:00
2021-12-22 11:37:04 -07:00
< details >
< summary > Expand for screenshot< / summary >

< / details >
2021-12-22 22:59:46 -07:00
< br >
2021-12-22 11:37:04 -07:00
2021-12-22 22:59:46 -07:00
Start coding!
2021-12-23 11:12:16 -07:00
### Mac Environment Setup for iOS
Required Software:
* [Xcode ](https://developer.apple.com/xcode/ )
* [Node.js ](https://nodejs.org/en/ )
* [Cocoapods ](https://guides.cocoapods.org/using/getting-started.html#installation )
### Start working on the iOS app
Clone or fork the project in the terminal and `cd` into the project directory.
Install the required node packages:
```shell
npm install
```
< details >
< summary > Expand for screenshot< / summary >

< / details >
< br >
Generate static web app:
```shell
npm run generate
```
< details >
< summary > Expand for screenshot< / summary >

< / details >
< br >
Copy web app into native android/ios folders:
```shell
npx cap sync
```
< details >
< summary > Expand for screenshot< / summary >

< / details >
< br >
2021-12-23 11:16:38 -07:00
Open Xcode:
2021-12-23 11:12:16 -07:00
```shell
npx cap open ios
```
< details >
< summary > Expand for screenshot< / summary >

< / details >
< br >
Start coding!