Time tracking and metrics automatically generated from your Sketch usage.
-
Download the latest release.
-
Unzip the file.
-
Open the
WakaTime.sketchplugin
file to install the plugin. -
Use Sketch like you normally do and your time will automatically be tracked for you.
-
Enter your api key if prompted.
-
Visit https://wakatime.com to see your logged time.
To change your api key, copy it from your Settings page, then paste into Sketch Plugins → WakaTime
.
Additional settings are in $HOME/.wakatime.cfg
for wakatime cli.
To run this plugin from a local clone of the repo:
git clone [email protected]:wakatime/sketch-wakatime.git
cd sketch-wakatime
ln -s "$PWD/sketch-wakatime/WakaTime.sketchplugin" ~/Library/Application\ Support/com.bohemiancoding.sketch3/Plugins/WakaTime.sketchplugin
npm run watch
To view the output from console.log
, you have a few different options:
- Use the
sketch-dev-tools
- Run
skpm log
in your Terminal, with the optional-f
argument (skpm log -f
) which causesskpm log
to not stop when the end of logs is reached, but rather to wait for additional data to be appended to the input
skpm publish <major|minor|patch>
(where bump
can be patch
, minor
or major
)
skpm publish
will create a new release on your GitHub repository and create an appcast file in order for Sketch users to be notified of the update.
The Sketch plugin logs errors to Console.app
and ~/.wakatime/wakatime.log
.
For more info on debugging Sketch plugins see the official docs.
For more general troubleshooting information, see wakatime/wakatime#troubleshooting.