<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Wilder Ruiz</title>
    <description>The latest articles on DEV Community by Wilder Ruiz (@wilder_ruiz_bd739321149f6).</description>
    <link>https://dev.to/wilder_ruiz_bd739321149f6</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3998715%2Fbe36e560-d955-4a38-823e-948dd834c968.jpg</url>
      <title>DEV Community: Wilder Ruiz</title>
      <link>https://dev.to/wilder_ruiz_bd739321149f6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wilder_ruiz_bd739321149f6"/>
    <language>en</language>
    <item>
      <title>How I Built a Free Creator Audio Platform with PHP, MariaDB, JavaScript and Node.js</title>
      <dc:creator>Wilder Ruiz</dc:creator>
      <pubDate>Tue, 23 Jun 2026 12:27:44 +0000</pubDate>
      <link>https://dev.to/wilder_ruiz_bd739321149f6/how-i-built-a-free-creator-audio-platform-with-php-mariadb-javascript-and-nodejs-26kg</link>
      <guid>https://dev.to/wilder_ruiz_bd739321149f6/how-i-built-a-free-creator-audio-platform-with-php-mariadb-javascript-and-nodejs-26kg</guid>
      <description>&lt;p&gt;Most music websites are either streaming platforms, simple landing pages, or stock-audio marketplaces.&lt;/p&gt;

&lt;p&gt;I wanted something different.&lt;/p&gt;

&lt;p&gt;I wanted a platform where music, sound effects, fictional artists, albums, metadata, downloads, previews, licensing, and creator tools could all exist inside a single ecosystem.&lt;/p&gt;

&lt;p&gt;That project became WildVerse.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://wildverse.codbiohub.com" rel="noopener noreferrer"&gt;https://wildverse.codbiohub.com&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Original Idea
&lt;/h2&gt;

&lt;p&gt;The original concept was surprisingly simple:&lt;/p&gt;

&lt;p&gt;Create a place where creators could browse and download audio for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;YouTube videos&lt;/li&gt;
&lt;li&gt;Shorts&lt;/li&gt;
&lt;li&gt;Podcasts&lt;/li&gt;
&lt;li&gt;Games&lt;/li&gt;
&lt;li&gt;Livestreams&lt;/li&gt;
&lt;li&gt;Mobile apps&lt;/li&gt;
&lt;li&gt;Social media content&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But I didn't want a folder full of MP3 files.&lt;/p&gt;

&lt;p&gt;I wanted something closer to a miniature Spotify mixed with a creator asset library.&lt;/p&gt;




&lt;h2&gt;
  
  
  Architecture Overview
&lt;/h2&gt;

&lt;p&gt;WildVerse currently combines:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PHP&lt;/li&gt;
&lt;li&gt;MariaDB&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;li&gt;HTML5&lt;/li&gt;
&lt;li&gt;CSS&lt;/li&gt;
&lt;li&gt;Node.js microservices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform is intentionally lightweight.&lt;/p&gt;

&lt;p&gt;No heavy frameworks.&lt;/p&gt;

&lt;p&gt;No React.&lt;/p&gt;

&lt;p&gt;No Vue.&lt;/p&gt;

&lt;p&gt;No build pipeline nightmares.&lt;/p&gt;

&lt;p&gt;Most pages are rendered through PHP while JavaScript handles the interactive layer.&lt;/p&gt;




&lt;h2&gt;
  
  
  Project Structure
&lt;/h2&gt;

