GitXplorerGitXplorer
t

WarpTrail

public
8 stars
0 forks
2 issues

Commits

List of commits on branch main.
Unverified
2df65183b2a614e06d69f2b5bb22554487bd5bb9

Bump version number

tticky committed 3 years ago
Verified
9c5a772b10a1e0226aedc038ae9925d4aee6e961

Merge pull request #9 from ticky/rename-project

tticky committed 3 years ago
Unverified
5ee2ff0633abd526d1c32f84402a88f87d86fef9

New icon, kinda WIP but good enough for now!

tticky committed 3 years ago
Unverified
17135f7a9f0d2b6913a2e5de6d141130c8265d2e

Implement database migration

tticky committed 3 years ago
Unverified
44f74d17056b7555c9b03f04fc6f8ab713d9fb07

Rename the project to WarpTrail for VRChat

tticky committed 3 years ago
Verified
f56fe921aacc2aa794790f665cf08271d353b3bd

Merge pull request #6 from ticky/implement-visitors

tticky committed 3 years ago

README

The README file for this repository.

WarpTrail for VRChat

Python

Automatically keep track of the worlds you visit in VRChat

Usage

WarpTrail is a little tool which runs in the background from a system tray icon. It will monitor the VRChat logs and maintain a database of the worlds you visit and when you joined and left them1.

Easiest way to use it is to put WarpTrail.exe in your %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup folder and have it start automatically. You'll either need to run it then to get going or log out and back in.

Finally, you can export your history by right-clicking on the tray icon. You have a choice of three formats to export as; Markdown, Plain Text and JSON. The right click menu is also how you exit the program.

Technical Details

WarpTrail uses file system events to tell when VRChat starts. When VRChat isn't running, it doesn't do anything else in the background other than what is necessary to keep the tray icon happy.

While VRChat is running it will monitor the log file it creates, which contains the information we need about your whereabouts.

Application data is stored in the %LOCALAPPDATA%\ticky\WarpTrail\WarpTrail.db SQLite database - if you need to delete all your history, you can delete this file.

Building

Better instructions to come, but this is the command to build a distributable Windows exe:

pyinstaller --name WarpTrail --add-data="resources\*;resources" --icon resources\warptrail.ico --onefile --windowed --manifest resources/warptrail.exe.manifest --version-file resources/file_version_info.txt warptrail.py

This can also be used via system Python but I don't think that's a good move for general distribution. Maybe it'll become a pypi package one day though, who knows.

Testing

A test suite is included, and automatically executed by GitHub Actions.

Tests can be executed using either:

python3 test_warptrail.py

or, if pytest is installed:

pytest

  1. It does not keep track of specific instance information (who started it, IDs, regions), just the worlds themselves. ā†©