微信小程序群发功能代码实现详细分析
1000
2022-10-26
自动跟踪您使用哪个应用程序和多长时间
Spice up your day-to-day productivity with some free Thyme, courtesy of the team at Sourcegraph (the best way to read and explore code). Automatically track which applications you use and for how long.
Simple CLI to track and analyze your application usageDetailed charts that let you profile how you spend your timeStores data locally, giving you full control and privacyOpen-source, well-documented, and easily extensible
Thyme is a work in progress, so please report bugs! Want to see how it works? Dive into the source here.
Want to share what you've learned about your Thyme? Join the discussion on Twitter.
Features
Simple CLI
Record which applications you use every 30 seconds: $ while true; do thyme track -o thyme.json; sleep 30s; done; Create charts showing application usage over time. In a new window: $ thyme show -i thyme.json -w stats > thyme.html Open thyme.html in your browser of choice to see the charts below.
Application usage timeline
Detailed application window timeline
Aggregate time usage by app
Dependencies
Thyme's dependencies vary by system. See thyme dep (mentioned in the installation instructions below).
Install
Install Go (if you have Homebrew on macOS, you can also run brew install go) and run $ go get -u github.com/sourcegraph/thyme/cmd/thyme Alternatively, if you don't want to install Go, just download the thyme binary here. Follow the instructions printed by thyme dep. $ thyme dep Verify thyme works with $ thyme track This should display JSON describing which applications are currently active, visible, and present on your system.
Thyme currently supports Linux, macOS, and Windows.
Usage for Other Shells
Windows Powershell
> for(1){thyme track -o thyme.json; Start-Sleep -s 5}> thyme show -i thyme.json -w stats | Out-File -e utf8 thyme.html
Windows DOS Command Line
> for /L %n in (0) do @(thyme track -o thyme.json && timeout /t 5 /nobreak)> thyme show -i thyme.json -w stats > thyme.html
Use cases
Thyme was designed for developers who want to investigate their application usage to make decisions that boost their day-to-day productivity.
It can also be for other purposes such as:
Tracking billable hours and constructing timesheetsStudying application usage behavior in a given population
How is Thyme different from other time trackers?
There are many time tracking products and services on the market. Thyme differs from available offerings in the following ways:
Thyme does not intend to be a fully featured time management product or service. Thyme adopts the Unix philosophy of a command-line tool that does one thing well and plays nicely with other command-line tools. Thyme does not require you to manually signal when you start or stop an activity. It automatically records which applications you use. Thyme is open source and free of charge. Thyme does not send data over the network. It stores the data it collects on local disk. It's up to you whether you want to share it or not.
Attribution
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。