Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMouritzen committed Jul 16, 2021
2 parents 590306d + ee3ef62 commit 8f983ff
Show file tree
Hide file tree
Showing 200 changed files with 34,090 additions and 265 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
inspiration
# Let's not add the public appstore keys to github
resources/android keys
resources/ios keys

screenshots/inspiration
.vscode


Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Martin Mouritzen

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.
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<a href="https://www.podfriend.com/">
<img src="https://www.podfriend.com/img/podfriend-logo-retina.png" alt="Podfriend logo" title="Podfriend" align="right" height="60" />
</a>

# Podfriend Podcast Player

:star: Please give us a Star here on GitHub — it's super motivating!

[Podfriend](https://www.podfriend.com) is your friendly Podcast Player.

# Mission
We want to provide a real open alternative to big apps like Spotify, where you can use seamlessly web, mobile and desktop to listen to your podcasts.

We support the Podcasting 2.0 initiative, and we want to bring movies, chapters, locations, guests, interactive content and so much more to listeners in an open ecosystem that's not behind a walled garden.

[![Podfriend Preview](https://www.podfriend.com/img/app-preview.png)](https://www.podfriend.com/)

## Installation

Clone the repo, run yarn

# Web
Run the development build by using `yarn dev-web` and build for production using `yarn build-web`

# Desktop
Run the development build by using `yarn dev` and package windows using `yarn package-win` and Mac using `yarn package`

# iOS
Package using `yarn build-android ` and then package it using the Android Studio

# Android
Package using `yarn build-android ` and then package it using the Android Studio

## The code is not working for me
Please open an issue, there's probably a lot of things that needs to be fixed and streamlined for it to work across more devices than just my own Windows machine and Mac laptop :)

## Why is the code so weird
The code grew from being a Desktop only podcast app, to including web and mobile. The mobile version started out as a React-Native solution, before moving to Cordova. This means that a lot of components are separated in 2 components, a logic component and a UI component, to reuse logic across mobile, web and desktop. This separation is not needed for the Cordova version, so I moved away from that pattern later, but because of time haven't had the chance to reimplement a lot of that logic.

To further make the code ugly, the project started out using React class components, before transitioning to functional components.
4 changes: 2 additions & 2 deletions ReactNative/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@react-native-community/slider": "^3.0.3",
"@react-native-community/toolbar-android": "^0.1.0-rc.2",
"@redux-offline/redux-offline": "^2.6.0-native.0",
"axios": "^0.19.2",
"axios": "^0.21.1",
"date-fns": "^2.14.0",
"fast-xml-parser": "^3.17.4",
"localforage": "^1.7.4",
Expand Down Expand Up @@ -53,7 +53,7 @@
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"sanitize-html": "^1.27.0"
"sanitize-html": "^2.3.2"
},
"devDependencies": {
"@babel/core": "^7.10.4",
Expand Down
Loading

0 comments on commit 8f983ff

Please sign in to comment.