airo_m3u_parser 1.0.0 copy "airo_m3u_parser: ^1.0.0" to clipboard
airo_m3u_parser: ^1.0.0 copied to clipboard

High-performance streaming M3U & M3U8 playlist parser for Flutter — Rust-accelerated on native platforms with an identical pure-Dart fallback (including web).

airo_m3u_parser #

pub package CI Publisher License: MIT

High-performance streaming M3U & M3U8 playlist parser for Flutter — Rust-accelerated on native platforms with an identical pure-Dart fallback (including web).

Part of the DevelopersCoffee open-source ecosystem.


Features #

  • Rust-Accelerated Native Engine: Ultra-fast C/Rust FFI parsing for large playlists (50,000+ entries) without UI freezes.
  • Pure-Dart Web & Fallback Engine: Zero-dependency pure-Dart parser for Flutter Web and fallback execution.
  • TV Channel Tag Extraction: Automatically extracts tvg-id, tvg-name, tvg-logo, group-title, language, and country.
  • Deduplication & Sanitization: Normalizes channel URIs, sanitizes stream headers, and strips invalid control bytes.

Usage #

import 'package:airo_m3u_parser/m3u_parser.dart';

void main() async {
  const m3uContent = '''
#EXTM3U
#EXTINF:-1 tvg-id="123" tvg-name="Sports HD" tvg-logo="https://example.com/logo.png" group-title="Sports", Sports HD
https://example.com/stream/live.m3u8
''';

  final playlist = await parseM3UPlaylist(content: m3uContent);
  for (final channel in playlist.channels) {
    print('Channel: ${channel.name} -> ${channel.url}');
  }
}

Maintainers #

Maintained with ❤️ by DevelopersCoffee.

0
likes
150
points
311
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

High-performance streaming M3U & M3U8 playlist parser for Flutter — Rust-accelerated on native platforms with an identical pure-Dart fallback (including web).

Homepage
Repository (GitHub)
View/report issues

Topics

#m3u #m3u8 #iptv #playlist #parser

License

MIT (license)

Dependencies

flutter, flutter_rust_bridge

More

Packages that depend on airo_m3u_parser

Packages that implement airo_m3u_parser