<?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: Aniket</title>
    <description>The latest articles on DEV Community by Aniket (@aniketyadav0).</description>
    <link>https://dev.to/aniketyadav0</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3797545%2F3de270f6-8ab9-4ef3-9a99-960794944795.jpg</url>
      <title>DEV Community: Aniket</title>
      <link>https://dev.to/aniketyadav0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aniketyadav0"/>
    <language>en</language>
    <item>
      <title>Introducing FleetPlayer: A Headless, TypeScript-First HLS Video Player Engine</title>
      <dc:creator>Aniket</dc:creator>
      <pubDate>Tue, 03 Mar 2026 09:44:03 +0000</pubDate>
      <link>https://dev.to/aniketyadav0/introducing-fleetplayer-a-headless-typescript-first-hls-video-player-engine-2ipj</link>
      <guid>https://dev.to/aniketyadav0/introducing-fleetplayer-a-headless-typescript-first-hls-video-player-engine-2ipj</guid>
      <description>&lt;p&gt;Building a custom video player on the web can be a frustrating experience. You often find yourself wrestling with bulky, pre-packaged libraries that inject their own DOM elements, styles, and bloated UI components. If you just want complete control over your player's look and feel while relying on a solid streaming engine under the hood, your options are surprisingly limited.&lt;/p&gt;

&lt;p&gt;That’s exactly why I built &lt;a href="https://www.npmjs.com/package/fleetplayer" rel="noopener noreferrer"&gt;FleetPlayer.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;FleetPlayer is a high-performance, framework-agnostic, and completely headless HLS video player engine built with TypeScript and Media Source Extensions (MSE).&lt;/p&gt;

&lt;p&gt;Here is a look at what it does, why a "headless" approach matters, and how you can use it in your next project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Headless?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In modern frontend development, the "headless" architecture has taken over UI components (think Headless UI or Radix). It separates the complex state management and business logic from the visual representation.&lt;/p&gt;

&lt;p&gt;FleetPlayer brings this exact philosophy to video streaming. It handles the heavy lifting of fetching segments, parsing playlists, and pushing bytes to the video element, but it renders absolutely zero UI. You provide a standard  tag, design your play buttons, progress bars, and volume sliders however you want in React, Vue, or Vanilla JS, and FleetPlayer simply powers it from behind the scenes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;br&gt;
HLS Support: Plays HTTP Live Streaming (HLS) streams seamlessly using native Media Source Extensions (MSE).&lt;/p&gt;

&lt;p&gt;100% Headless Core: Zero UI dependencies. Build your own controls or wrap them in your favourite framework's UI library.&lt;/p&gt;

&lt;p&gt;Web Worker Powered: Bandwidth estimation and segment fetching are handled entirely off the main thread, keeping your UI buttery smooth.&lt;/p&gt;

&lt;p&gt;Adaptive Bitrate (ABR): Real-time, automatic quality switching based on the user's network throughput.&lt;/p&gt;

&lt;p&gt;Native Fallback: Automatically detects and switches to the browser's native HLS pipeline on iOS and Safari for maximum compatibility.&lt;/p&gt;

&lt;p&gt;TypeScript-First: Shipped with full type definitions for a superior, error-free developer experience.&lt;/p&gt;

&lt;p&gt;Framework Agnostic: Works perfectly with React, Vue, Angular, Svelte, or vanilla JavaScript.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Getting Started&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can drop FleetPlayer into any project with a quick NPM install:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm install fleetplayer&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example 1: Vanilla JavaScript&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because it's framework-agnostic, initialising the player in standard JavaScript is incredibly straightforward:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;video id="my-video" controls&amp;gt;&amp;lt;/video&amp;gt; &amp;lt;script type="module"&amp;gt; import { FleetPlayer } from 'fleetplayer'; const videoElement = document.getElementById("my-video"); const player = new FleetPlayer(videoElement, { autoStart: true }); // Load an HLS stream player.load("https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8"); &amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example 2: React Integration&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using FleetPlayer in a React environment is just as easy as using standard refs and the useEffect hook.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;import React, { useEffect, useRef } from 'react'; import { FleetPlayer } from 'fleetplayer'; const VideoPlayer = () =&amp;gt; { const videoRef = useRef&amp;lt;HTMLVideoElement&amp;gt;(null); const playerRef = useRef&amp;lt;FleetPlayer | null&amp;gt;(null); useEffect(() =&amp;gt; { if (videoRef.current) { playerRef.current = new FleetPlayer(videoRef.current); playerRef.current.load("YOUR_HLS_STREAM_URL.m3u8"); } return () =&amp;gt; { // Clean up internal resources and web workers playerRef.current?.destroy(); }; }, []); return ( &amp;lt;video ref={videoRef} controls style={{ width: "100%" }} /&amp;gt; ); }; export default VideoPlayer;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Powerful API for Custom Experiences&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because you are building your own UI, you need access to the player's internal data. FleetPlayer provides a clean API to build advanced features:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;player.setQuality(levelIndex)&lt;/code&gt;: Build a custom quality-selector menu for your users. Press &lt;code&gt;-1&lt;/code&gt; to re-enable Auto (ABR) mode.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;player.getStats()&lt;/code&gt;: Returns real-time performance data (buffered ranges, current bitrate, active quality level). Perfect for building an "Stats for Nerds" overlay!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try It Out!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you are building a custom VOD platform, a streaming application, or just want to break free from rigid video player libraries, give FleetPlayer a spin.&lt;/p&gt;

