m3u8-player-site-kit 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +15 -0
  4. data/lib/m3u8_player/site_kit.rb +32 -0
  5. metadata +49 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4646391a54e2df96e9ca4a929a8c9a47733f50d87ae811e4e247f3aaa85c2b59
4
+ data.tar.gz: 0d7b1037f9503114b3d8f3d58df55b77d76e7f750795bcf62d5797d8ed1eb783
5
+ SHA512:
6
+ metadata.gz: 24ae4b0e7a7c6d3019f309e9ddb36565b4d7fd6fc2119809c3460f0463db309236ef69ab7db553848e1a47789c7c1a067c72737b0f1bd9f28b137615584778a3
7
+ data.tar.gz: 6e73e9b6718c0fcd64f075471767ce69609f4ab3bddde8648fa1a6e5a9eacc9c55b43852aee398bd09fc83bf2af45f871d658a1f842dc490c20a9a78c02be879
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 M3U8 Player
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # M3U8 Player Site Kit
2
+
3
+ Small URL helpers for [M3U8 Player](https://m3u8-player.net), a free online toolkit for playing HLS streams, downloading M3U8 playlists, converting M3U8 to MP4, and embedding M3U8 players.
4
+
5
+ ## Links
6
+
7
+ - Website: <https://m3u8-player.net>
8
+ - Online player: <https://m3u8-player.net/#player>
9
+ - M3U8 downloader: <https://m3u8-player.net/m3u8downloader/>
10
+ - M3U8 to MP4 converter: <https://m3u8-player.net/m3u8tomp4/>
11
+ - HLS player: <https://m3u8-player.net/hls-player/>
12
+
13
+ ## Purpose
14
+
15
+ This repository keeps tiny, installable helpers for package registry metadata and examples. Each package exposes the same small set of stable M3U8 Player links.
@@ -0,0 +1,32 @@
1
+ module M3u8Player
2
+ module SiteKit
3
+ BASE_URL = "https://m3u8-player.net"
4
+
5
+ module_function
6
+
7
+ def home_url
8
+ BASE_URL
9
+ end
10
+
11
+ def tool_url(slug)
12
+ clean = slug.to_s.gsub(%r{\A/+|/+\z}, "")
13
+ clean.empty? ? BASE_URL : "#{BASE_URL}/#{clean}/"
14
+ end
15
+
16
+ def player_url
17
+ "#{BASE_URL}/#player"
18
+ end
19
+
20
+ def downloader_url
21
+ tool_url("m3u8downloader")
22
+ end
23
+
24
+ def converter_url
25
+ tool_url("m3u8tomp4")
26
+ end
27
+
28
+ def hls_player_url
29
+ tool_url("hls-player")
30
+ end
31
+ end
32
+ end
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: m3u8-player-site-kit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - M3U8 Player
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-05-19 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Small URL helpers for M3U8 Player, the free M3U8 downloader, converter,
14
+ and HLS player at https://m3u8-player.net.
15
+ email:
16
+ - hello@m3u8-player.net
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - LICENSE
22
+ - README.md
23
+ - lib/m3u8_player/site_kit.rb
24
+ homepage: https://m3u8-player.net
25
+ licenses:
26
+ - MIT
27
+ metadata:
28
+ homepage_uri: https://m3u8-player.net
29
+ source_code_uri: https://github.com/bbwdadfg/m3u8-player-site-kit
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ requirements: []
45
+ rubygems_version: 3.0.3.1
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: Small URL helpers for M3U8 Player.
49
+ test_files: []