Repository navigation
Developer
Documentation for plugin-official, the package of built-in Velitask indicators: video, audio, images, slider, speedometer, slope and speed charts, text data indicators (distance, speed, slope, temperature, heart rate, power, cadence, laps, coordinates, time), subtitles, map, compass, and simple shapes (line, rectangle, ellipse). The full list is on the Indicators page.
This wiki is a technical description of this specific plugin: what we built, how it works, which properties exist, and how slope, distance and coordinates are calculated. It is not a tutorial on writing your own plugin; for that, read the SDK wiki: Introduction and Build and connect.
There are two paths:
-
From scratch is the cleanest. Read the Introduction in the SDK wiki, fork
plugin-exampleas a starter template, and start building. -
Fork our plugin if you want to extend or modify the existing indicators. Fork
plugin-official, make your changes, and send a pull request. We review and accept reasonable proposals.
Chats, channels and discussions are on velitask.com, in the community section with up-to-date links (Telegram and others).
Bugs and feature requests for the plugin go to GitHub Issues.
A full overview of the indicators is on the Indicators page (what each one shows and which sensor it is bound to).
A description of the files in the plugin's src/main/resources/ (plugin database schema, localization, indicator SVG graphics, Mixel templates for source types) is on the Resources page.
Each Java class of the plugin has a page with the full source and a walkthrough: what each field stores, the contract of each method, what the drawing cycle looks like, and the pitfalls. The table of contents is Code. The production code in src/main/java/... is intentionally clean (no JavaDoc and no comments); all the description lives here in the wiki, as a "book about the code".
The reference page is SpeedometerIndicator. It shows the level of detail we aim for.
The save format of each indicator in a project and in a template is on its JSON page <Indicator>-JSON (for example, TemperatureTextIndicator-JSON).
- README: quick start, build and plugin installation
- SDK wiki: concepts and a step-by-step guide to plugin development
-
plugin-example: a minimal plugin template to fork