&lt;p&gt;📦 NPM: &lt;a href="https://www.npmjs.com/package/fleetplayer" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/fleetplayer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm actively maintaining this and would love to hear your thoughts, feature requests, or see the custom UIs you build with it! Let me know in the comments below.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>showdev</category>
      <category>typescript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Building FleetVault — A Clean Multi-User Storage System with PHP &amp; MySQL</title>
      <dc:creator>Aniket</dc:creator>
      <pubDate>Sat, 28 Feb 2026 04:50:15 +0000</pubDate>
      <link>https://dev.to/aniketyadav0/building-fleetvault-a-clean-multi-user-storage-system-with-php-mysql-409g</link>
      <guid>https://dev.to/aniketyadav0/building-fleetvault-a-clean-multi-user-storage-system-with-php-mysql-409g</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2Fknyhj6orx6noy8x0roo7.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fknyhj6orx6noy8x0roo7.png" alt="Login Screen of Fleetvault" width="800" height="385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Visit &lt;a href="https://github.com/aniketyadav2003/fleetvault" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Modern users expect simple, fast, and secure cloud storage experiences. Platforms like Google Drive have set a high standard for clean design and seamless usability. Inspired by that simplicity, I built FleetVault — a multi-user storage system developed using PHP, MySQL, HTML, CSS, and JavaScript.&lt;/p&gt;

&lt;p&gt;FleetVault is designed with one core idea: keep storage structured, secure, and easy to use without overcomplicating the stack.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Vision Behind FleetVault&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;FleetVault is a lightweight cloud storage platform where users can create an account, log in securely, and manage their personal files inside a dedicated space. Each user has their own isolated storage directory on the server, ensuring privacy and clean organisation.&lt;/p&gt;

&lt;p&gt;The goal was not to build a clone of a large-scale enterprise system, but rather to create a scalable foundation that could grow into a SaaS product in the future.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clean Architecture, Simple Logic&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;At its core, FleetVault follows a clear separation of responsibilities:&lt;/li&gt;
&lt;li&gt;The database handles user accounts and file metadata.&lt;/li&gt;
&lt;li&gt;The server manages physical file storage in user-specific folders.&lt;/li&gt;
&lt;li&gt;The frontend delivers a minimal, modern interface.&lt;/li&gt;
&lt;li&gt;Sessions control authentication and access.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;This structure keeps the system organised and easy to maintain while ensuring that each user’s data remains isolated and secure.&lt;/em&gt;&lt;/p&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.amazonaws.com%2Fuploads%2Farticles%2Fks3c8zk85ub354zm1rde.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fks3c8zk85ub354zm1rde.png" alt="Ui of fleetvault" width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;User Experience First&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the biggest priorities in FleetVault was design clarity. The interface follows a clean, sharp aesthetic inspired by modern cloud platforms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Minimal layout&lt;/li&gt;
&lt;li&gt;Clear typography&lt;/li&gt;
&lt;li&gt;Soft shadows and subtle hover effects&lt;/li&gt;
&lt;li&gt;Sidebar navigation for folders&lt;/li&gt;
&lt;li&gt;Top navigation bar with user profile access&lt;/li&gt;
&lt;li&gt;Grid and list file views&lt;/li&gt;
&lt;li&gt;Smooth interactions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;The design avoids clutter. Every element serves a purpose. The result is a focused, distraction-free environment that feels professional and intuitive&lt;/em&gt;.&lt;/p&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.amazonaws.com%2Fuploads%2Farticles%2Fe2eiewcpr884br4jsk51.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fe2eiewcpr884br4jsk51.png" alt="Fleetvault Tablet Preview" width="770" height="847"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fully Responsive Across Devices&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;FleetVault is built to work seamlessly on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Desktop&lt;/li&gt;
&lt;li&gt;Tablet&lt;/li&gt;
&lt;li&gt;Mobile&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;The layout adapts intelligently based on screen size. Navigation collapses where needed, file grids adjust dynamically, and interactions remain smooth across devices. The experience feels consistent whether accessed on a large monitor or a smartphone.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security as a Foundation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In any storage platform, security cannot be an afterthought.&lt;/p&gt;

&lt;p&gt;FleetVault implements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Secure password hashing&lt;/li&gt;
&lt;li&gt;Session-based authentication&lt;/li&gt;
&lt;li&gt;Protected dashboard access&lt;/li&gt;
&lt;li&gt;User-based folder isolation&lt;/li&gt;
&lt;li&gt;Controlled file operations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;_Each user can only access their own files. Direct access to others&lt;br&gt;
Directories are restricted, and proper validation ensures file integrity.&lt;br&gt;
_&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Designed for Scalability&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Although FleetVault is built using a traditional PHP and MySQL stack, its structure allows for future expansion.&lt;/p&gt;

&lt;p&gt;Potential upgrades include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Storage limits per user&lt;/li&gt;
&lt;li&gt;File sharing between users&lt;/li&gt;
&lt;li&gt;Role-based access control&lt;/li&gt;
&lt;li&gt;Admin analytics dashboard&lt;/li&gt;
&lt;li&gt;Subscription-based monetisation&lt;/li&gt;
&lt;li&gt;Migration to cloud object storage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Because the architecture is clean and modular, scaling the system doesn’t require rewriting the foundation.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Build Something Like FleetVault?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Building FleetVault demonstrates that you don’t always need complex frameworks or heavy infrastructure to create meaningful products. With thoughtful structure, secure logic, and modern design principles, even a classic tech stack can produce a polished and scalable application.&lt;/p&gt;

&lt;p&gt;FleetVault is more than a storage system. It’s a proof of concept that clean architecture, strong fundamentals, and good design thinking can turn a simple idea into a solid product foundation.&lt;/p&gt;

&lt;p&gt;If you're building your own SaaS or learning backend development, projects like this are where real understanding begins.&lt;/p&gt;

&lt;p&gt;Visit &lt;a href="https://github.com/aniketyadav2003/fleetvault" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>saas</category>
      <category>cloudstorage</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
