NAME
GoSaveTool - SRT and WebVTT subtitle tools, word count, social media limits and case changes
SYNOPSIS
use utf8;
use GoSaveTool::Subtitles qw(convert parse repair);
use GoSaveTool::Text qw(stats limits title slug);
my $vtt = convert($srt_text, 'vtt');
my ($cues, $fixed) = repair(parse($text));
my $words = stats($post)->{words};
my $fits = limits($post)->{'x-post'}{fits};
print title('the lord of the rings'), "\n"; # The Lord of the Rings
print slug('Ölçü Birimi & Çeviri!'), "\n"; # olcu-birimi-ceviri
DESCRIPTION
Two small modules from GoSaveTool, free online tools for creators, with the same rules as the @gosavetool/subtitles and @gosavetool/text JavaScript packages. No dependencies outside the Perl core.
- GoSaveTool::Subtitles
-
Parse, convert, shift and repair SRT and WebVTT subtitles. Online: https://www.gosavetool.com/vtt-subtitle-generator
- GoSaveTool::Text
-
Word, character and reading-time counts, the character limits of X, Instagram, TikTok, YouTube, LinkedIn, Pinterest and SEO fields, Title Case, Sentence case, slugs, camelCase, snake_case, kebab-case and whitespace cleanup. Online: https://www.gosavetool.com/character-counter
AUTHOR
GoSaveTool https://www.gosavetool.com/
LICENSE
MIT License. See the LICENSE file.