Skip to content

This project consists of a web application built with FastAPI to obtain the metadata of an audio stream and extract the artist and song name.

License

Notifications You must be signed in to change notification settings

jailsonsb2/FastAPI-StreamTitle-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Metadata Stream Title Extractor

🚀 with Deployment Boilerplate on Digital Ocean

Deploy to DO

Overview

FastAPI Stream Title Metadata Extractor is a simple application that allows users to obtain the title from the metadata of an audio stream and extract the artist and song name from it. It uses the FastAPI library to create a web API that accepts the URL of an MP3 audio stream as input and returns the artist and song name in JSON format.

This repository serves as a minimal boilerplate for deploying a FastAPI application on Digital Ocean. It's designed to provide a straightforward way to get your FastAPI application running with the least amount of headache and bloatware.

Features

  • Retrieval of the title from the metadata of an audio stream
  • Extraction of the artist and song name from the stream title
  • Minimal FastAPI setup
  • Ready-to-deploy on Digital Ocean
  • Basic configurations for a quick start

Requirements

Before running the application, make sure you have the following installed:

  • Python 3.x
  • FastAPI
  • Uvicorn

Quick Start

  1. Click the "Deploy to DO" button at the top.
  2. Follow the instructions on Digital Ocean to deploy your app.
  3. Enjoy your FastAPI app running in the cloud!

Stream Title Fetcher

To retrieve the stream title and cover image, simply replace the URL parameter in the API link provided below:

API Endpoint: https://twj.es/get_stream_title/?url=

Example Usage: Replace https://stream.zeno.fm/yn65fsaurfhvv with your desired stream URL:

https://twj.es/get_stream_title/?url=https://stream.zeno.fm/yn65fsaurfhvv

This will return a link to the stream’s cover image along with the title.


Contribution

Contributions are welcome! Feel free to open an issue or submit a pull request for suggestions, bug fixes, or new features.

Happy coding! 🎉

About

This project consists of a web application built with FastAPI to obtain the metadata of an audio stream and extract the artist and song name.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published