From 0bb77e6504545d539ffb7690f49fa65cc96b8100 Mon Sep 17 00:00:00 2001 From: Marc RDWZ Date: Wed, 30 Aug 2023 16:15:48 +0200 Subject: [PATCH 1/4] Add `Acast` to podcast platforms --- .astropod/listenOn.config.json | 3 ++- decap.config.mjs | 1 + src/components/headerCard/listenOnMenu.astro | 2 ++ src/components/icons/acastPodcastsIcon.astro | 7 +++++++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 src/components/icons/acastPodcastsIcon.astro diff --git a/.astropod/listenOn.config.json b/.astropod/listenOn.config.json index cd53d1c..564fc65 100644 --- a/.astropod/listenOn.config.json +++ b/.astropod/listenOn.config.json @@ -7,5 +7,6 @@ "fountain": "", "ivoox": "", "pocketcasts": "", - "deezer": "" + "deezer": "", + "acastPodcasts": "" } diff --git a/decap.config.mjs b/decap.config.mjs index df8b277..aa6e08c 100644 --- a/decap.config.mjs +++ b/decap.config.mjs @@ -109,6 +109,7 @@ export default function dcapconfig() { label: "Listen On", file: ".astropod/listenOn.config.json", fields: [ + { name: "acastPodcasts", widget: "string", label: "Acast Podcasts", required: false }, { name: "spotify", widget: "string", label: "Spotify", required: false }, { name: "googlePodcast", widget: "string", label: "Google Podcast", required: false }, { name: "applePodcast", widget: "string", label: "Apple Podcast", required: false }, diff --git a/src/components/headerCard/listenOnMenu.astro b/src/components/headerCard/listenOnMenu.astro index 280293c..5377056 100644 --- a/src/components/headerCard/listenOnMenu.astro +++ b/src/components/headerCard/listenOnMenu.astro @@ -10,6 +10,7 @@ import AmazonMusicIcon from "../icons/amazonMusicIcon.astro"; import FountainIcon from "../icons/fountainIcon.astro"; import DeezerIcon from "../icons/deezerIcon.astro"; import EasyPodcastIcon from "../icons/easyPodcastIcon.astro"; +import AcastPodcastsIcon from "../icons/acastPodcastsIcon.astro"; let hasListenOn = false @@ -37,6 +38,7 @@ for (const key in listenOn) { {listenOn.pocketcasts && (
  • Pocketcasts
  • )} {listenOn.fountain && (
  • Fountain
  • )} {listenOn.deezer && (
  • Deezer
  • )} + {listenOn.acastPodcasts && (
  • Acast Podcasts
  • )} )} diff --git a/src/components/icons/acastPodcastsIcon.astro b/src/components/icons/acastPodcastsIcon.astro new file mode 100644 index 0000000..a0e2b4a --- /dev/null +++ b/src/components/icons/acastPodcastsIcon.astro @@ -0,0 +1,7 @@ + + + + + + + From 592e6a6758d4c91b7bbe6d611baef2efddf38e38 Mon Sep 17 00:00:00 2001 From: Marc RDWZ Date: Wed, 30 Aug 2023 16:16:23 +0200 Subject: [PATCH 2/4] Clean up according to markdownlint --- README.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index fc99161..557a90f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

    Astropod | Free and Open Source Serverless Podcast

    +# Astropod | Free and Open Source Serverless Podcast ![Atropod](https://github.com/manuelernestog/manuelernestog/assets/53962116/3106bf65-37f9-427f-9b50-72d7ae22752f) @@ -10,8 +10,7 @@ Astropod is a free and open-source self-hosting serverless podcast solution. It View a live demo and a tutorial step by step of how deploy and configure your podcast with Astropod. -👉️ https://getastropod.netlify.app/ - +👉️ --- @@ -39,9 +38,9 @@ Astropod is designed to work with any file storage solution. You can host your podcast files in your own code base inside the folder `public/audio` and this will automatically work with [git LFS](https://git-lfs.com/) but free plans in GitHub and GitLab for LFS are limited so take that in mind. -You can also host your podcast files in any other cloud storage solution like DropBox, Google Drive, Cloudinary or on your own server. Once you upload your audio file you just need to copy the public URL of the audio file into your episode `AudioUrl` field. +You can also host your podcast files in any other cloud storage solution like DropBox, Google Drive, Cloudinary or on your own server. Once you upload your audio file you just need to copy the public URL of the audio file into your episode `AudioUrl` field. -For free unlimited cloud file storage we recommend use [Internet Archive ](https://archive.org/). +For free unlimited cloud file storage we recommend use [Internet Archive](https://archive.org/). ## Content Management System @@ -49,7 +48,7 @@ Astropod is designed in such a way that you can use it directly from the source In order to manage podcast in a simpler way, astropod is configured by default with the CMS Serverless [Decap](https://decapcms.org/) which allows collaborative work, authentication with email or other providers and simple management. -For the easiest use of Decap we recommend deploying Astropod on Netlify since the authentication system is integrated into the platform and is configured natively. If you would like to facilitate your own OAuth authentication rather than use Netlify's service or a client side flow like implicit or PKCE, you can use one of this [community-maintained projects ](https://decapcms.org/docs/external-oauth-clients/). +For the easiest use of Decap we recommend deploying Astropod on Netlify since the authentication system is integrated into the platform and is configured natively. If you would like to facilitate your own OAuth authentication rather than use Netlify's service or a client side flow like implicit or PKCE, you can use one of this [community-maintained projects](https://decapcms.org/docs/external-oauth-clients/). The fact that Astropod comes configured by default with Decap does not mean that it is the only CMS with which it can work, if you prefer to use another CMS like Sanity, Wordpress, Strapi, Tina, or any other you can follow [Astro's integration guides](https://docs.astro.build/en/guides/cms/) to your integrate your favorite CMS. @@ -59,9 +58,10 @@ The fact that Astropod comes configured by default with Decap does not mean that - [Tailwind](https://tailwindcss.com/) - [DaisyUI](https://daisyui.com/) -## Requirements. +## Requirements - Node 16.16.0 or higher + ## Commands All commands are run from the root of the project, from a terminal: @@ -75,10 +75,9 @@ All commands are run from the root of the project, from a terminal: > These commands are using [`pnpm`][pnpm], but you can choose to use `npm` or `yarn` instead if you prefer. - ## Project Structure -```php +```txt ├── src/ │ ├── components/ // UI components │ ├── content/ @@ -108,15 +107,11 @@ Astropod is licensed under the MIT license — see the [LICENSE](https://github. ## Contributors - - - +[![Manuel Ernestog](https://contrib.rocks/image?repo=manuelernestog/astropod)](https://github.com/manuelernestog/astropod/graphs/contributors) Made with [contrib.rocks](https://contrib.rocks). -[integration]: https://github.com/delucis/astro-netlify-cms [deploy]: https://app.netlify.com/start/deploy?repository=https://github.com/manuelernestog/astropod [identity]: https://docs.netlify.com/visitor-access/identity/ [gateway]: https://docs.netlify.com/visitor-access/git-gateway/ [pnpm]: https://pnpm.io/ - From 1de7e57eb6efb8468a7a872ec0c207f62d79f0c9 Mon Sep 17 00:00:00 2001 From: Marc RDWZ Date: Wed, 30 Aug 2023 16:16:44 +0200 Subject: [PATCH 3/4] Update lockfile --- pnpm-lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5e9dbba..e665b75 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' settings: autoInstallPeers: true From ebc48877d122e3d31d5277cf059ce37bb4214a32 Mon Sep 17 00:00:00 2001 From: Marc <8125196+rdwz@users.noreply.github.com> Date: Fri, 1 Sep 2023 18:59:57 +0200 Subject: [PATCH 4/4] Update acastPodcastsIcon.astro Use `currentColor` --- src/components/icons/acastPodcastsIcon.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/icons/acastPodcastsIcon.astro b/src/components/icons/acastPodcastsIcon.astro index a0e2b4a..e7499a4 100644 --- a/src/components/icons/acastPodcastsIcon.astro +++ b/src/components/icons/acastPodcastsIcon.astro @@ -1,7 +1,7 @@ - + - +