{"id":23878666,"url":"https://github.com/ws-kj/xsnip","last_synced_at":"2025-10-04T04:58:47.067Z","repository":{"id":45098472,"uuid":"441374712","full_name":"ws-kj/xsnip","owner":"ws-kj","description":"a minimal and convenient screenshot utility for X11","archived":false,"fork":false,"pushed_at":"2024-08-12T22:21:10.000Z","size":300,"stargazers_count":38,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-09T07:17:24.089Z","etag":null,"topics":["c","clipboard","screenshot","x11"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ws-kj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2021-12-24T05:28:02.000Z","updated_at":"2025-08-16T23:14:02.000Z","dependencies_parsed_at":"2022-09-06T02:42:25.045Z","dependency_job_id":"a83fb21d-7df0-4dec-a0b2-8e39e3dc53cc","html_url":"https://github.com/ws-kj/xsnip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ws-kj/xsnip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ws-kj%2Fxsnip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ws-kj%2Fxsnip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ws-kj%2Fxsnip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ws-kj%2Fxsnip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ws-kj","download_url":"https://codeload.github.com/ws-kj/xsnip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ws-kj%2Fxsnip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266894,"owners_count":25958733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","clipboard","screenshot","x11"],"created_at":"2025-01-03T21:49:26.191Z","updated_at":"2025-10-04T04:58:47.050Z","avatar_url":"https://github.com/ws-kj.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xsnip - a minimal and convenient screenshot utility for X11\nMost screenshot utilities compatible with X are clumsy, use bloated toolkits, and often do not support selection regions or the clipboard. \nxsnip seeks to streamline the screenshot process in a number of ways. \nxsnip is compatible with any window manager, has no graphical interface, has automatic clipboard support, and is entirely based on selection regions over specific windows. \nWhile most screenshot tools require either a cli flag or a button to save images to the clipboard, xsnip selections made with the left mouse button will automatically be copied, saving time and input.\n\n## Installation\nxsnip requires xclip and libpng, both of which can usually be installed via your system package manager.\n\nWith dependencies installed and repo cloned:\n\n`make`\n\n`make install` \n\n## Usage\n\nClick and drag anywhere on the screen to make a selection, or screenshot a window by clicking on it.\n\nA selection made with the left mouse button will be automatically copied to the clipboard.\n\nA selection made with the right mouse button will be saved under ~/Pictures by default.\n\nYou can exit the program without taking a screenshot with the esecape key.\n\nIt is recommended that you assign xsnip to a keybind in your window manager for convenient use.\n\n## Configuration\nThe saved screenshot directory, poll rate, quit key, and cursor glyph can all be changed from their default values by editing the corresponding macros at the top of `xsnip.c` and recompiling.\n\nIf you experience strange behavior when the program is running, such as a black or blurry screen, run xsnip in opaque mode with the flag `-o`, or recompile with the `OPAQUE` macro set to `true` to set it as the default. When the default mode is opaque, you can run in transparent mode with the `-t` flag. \nYou should compile in opaque mode if your window manager/compositor does not support transparency.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fws-kj%2Fxsnip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fws-kj%2Fxsnip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fws-kj%2Fxsnip/lists"}