I needed to manipulate .srt files and didn’t find any suitable GIT repos so I decided to write my own.
My goal was to stick to something as simple as 2 functions either parsing or outputting a .srt content using io.Reader or io.Writer. Once done with that, I added the possibility to add a positive or negative duration to each timestamps in the .srt and added a CLI package to do that without having to go through the code.
I think you guys who need to manipulate .srt files will find it useful as it’s pretty straight forward and a little bit more structured than what’s out there (I think ).
Hope you’ll enjoy it.