Skip to content

Let you review things you have done on your computer

License

Notifications You must be signed in to change notification settings

git-akihakune/whid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What have I done?

Let you review things you have done on your computer.

Why?

Computers are getting so addictive that we all have been entrained at some point. Destop recording let us see how our precious time has been spent. However, normal screen record methods are sometimes heavy on resources, and we can't afford to lose 1 hour reviewing things from the previous one - too unefficient, and hence this module.

On the other hand, it can also be used as a TUI pomodoro timer.

Examples

demo.mp4

There is no sound (obviously). On the other hand, it is very light on CPU, memory and disk usage. The video quality is high enough to understand what was going on, thou. You can also change the video FPS from arguments.

Installation

You can install from PyPi:

pip install whid

Don't forget to check the installation:

python -m whid -h

About Linux...

You need to install scrot first for screenshot functions

sudo apt install scrot

scrot is acknowledged for not working on Wayland. So please check your scrot installation beforehand:

cd /tmp
scrot test.png
firefox test.png

If you see a black screen, it's time to uninstall the packages.

Usage

By default, the program records at 0.2 fps (5 secs/ 1 screenshot), for a duration of 1 hour (3600 seconds). To run default script:

python -m whid

For more optional arguments, check the help command.

python -m whid --help

GUI

If you prefer a GUI application over a CLI one, please check out FrameRecorder. It's a bit heavier, but it has a beautiful, intuitive GUI.

Development

  • The module's supposed to work cross-platform, but due to the lack of access to Mac devices, I haven't tested it on OSX/MacOS. It would be deeply appreciated if you can test it on your Mac and report back issues (if any).
  • If you have a fix for scrot problems on Wayland, please open a pull request.
  • Every other issue, pull request or suggestions are also highly valuable.