We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
Inside Brackets select to File → Extension Manager….
Search for WakaTime, then click Install.
Enter your API key
Use Brackets like you normally do and your time will be tracked for you automatically.
Visit https://wakatime.com/dashboard to see your coding activity.