Fit Browser
Fit Browser loads your fitness activities and renders their GPS tracks in your browser, with Google Maps integration, so that you can see your running or cycling tracks on a map.
Background
I got robbed! Once upon a time, I paid for a license of Sport Tracks, a software that imported all of my activities into a local database, and allowed me to browse them, and to see them on a map. Eventually, the publisher introduced a new version where all activities were uploaded to their cloud. I did not like that and kept using the legacy software version. I had paid for a perpetual license, after all. But then the publisher published a mandatory "security update", which did nothing for security but first showed a big, red banner at the top saying, "this software is discontinued." Then, the software refused to import new activity files, rendering it useless. I'm not giving them any more of my money! Instead, I rolled my own. For me, the standout feature was the display of my running and cycling routes on a map, so I focused on that.
Usage
- Start Fit Browser.
- Load activities using
Openfrom the File menu, or just drag and drop the activity file into the application. - Start the built-in Web server using
Startfrom theServermenu. - Click on
Open URL in Browserfrom theServermenu. This opens a new browser window showing your activities.
See below for more details.
Installation
Fit Browser runs on Linux, Windows, and MacOS.
-
On Windows, you can download and run the
fitbrowser.exeexecutable from the latest release. -
On any platform (including on Windows, if you do not want to or are not allowed to run foreign-built executables), first install Python. Make sure to include both
pipandTcl/Tk. Then you can either:- Download the fitbrowser Wheel
and run
pip install <whl file>in a console, or - Use
pip install fitbrowserin a console to install Fit Browser from the Python Package Index.
- Download the fitbrowser Wheel
and run
-
Afterwards, you can run
fitbrowserorpython -m fitbrowserin a console.
Set Up
Fit Browser depends on two online services that are free to use, Google Maps and Geonames.
Google Maps
For Google Maps integration, you need a Maps Demo Key from Google. This requires a private Google account. Billing information is not necessary.
In the Fit Browser user interface, go to Google Maps ... in the
Options menu and enter your Maps Demo Key.
Geonames
Geonames is used to look up place names
corresponding to GPS coordinates. You need to create a free account by
clicking on Account and Create an account in the top right corner.
After creating and confirming your account, go to Geonames ... in
the Options menu and enter your User Name (not your email
address).
Details
Fit Browser can read activities in the following formats:
- Garmin FIT files (
*.fit). When I connect my Garmin Forerunner 235 device to a PC, these files show up in the device'sACTIVITYfolder. - Garmin Training Center files (
*.tcx). - Sport Tracks Logbook files (
*.logbook3). - Apple Health data exported as XML files (
*.gpx). - ZIP files containing any combination of the above.
After loading an activity file, the GUI shows the word Loaded in green.
Now you can configure options or choose a filter, if you like. When you are
ready, you can click Start in the Server menu to start the built-in Web
server. The status will now show Running in green, and the status bar
will show the URL that you can now open in your Web browser. For
convenience, you can also use Copy URL to Clipboard or Open URL in Browser from the Server menu.
The Menu
FileOpen ...Opens an activity. You can also choose multiple files at once to merge them.CloseDoes the obvious. You can also useCtrl-w.ExitDoes the obvious. You can also useCtrl-x.
FilterBy date ...Filters the activities by start and end dates. This can be done after loading activities, but before starting the Web server.ResetResets the date filter.
ServerStartStarts the built-in Web server.StopStops the built-in Web server.Copy URL to ClipboardCopy the URL to the clipboard. You can then paste the URL into your favorite browser's address bar.Open URL in BrowserStarts your default browser, or opens a new tab in your default browser, and opens the activity overview.
Options
The Options menu has the following options. Note that the Options
menu is disabled when the built-in Web server is running.
AutostartAutomatically start the built-in Web server immediately after loading an activity file.AutoopenAutomatically open the activity overview page in a Web browser after starting the web server.HTMLOptions related to the HTML rendering.Style SheetBuilt-InUse the built-in style sheet for formatting.Load ...Use a separate CSS file for formatting messages.Save Template As ...Save the built-in style sheet to a file for editing.
HTTPConfigureConfigure the host name and port number to use for the built-in Web server.Host NameThe host name to bind to. Usinglocalhostas the host name is highly recommended. Using your actual host name might make the built-in Web server visible from your local network -- use at your own risk, if you know what you are doing. See the documenation for http.server.Port NumberThe port number to bind to. When0, the built-in Web server automatically chooses an available port number at random, meaning that the URL for the built-in Web server will be different every time. When set to any other valid port number (between 1024 and 65535), the built-in Web server binds to the same address every time.
Google MapsEnableEnable Google Map view of activities and overview.ConfigureConfigures the Google Maps API key.
GeonamesEnableEnable the use of Geonames to look up place names from GPS coordinates.ConfigureConfigures Geonames integration:User NameYour Geonames user name.DatabaseThe Geonames database to use. See thecitiesparameter here.Cache RadiusThe radius for the location cache, in kilometers. When a new location is within this radius of a known location, it is not looked up again.
OtherConfigures miscellaneous other options.Group RadiusIn the overview map, locations within this distance, in kilometers, of one another are grouped into a single location group, i.e., they will share the same marker on the activities overview map.
Formatting
Formatting is controlled by a CSS Stylesheet. Fit Browser by default
uses a built-in stylesheet. If you want to modify formatting, you can
save the built-in stylesheet using Save Template As ... from the
Options menu, edit it, and then use Load ... to use your modified
style sheet instead.
Configuration
Configuration options are stored in the JSON-formatted configuration
file ~/.fitBrowser. On Windows, this file is typically located in
c:\Users\<your user name>.
Fit Browser might misbehave if this file is broken, or if it references files (like the style sheet) that do not exist. So if anything goes wrong, try deleting this file. It will then be re-created from built-in default values.
Command Line
When installed from the Wheel or using pip, you also get the
fitbrowser command-line tool.
fitbrowser can be used to run the web server from the command line.
It also reads the ~/.fitBrowser configuration file and therefore
applies the same options configured in the GUI.
Issues
If the map does not show, then the Google Maps API key is incorrect.
See Set-Up above.
If locations are shown as numerical latitude and longitude values,
then the Geonames user name is incorrect. See Set Up above.
Some devices allow you to select the sport (e.g., Running or Cycling) for an activity. Other activities show up as "Moving."
Fit Browser was not tested with multisport activities (e.g., a Triathlon) yet.
Local Processing
Fit Browser processes your activity files locally, in memory, on the fly.
The integration with Google Maps means that Google knows what parts of the world you are looking at.
Likewise, Geonames will know the locations that Fit Browser is looking up -- i.e., the start locations of your activities.
Metadata
Release files for fitbrowser 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fitbrowser-0.0.2.tar.gz | 75.7 kB | With provenance | Details for fitbrowser-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fitbrowser-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for fitbrowser-0.0.2-py3-none-any.whl |
Total release size: 153.0 kB
Release files / fitbrowser-0.0.2.tar.gz
| Download URL | fitbrowser-0.0.2.tar.gz |
|---|---|
| Size | 75.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1695a8eccc849189eda2f0a4b20aacbb5cee63c7cbc7787e0178aeeaa8ebce5
|
|
BLAKE2b-256 checksum How to use checksums |
6c9cd7de4f8e7ec90d24d87db2a3c729c968cadf69b6b9c9a122d3abdbade18c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / fitbrowser-0.0.2-py3-none-any.whl
| Download URL | fitbrowser-0.0.2-py3-none-any.whl |
|---|---|
| Size | 77.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0103b6dc99b91bc76b5ab31094e148d25d216968c6413eace0d057c36c37f143
|
|
BLAKE2b-256 checksum How to use checksums |
d72d013e829efa53b5209ad71bc00ad1bb7bf87edf75417447d66a26f106a208
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for fitbrowser 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fitbrowser-0.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.