ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Go​Save​Tool

by mitolocya ST4

Convert SRT and WebVTT, shift and repair subtitles, live word count with social media limits, and case changes for Sublime Text.

Details

Installs

  • Total 0
  • Win 0
  • Mac 0
  • Linux 0
Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

GoSaveTool for Sublime Text

Subtitle tools for Sublime Text 4: convert SRT ↔ WebVTT, shift and repair subtitle timings, change the case of cue text, clean up stray spaces, and see a live word and character count in the status bar while you translate or caption.

Made by GoSaveTool, free online tools for creators.

Commands

Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and type GoSaveTool, or use Tools → GoSaveTool and the right-click menu.

Command What it does
Subtitles to WebVTT / Subtitles to SRT Opens the converted file in a new tab, cues and numbering included
Shift Subtitles… Moves every cue by the seconds you enter (1.5 later, -2 earlier)
Repair Subtitles Sorts cues, fixes overlaps and end times before the start, drops empty cues, renumbers
Word Count Words, characters, sentences, lines and reading time for the selection or the file
Title Case, Sentence case, UPPERCASE, lowercase Changes every selection — handy for cue text that arrived in the wrong case
Clean Spaces Removes trailing spaces, runs of spaces and extra blank lines

The status bar shows the word and character count of the selection, or of the file. Turn it off with "status_bar_count": false in Preferences → Package Settings → GoSaveTool.

Everything runs inside Sublime Text, offline, with no dependencies.

What this package is not

It is deliberately limited to subtitles and caption text. It does not count characters against social media or SEO limits, and it does not convert text to slug, camelCase, snake_case or kebab-case — those live in the web tools at gosavetool.com instead, so this package stays out of the way of the packages that do those jobs properly.

Key bindings

The package adds none, so it never clashes with yours. Example for Preferences → Key Bindings:

{ "keys": ["ctrl+alt+t"], "command": "gosavetool_case", "args": { "op": "title" } },
{ "keys": ["ctrl+alt+w"], "command": "gosavetool_count" }

Install

Package Control: Install Package → GoSaveTool. Manually: copy this folder to your Packages folder (Preferences → Browse Packages…) and name it GoSaveTool.

Tests

python -m unittest discover -s tests

The tests run without Sublime Text, against small stand-ins for its API. gosavetool_lib/subtitles.py is gosavetool-subtitles from PyPI.

Online tools

VTT Subtitle Generator, Auto Captions Generator, Character Counter

License

MIT