https://github.com/tech-branch/tsr Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} tech-branch / tsr Public * Notifications * Fork 0 * Star 36 Simple csv-based timetracker for Raycast and Alfred License MIT license 36 stars 0 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights tech-branch/tsr This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 2 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/t] Use Git or checkout with SVN using the web URL. [gh repo clone tech-b] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @spekulant spekulant Merge pull request #4 from tech-branch/alfred/ update-installation-readme ... 9df00da Mar 24, 2023 Merge pull request #4 from tech-branch/alfred/ update-installation-readme Update Alfred Workflow installation steps in README 9df00da Git stats * 21 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time alfred Update Alfred Workflow installation steps in README March 24, 2023 19:22 assets Update Alfred Workflow installation steps in README March 24, 2023 19:22 raycast Save in ~/tsr directory by default March 24, 2023 10:29 .gitignore add DS_Store to gitignore March 21, 2023 18:26 LICENSE Add MIT License March 21, 2023 18:23 README.md Update Alfred Workflow installation steps in README March 24, 2023 19:22 View code [ ] Low-overhead time recorder Demo with a few entries and visualisation Motivation Details and usage Available options TSR - Record TSN - Note TSL - Latest TSV - View TSE - Edit Installation Raycast Alfred README.md Low-overhead time recorder Least invasive, csv based, linear time recorder that doesn't keep your data hostage. Your csv files are stored in the ~/tsr directory Demo with a few entries and visualisation [tsr-raycast-tsr-full] Motivation In my daily work I often struggle with frequent context switches and stopping to write documentation. This tool helps me alleviate both of those problems. tsr lets me easily mark the context switches, making them much more consious and observable. Having a written record helps me measure the real scale of the problem and pinpoint productivity sinks. tsn allows me to write notes as I go. This at least gives me a skeleton documentation once a feature is done, minimising the effort needed to write a proper document later. I tried a few other tools over the years, but the number of features they offer often distracted me from using it efficiently, making time tracking an effort on its own. While tsr may not have an extensive list of features, it has proven to be effective for my needs, and I believe it may also benefit others in similar situations. Details and usage This tool uses a simple two-column csv format for storing records datetime,tags delimited by space Each record should mark a newly started activity, that way context switches are much more consious and observable. The tag has a default value of 'next' to minimise the time required to operate the tool, you can edit the records manually later. 'tsr' Adding new activities with tags is also quite simple tsr vpn connector tsr client migration tsr lunch tsr incident interrupted 2431 tsr work eod This would result in creating a file record.csv with the following content: 2023-03-17 10:01:55.000000,vpn connector 2023-03-17 12:34:00.000000,client migration 2023-03-17 14:36:00.000000,lunch 2023-03-17 15:03:55.000000,incident interrupted 2431 2023-03-17 17:46:57.000000,work eod Based on the output, you can create custom reports and do your visualisation wizardry Available options TSR - Record Creates a new timestamped entry in the records.csv file. [tsr-raycast-tsr] TSN - Note Creates a timestamped note in the notes.csv file. Notes are attached to the record they correspond to in the tsv view. [tsr-raycast-tsn] TSL - Latest Displays the latest entry and its duration. [tsr-raycast-tsl] TSV - View Builds a self-contained offline HTML page that displays entries on a timeline. Once built, you can use the html file on its own as it doesn't have any external dependencies. Since this is statically built, the page will not self-update with new entries. You'll have to use tsv each time you want to see the up-to-date timeline view. This does not start a webserver of any kind, it's a completely static HTML page. [tsr-raycast-tsv] TSE - Edit Simply opens Finder in the records directory so you can edit or lookup files manually [tsr-raycast-tse] Installation This tool is available for both Alfred and Raycast. Raycast Installing the extension is as simple as pointing Raycast at the directory where the scripts are. You can clone this repository or download it as a zip, then point Raycast Extensions at the raycast directory where you downloaded this repository. [tsr-raycast-installation] Alfred Installing the workflow is as simple as double clicking the Timestamp Record.alfredworkflow package in the alfred directory and hitting "Install" once in Alfred's installation window. [tsr-alfred-installation] About Simple csv-based timetracker for Raycast and Alfred Topics alfred extension alfred-workflow raycast timetracker Resources Readme License MIT license Stars 36 stars Watchers 0 watching Forks 0 forks Releases 2 tags Packages 0 No packages published Languages * Python 79.8% * CSS 20.2% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.