&lt;p&gt;At a high level the project looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;wildverse/
├── admin/
├── api/
├── assets/
├── audio/
├── databases/
├── hero/
├── includes/
├── nav/
├── personas/
├── node_backend_private/
├── router.php
├── index.php
└── sitemap.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
`&lt;/p&gt;

&lt;p&gt;The architecture is organized around reusable modules rather than page duplication.&lt;/p&gt;




&lt;h2&gt;
  
  
  Audio Library Engine
&lt;/h2&gt;

&lt;p&gt;The heart of the platform is the Sound Library.&lt;/p&gt;

&lt;p&gt;Users can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search tracks&lt;/li&gt;
&lt;li&gt;Filter by mood&lt;/li&gt;
&lt;li&gt;Filter by persona&lt;/li&gt;
&lt;li&gt;Filter by sound type&lt;/li&gt;
&lt;li&gt;Sort by popularity&lt;/li&gt;
&lt;li&gt;Preview tracks&lt;/li&gt;
&lt;li&gt;Queue tracks&lt;/li&gt;
&lt;li&gt;Download tracks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The library currently supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full tracks&lt;/li&gt;
&lt;li&gt;Loops&lt;/li&gt;
&lt;li&gt;Bass drops&lt;/li&gt;
&lt;li&gt;Intros&lt;/li&gt;
&lt;li&gt;Ambience&lt;/li&gt;
&lt;li&gt;Transitions&lt;/li&gt;
&lt;li&gt;Sound effects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything is driven by metadata stored in MariaDB.&lt;/p&gt;




&lt;h2&gt;
  
  
  Fictional Music Personas
&lt;/h2&gt;

&lt;p&gt;One of the unusual design decisions was organizing music around fictional artists.&lt;/p&gt;

&lt;p&gt;Instead of uploading anonymous tracks, every sound belongs to a creative world.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Millenova&lt;/li&gt;
&lt;li&gt;Rodrick Vale&lt;/li&gt;
&lt;li&gt;Vlralair&lt;/li&gt;
&lt;li&gt;ObscuraTones&lt;/li&gt;
&lt;li&gt;CambaAndino&lt;/li&gt;
&lt;li&gt;VibeCityWalks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each persona has:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Its own visual identity&lt;/li&gt;
&lt;li&gt;Albums&lt;/li&gt;
&lt;li&gt;Music styles&lt;/li&gt;
&lt;li&gt;Moods&lt;/li&gt;
&lt;li&gt;Story direction&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes discovery feel more like exploring a universe than browsing a spreadsheet.&lt;/p&gt;




&lt;h2&gt;
  
  
  Browser-Based Audio Player
&lt;/h2&gt;

&lt;p&gt;I wanted users to stay inside the website.&lt;/p&gt;

&lt;p&gt;So I built a browser-based playback system.&lt;/p&gt;

&lt;p&gt;Features include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Queue management&lt;/li&gt;
&lt;li&gt;Auto-next playback&lt;/li&gt;
&lt;li&gt;Repeat modes&lt;/li&gt;
&lt;li&gt;Progress tracking&lt;/li&gt;
&lt;li&gt;Mobile support&lt;/li&gt;
&lt;li&gt;Album context panels&lt;/li&gt;
&lt;li&gt;Visual playback indicators&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The player behaves more like a lightweight streaming platform than a traditional download site.&lt;/p&gt;




&lt;h2&gt;
  
  
  API Layer
&lt;/h2&gt;

&lt;p&gt;The public API handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Track retrieval&lt;/li&gt;
&lt;li&gt;Likes&lt;/li&gt;
&lt;li&gt;Downloads&lt;/li&gt;
&lt;li&gt;Plays&lt;/li&gt;
&lt;li&gt;Audio ranges&lt;/li&gt;
&lt;li&gt;Album lookups&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;text&lt;br&gt;
/api/tracks.php&lt;br&gt;
/api/track-play.php&lt;br&gt;
/api/track-like.php&lt;br&gt;
/api/track-download.php&lt;br&gt;
/api/album-tracks.php&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This keeps frontend components independent from database logic.&lt;/p&gt;




&lt;h2&gt;
  
  
  Node.js Microservices
&lt;/h2&gt;

&lt;p&gt;Although most of the platform is PHP-based, some tasks are delegated to Node.js.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Audio cutting&lt;/li&gt;
&lt;li&gt;Media uploads&lt;/li&gt;
&lt;li&gt;GitHub integration&lt;/li&gt;
&lt;li&gt;Health monitoring&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This hybrid approach allows me to keep PHP handling content while Node.js processes media-related tasks.&lt;/p&gt;




&lt;h2&gt;
  
  
  Search Engine Optimization
&lt;/h2&gt;

&lt;p&gt;One thing I learned early:&lt;/p&gt;

&lt;p&gt;Building a platform is useless if nobody finds it.&lt;/p&gt;

&lt;p&gt;WildVerse includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Structured data&lt;/li&gt;
&lt;li&gt;Schema.org metadata&lt;/li&gt;
&lt;li&gt;Open Graph tags&lt;/li&gt;
&lt;li&gt;FAQ indexing&lt;/li&gt;
&lt;li&gt;XML sitemaps&lt;/li&gt;
&lt;li&gt;Search-friendly content blocks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The site generates large amounts of searchable information around:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Music&lt;/li&gt;
&lt;li&gt;Audio production&lt;/li&gt;
&lt;li&gt;Creator tools&lt;/li&gt;
&lt;li&gt;Sound effects&lt;/li&gt;
&lt;li&gt;Licensing&lt;/li&gt;
&lt;li&gt;Game audio&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This dramatically improves discoverability.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Trick That Saves Storage: Audio Sprites, MariaDB Metadata, and On-Demand Cutting
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foyaa8989agib0n4rh5hh.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foyaa8989agib0n4rh5hh.jpg" alt=" " width="800" height="351"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Filn43g2qfdugkox9ikew.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Filn43g2qfdugkox9ikew.jpg" alt=" " width="799" height="561"&gt;&lt;/a&gt;&lt;br&gt;
One of the most unusual parts of WildVerse is that almost all of the downloadable audio files do not physically exist on the web server as individual MP3 files.&lt;/p&gt;

&lt;p&gt;To the user, the platform looks like a normal sound library:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click play&lt;/li&gt;
&lt;li&gt;Preview a sound&lt;/li&gt;
&lt;li&gt;Download an MP3&lt;/li&gt;
&lt;li&gt;Browse albums and personas&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Behind the scenes, the system works very differently.&lt;/p&gt;

&lt;p&gt;Instead of uploading hundreds of separate MP3 files, WildVerse uses large audio sprite files. A single large MP3 can contain many sounds stitched together. Each individual sound is stored in MariaDB as metadata:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sprite source file&lt;/li&gt;
&lt;li&gt;Start time&lt;/li&gt;
&lt;li&gt;End time&lt;/li&gt;
&lt;li&gt;Duration&lt;/li&gt;
&lt;li&gt;Track title&lt;/li&gt;
&lt;li&gt;Persona&lt;/li&gt;
&lt;li&gt;Album&lt;/li&gt;
&lt;li&gt;Mood&lt;/li&gt;
&lt;li&gt;Use case&lt;/li&gt;
&lt;li&gt;Download information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the user presses Play, the frontend does not load a separate MP3 file. It queries the MariaDB metadata, finds the correct sprite file and timestamp range, then plays only that section of the larger audio file.&lt;/p&gt;

&lt;p&gt;When the user presses Download, the system does not fetch a pre-existing individual MP3. A Node.js service hosted on a VPS triggers an FFmpeg-based cutter on demand. The Linux backend extracts the requested timestamp range from the large MP3 sprite and returns it as a downloadable audio file.&lt;/p&gt;

&lt;p&gt;This means WildVerse can behave like a library of many separate sounds while only storing and managing a smaller number of large source files.&lt;/p&gt;

&lt;p&gt;The offline workflow is also important. I can prepare the large MP3 sprite and its sprite metadata locally, then push the audio sprite and database-ready metadata to the server without manually uploading every single individual MP3. That makes content deployment faster, cleaner, and much easier to scale.&lt;/p&gt;

&lt;p&gt;This approach saves storage, reduces file clutter, and avoids creating thousands of tiny files on the hosting account.&lt;/p&gt;

&lt;p&gt;That matters because shared hosting limits are not only about gigabytes. They are also about file counts, inode usage, backups, synchronization, and server management overhead.&lt;/p&gt;

&lt;p&gt;To the visitor, every sound feels like a separate asset.&lt;/p&gt;

&lt;p&gt;To the system, every sound is a timestamped region inside a larger media file.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Hardest Part
&lt;/h2&gt;

&lt;p&gt;The hardest part was not coding.&lt;/p&gt;

&lt;p&gt;It was designing a system flexible enough to support:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Music&lt;/li&gt;
&lt;li&gt;Sound effects&lt;/li&gt;
&lt;li&gt;Albums&lt;/li&gt;
&lt;li&gt;Personas&lt;/li&gt;
&lt;li&gt;Downloads&lt;/li&gt;
&lt;li&gt;Licensing&lt;/li&gt;
&lt;li&gt;Metadata&lt;/li&gt;
&lt;li&gt;Future creator tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without rewriting everything every few months.&lt;/p&gt;

&lt;p&gt;The architecture evolved many times before reaching its current form.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Comes Next
&lt;/h2&gt;

&lt;p&gt;Future plans include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;More audio categories&lt;/li&gt;
&lt;li&gt;Better creator workflows&lt;/li&gt;
&lt;li&gt;Expanded metadata&lt;/li&gt;
&lt;li&gt;Faster search&lt;/li&gt;
&lt;li&gt;Additional APIs&lt;/li&gt;
&lt;li&gt;New personas&lt;/li&gt;
&lt;li&gt;New audio generation pipelines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is simple:&lt;/p&gt;

&lt;p&gt;Build an independent creator ecosystem where music, technology, storytelling, and digital tools can evolve together.&lt;/p&gt;




&lt;h2&gt;
  
  
  Project
&lt;/h2&gt;

&lt;p&gt;WildVerse:&lt;br&gt;
&lt;a href="https://wildverse.codbiohub.com" rel="noopener noreferrer"&gt;https://wildverse.codbiohub.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built by one developer, one database, too much coffee, and an unreasonable number of audio files.&lt;/p&gt;

&lt;p&gt;This article has a much higher chance of getting DEV readers interested because it's framed as a software architecture and product-building story, not as a music promotion post.&lt;/p&gt;

</description>
      <category>php</category>
      <category>javascript</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
