All Projects → slgobinath → Safeeyes

slgobinath / Safeeyes

Licence: gpl-3.0
Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Safeeyes

Goto
Alias and navigate to directories with tab completion in Linux
Stars: ✭ 698 (-24.05%)
Mutual labels:  utility
Remeda
A utility library for JavaScript and TypeScript.
Stars: ✭ 774 (-15.78%)
Mutual labels:  utility
Mini Observable
A mini implementation of TC39 observables, plus some utils!
Stars: ✭ 16 (-98.26%)
Mutual labels:  utility
Embedmd
embedmd: embed code into markdown and keep everything in sync
Stars: ✭ 714 (-22.31%)
Mutual labels:  utility
Utils
A collection of useful PHP functions, mini classes and snippets that you need and can use every day.
Stars: ✭ 750 (-18.39%)
Mutual labels:  utility
Tip
Programmable tooltip that can be used with any Mac OS app
Stars: ✭ 798 (-13.17%)
Mutual labels:  utility
Thor
Switch the right application ASAP.
Stars: ✭ 660 (-28.18%)
Mutual labels:  utility
Slowquitapps
Add a global delay to Command-Q to stop accidental app quits.
Stars: ✭ 916 (-0.33%)
Mutual labels:  utility
Engauge Digitizer
Extracts data points from images of graphs
Stars: ✭ 754 (-17.95%)
Mutual labels:  utility
Vault2env
Small utility to transfer fields of a key in Vault into the environment
Stars: ✭ 6 (-99.35%)
Mutual labels:  utility
Quicktile
Adds window-tiling hotkeys to any X11 desktop. (An analogue to WinSplit Revolution for people who don't want to use Compiz Grid)
Stars: ✭ 719 (-21.76%)
Mutual labels:  utility
Pydash
The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library.
Stars: ✭ 728 (-20.78%)
Mutual labels:  utility
Git Repo
Git-Repo: CLI utility to manage git services from your workspace
Stars: ✭ 818 (-10.99%)
Mutual labels:  utility
Qbit
The Java microservice lib. QBit is a reactive programming lib for building microservices - JSON, HTTP, WebSocket, and REST. QBit uses reactive programming to build elastic REST, and WebSockets based cloud friendly, web services. SOA evolved for mobile and cloud. ServiceDiscovery, Health, reactive StatService, events, Java idiomatic reactive programming for Microservices.
Stars: ✭ 702 (-23.61%)
Mutual labels:  health
To Title Case
Convert a string to a title case.
Stars: ✭ 17 (-98.15%)
Mutual labels:  utility
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (-26.12%)
Mutual labels:  utility
Pie
🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.
Stars: ✭ 788 (-14.25%)
Mutual labels:  utility
Kuberhealthy
A Kubernetes operator for running synthetic checks as pods. Works great with Prometheus!
Stars: ✭ 920 (+0.11%)
Mutual labels:  health
Cue Maker
A simple and easy to use program that fetches original cue files for your roms.
Stars: ✭ 19 (-97.93%)
Mutual labels:  utility
Xonotic Map Manager
A command line package manager for Xonotic community maps
Stars: ✭ 5 (-99.46%)
Mutual labels:  utility

Safe Eyes

Release PyPI version Debian AUR Translation status Awesome Humane Tech Donate

Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder.

Visit the official site: http://slgobinath.github.io/SafeEyes/ for more details.

Safe Eyes command-line arguments

usage: safeeyes [-h] [-a | -d | -e | -q | -s | -t] [--debug] [--version]

Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to
take breaks while you're working long hours at the computer.

optional arguments:
  -h, --help        show this help message and exit
  -a, --about       show the about dialog
  -d, --disable     disable the currently running safeeyes instance
  -e, --enable      enable the currently running safeeyes instance
  -q, --quit        quit the running safeeyes instance and exit
  -s, --settings    show the settings dialog
  -t, --take-break  take a break now
  --debug           start safeeyes in debug mode
  --status          print the status of running safeeyes instance and exit
  --version         show program's version number and exit

Installation guide

Safe Eyes is available in Ubuntu PPA, Arch AUR, Gentoo and Python PyPI. You can choose any installation source and install on any Linux system with Python 3.

Ubuntu, Linux Mint and other Ubuntu Derivatives

sudo add-apt-repository ppa:slgobinath/safeeyes
sudo apt update
sudo apt install safeeyes

Arch

yay -S safeeyes

Gentoo

sudo emerge -av x11-misc/safeeyes

Debian

sudo apt-get install gir1.2-appindicator3-0.1 gir1.2-notify-0.7 python3-psutil python3-xlib xprintidle python3-pip python3-babel python3-croniter
sudo pip3 install safeeyes
sudo update-icon-caches /usr/share/icons/hicolor

People using unstable/testing Debian can install Safe Eyes from the official repository using the following command:

sudo apt-get install safeeyes

Fedora

sudo dnf install libappindicator-gtk3 python3-psutil cairo-devel python3-devel gobject-introspection-devel cairo-gobject-devel
sudo pip3 install safeeyes
sudo gtk-update-icon-cache /usr/share/icons/hicolor

OpenSUSE Tumbleweed

sudo zypper refresh
sudo zypper install safeeyes

Other Linux & Run from source

Ensure to meet the following dependencies:

  • gir1.2-appindicator3-0.1
  • gir1.2-notify-0.7
  • libappindicator-gtk3
  • python3-psutil
  • xprintidle (optional)

To install Safe Eyes:

sudo pip3 install safeeyes

After installation, restart your system to update the icons,

To run from source:

git clone https://github.com/slgobinath/SafeEyes.git
cd SafeEyes
python3 -m safeeyes

Safe Eyes installers install the required icons to /usr/share/icons/hicolor. When you run Safe Eyes from source without, some icons may not appear.

Install in Virtual Environment

Some Linux systems like Cent OS do not have matching dependencies available in their repository. In such systems, you can install and use Safe Eyes in a Python Virtual Environment. The following instruction was tested on Cent OS 7.

  1. Install the necessary dependencies

    sudo yum install python3-devel dbus dbus-devel cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel gobject-introspection-devel cairo-gobject-devel
    
  2. Create a virtual environment in your home folder

    mkdir ~/safeeyes
    cd ~/safeeyes/
    
    pip3 install virtualenv --user
    virtualenv --no-site-packages venv
    source venv/bin/activate
    pip3 install dbus-python safeeyes
    
  3. Start Safe Eyes from terminal

    cd ~/safeeyes & source venv/bin/activate
    python3 -m safeeyes
    

For more details, please check the issue: #329

Features

  • Remind you to take breaks with exercises to reduce RSI
  • Disable keyboard during breaks
  • Notification before and after breaks
  • Smart pause if system is idle
  • Multi-screen support
  • Customizable user interface
  • RPC API to control externally
  • Command-line arguments to control the running instance
  • Customizable using plug-ins

Third-party Plugins

Thirdparty plugins are available at another GitHub repository: safeeyes-plugins. More details about how to write your own plugin and how to install third-party plugin are available there.

License

GNU General Public License v3

IDE Support

Thanks to JetBrains for offering IDE support to develop this Open Source project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].