WM
Watch Me Sleep
Put your Mac to sleep with a manual countdown or scheduled Night Watch. Optional on-device camera checks look for closed eyes. By Victor Kuznetsov.
Pricing
Open source
The source code is public, so you can run it yourself. Hosting, and any outside services it uses, may still cost money.
Prices change often. Check the official site for current plans before you buy.
Official website