{"id":42433922,"url":"https://github.com/a0405u/xrest","last_synced_at":"2026-04-14T23:01:17.719Z","repository":{"id":334113934,"uuid":"1101219318","full_name":"a0405u/xrest","owner":"a0405u","description":"Tiny and configurable break timer for Xserver written in C","archived":false,"fork":false,"pushed_at":"2026-02-19T17:34:40.000Z","size":323,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-19T20:51:43.204Z","etag":null,"topics":["break","break-timer","c","pause","pause-timer","rest","timer","timer-app","x11","xserver"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a0405u.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-21T11:11:13.000Z","updated_at":"2026-02-19T17:32:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/a0405u/xrest","commit_stats":null,"previous_names":["a0405u/break","a0405u/xrest"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/a0405u/xrest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0405u%2Fxrest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0405u%2Fxrest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0405u%2Fxrest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0405u%2Fxrest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a0405u","download_url":"https://codeload.github.com/a0405u/xrest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0405u%2Fxrest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31818840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["break","break-timer","c","pause","pause-timer","rest","timer","timer-app","x11","xserver"],"created_at":"2026-01-28T04:58:50.754Z","updated_at":"2026-04-14T23:01:17.706Z","avatar_url":"https://github.com/a0405u.png","language":"C","readme":"# xrest\n\nSimple configurable break timer for Xserver that reminds you to rest.\n\n![screenshot](https://0x405.ru/xrest/screenshot_a.png) ![screenshot](https://0x405.ru/xrest/screenshot_b.png)\n\n## Features\n\n- Reminds you to rest\n- Full keyboard controls\n- Sound notifications\n- Input and/or Output block\n- Wide range of configuration options\n- Idle detection\n\n## Build\n\n### Install dependencies.\n\nExample for Ubuntu/Debian:\n\n```bash\nsudo apt update\nsudo apt install libx11-dev libxft-dev libxss-dev\n```\n\nExample for Arch linux:\n\n```bash\nsudo pacman -S libx11 libxft libxss libao\n```\n\nExample for Alpine Linux:\n\n```bash\ndoas apk add libx11-dev libxft-dev libxscrnsaver-dev\n```\n\n### Build application:\n\n```bash\nmake\n```\n\n## Install\n\n```bash\nsudo make install\n```\n\n## Configure\n\nPut your config in `$XDG_CONFIG_HOME/xrest/config.ini`\n\nExample config with defaults:\n\n```ini\n# Text on the break screen\nbreak_title_text = \"Break time!\"\nbreak_message_text = \"Rest your eyes. Stretch your legs. Breathe. Relax.\"\nbreak_hint_text = \"^S - stop, ^Q - quit\"\n\n# Text on the warning screen\nwarning_message_text = \"Please, take a break!\"\nwarning_hint_text = \"^Space - start, ^W - snooze, ^S - skip, ^Q - quit\"\n\n# Text on the end screen\nend_title_text = \"Break has ended!\"\nend_message_text = \"Work fruitfully. Concentrate on important. Don't get distracted.\"\nend_hint_text = \"press any key to continue...\"\n\n# Enable warning before break\nwarning_enabled = true\n# Allow break skip\nskip_enabled = true\n# Allow break snooze\nsnooze_enabled = true\n# Allow break interruption\nstop_enabled = true\n# Enable break end screen\nend_enabled = true\n# Enable hints\nhints_enabled = true\n# Enable time output\ntime_enabled = true\n# Enable sound\nsound_enabled = true\n# Block all input on break (excluding break application)\nblock_input = false\n\n# Time is specified in such maner: XXh YYm ZZs\n# Time between breaks\ntimer_duration = 28m\n# Duration of a break\nbreak_duration = 5m\n# Duration before break starts\nwarning_duration = 1m\n# Snooze duration\nsnooze_duration = 3m\n\n# Restart timer on end\nrepeat = true\n\n# Skip break on idle\ndetect_idle = true\n# Idle time limit to skip break\nidle_limit = 5m\n\n# Color specifications in #rrggbb format\nfont_color = #ffffff\nhint_font_color = #aaaaaa\nbackground_font_color = #222222\nbackground_color = #000000\nprogress_color = #161616\nborder_color = #333333\n\n# Font name, example: JetBrainsMono Nerd Font\nfont_name = \"monospace\"\n\n# Title font specification\ntitle_font_size = 14\ntitle_font_weight = 300\ntitle_font_slant = 0\ntitle_font_style = \"regular\"\n\n# Message and Warning font specification\nmessage_font_size = 12\nmessage_font_weight = 200\nmessage_font_slant = 0\nmessage_font_style = \"regular\"\n\n# Hint font specification\nhint_font_size = 10\nhint_font_weight = 100\nhint_font_slant = 100\nhint_font_style = \"regular\"\n\n# Time font specification\ntime_font_size = 128\ntime_font_weight = 300\ntime_font_slant = 0\ntime_font_style = \"regular\"\n\n# Warning window width in pt\nwarning_width = 320\n# Warning window height in pt\nwarning_height = 96\n# Warning window border width\nborder_width = 0\n# Unused\nprogress_weight = 16\n# Margin between Title and Message\nmargin = 12\n\n# Screen update limit\nfps = 60\n\n# Only WAV is currently supported\n# Break start sound\nstart_sound_path = \"/usr/local/share/xrest/sounds/start.wav\"\n# Break end sound\nend_sound_path = \"/usr/local/share/xrest/sounds/end.wav\"\n# Sound volume from 0.0 to 1.0\nvolume = 0.8\n```\n\n---\n\nLegally, this project is licensed under the MIT License. See LICENSE file for details.\n\nMorally, the Author opposes the intentional use of the provided code or software in a harmful way. See the STATEMENT file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0405u%2Fxrest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa0405u%2Fxrest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0405u%2Fxrest/lists"}