# Pet Project: Sync Subs

> Shift subtitles easily on your browser. My new side project.

Published 2013-11-10 by José M. Pérez · https://jmperezperez.com/blog/sync-subs-project/

I have been working recently on [Sync Subs](https://jmperezperez.com/sync-subs/). It is a website that allows you to synchronize a file with subtitles (in SRT format) applying a time offset:

![Sync Subs - A Subtitles Synchronizer web app](https://jmperezperez.com/static/images/posts/sync-subs.png)

There are lots of websites doing this by letting a user upload a file and then applying the transformation server-side. But with the HTML5 File API you can do this client-side. Thus, you can read the contents of a file, process it and let the user download a file that has been dynamically generated using Javascript in the browser.

I have also been experiencing with Javascript modules written in an AMD style, unit testing, and integration of external services such as [Travis](https://travis-ci.org/JMPerez/sync-subs) (for continuous integration) and [Coveralls](https://coveralls.io/r/JMPerez/sync-subs) (for code coverage).

The code is on [Github](https://github.com/JMPerez/sync-subs) for you to play around with it.
