/xunyin

Primary LanguageAstroMIT LicenseMIT

Astropod | Free and Open Source Serverless Podcast

Atropod

Astropod is a free and open-source self-hosting serverless podcast solution. It supports diverse deployment services and audio hosting options and includes a customizable website deployable in a few clicks, with a personalized domain and a user-friendly CMS for effortless podcast management.


Demo and Tutorial

View a live demo and a tutorial step by step of how deploy and configure your podcast with Astropod.

πŸ‘‰οΈ https://getastropod.netlify.app


Quick deploy

Deploy to Netlify

  • Click the Deploy button to copy this project to your own GitHub or GitLab account and deploy your podcast with Netlify in minutes. ✨

  • Once you’ve got the project set up, you do need to activate Netlify Identity in the Netlify UI, the β€œGit Gateway” to allow e-mail/password authentication and you are ready to go.


Deployment Services

Astropod is build in the top of Astro framework and is ready to be deployed in the deployments services like GitHub Pages, Netlify, Vercel, Cloudflare, AWS and much more.

The configuration for the deployment varies depending on the platform where you are going to do it. See the official Astro information to deploy your website.

File storage

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 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.

For free unlimited cloud file storage we recommend use Internet Archive.

Content Management System

Astropod is designed in such a way that you can use it directly from the source code by editing the configuration files found in the /.astropod folder and modifying the episode markdown files contained in the folder /src/content/episode.

In order to manage podcast in a simpler way, astropod is configured by default with the CMS Serverless Decap 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.

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 to your integrate your favorite CMS.

Tech Stack

Requirements

  • Node 16.16.0 or higher

Commands

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev & Netlify CMS proxy servers
pnpm run build Build your production site to ./dist/
pnpm run preview Serve ./dist/ & run the Netlify CMS proxy server

These commands are using pnpm, but you can choose to use npm or yarn instead if you prefer.

Project Structure

β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/         // UI components
β”‚   β”œβ”€β”€ content/  
β”‚   β”‚   β”œβ”€β”€ episode/        // Podcast episodes folder
β”‚   β”œβ”€β”€ layouts/            // UI Layouts
β”‚   β”œβ”€β”€ helpers/            // App helpers like static data or functions
β”‚   └── pages/
β”‚   β”‚   β”œβ”€β”€ rss.xml.js/     // Feed RSS generation file
β”œβ”€β”€ public/                 // Public folder dor media files
β”‚   β”œβ”€β”€ audio/              // Git LFS folder for audio storage
β”œβ”€β”€ .astropod/              // Astropod config files folder
β”œβ”€β”€ astro.config.mjs        // Astro config file
β”œβ”€β”€ decap.config.mjs        // Decap CMS config file

Contributing

Suggestions and pull requests are welcomed! Feel free to open a discussion or an issue for a new feature request or bug.

One of the best ways of contribute is to grab a bug report or feature suggestion that has been marked accepted and dig in.

Please be wary of working on issues not marked as accepted. Just because someone has created an issue doesn't mean we'll accept a pull request for it.

License

Astropod is licensed under the MIT license β€” see the LICENSE file for details.

Contributors

Manuel Ernestog

Made with contrib.rocks.