{"id":13496027,"url":"https://github.com/sdushantha/farge","last_synced_at":"2025-09-10T02:37:32.511Z","repository":{"id":45292941,"uuid":"198412657","full_name":"sdushantha/farge","owner":"sdushantha","description":"Click on a pixel on your screen and show its color value","archived":false,"fork":false,"pushed_at":"2024-05-10T09:44:31.000Z","size":21549,"stargazers_count":486,"open_issues_count":3,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T19:10:04.683Z","etag":null,"topics":["bash","color","colorpicker","commandline","linux","wayland","x11"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/sdushantha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://www.buymeacoffee.com/sdushantha"}},"created_at":"2019-07-23T11:00:02.000Z","updated_at":"2025-02-16T06:11:41.000Z","dependencies_parsed_at":"2024-01-16T09:54:10.038Z","dependency_job_id":"daff9eff-f2d7-40dd-9e1b-8b81380475f8","html_url":"https://github.com/sdushantha/farge","commit_stats":{"total_commits":51,"total_committers":12,"mean_commits":4.25,"dds":0.2941176470588235,"last_synced_commit":"837d0f12db88a086ce8c7b81ad1e9a5e6996efc0"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Ffarge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Ffarge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Ffarge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdushantha%2Ffarge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdushantha","download_url":"https://codeload.github.com/sdushantha/farge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242681,"owners_count":20907134,"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","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":["bash","color","colorpicker","commandline","linux","wayland","x11"],"created_at":"2024-07-31T19:01:40.922Z","updated_at":"2025-04-04T20:15:18.547Z","avatar_url":"https://github.com/sdushantha.png","language":"Shell","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"extra/farge_logo.png\"\u003e\u003cbr\u003e\u003csub\u003e✨ Click on a pixel on your screen and show its color value ✨\u003c/sub\u003e\u003c/p\u003e\n\n```farge``` is a command line tool which you can use to select a pixel\non the screen and get the value of its color, in either **hex or RGB** format.\nThe color code is automatically **saved to the clipboard**. If you want to save the color,\n```farge``` is able to show the color in a image viewer with the color code on\nit. This tool is able to work with a variety of image viewers like ```feh```,\n```mpv```, ```nsxiv``` and ```sxiv```. It works on **X11 and Wayland**.\n\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"extra/farge.gif\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Dependencies\n- ```bash```\n- ```bc```\n- ```imagemagick```\n- ```feh``` (Other: ```mpv```, ```nsxiv``` or ```sxiv```, but you must specify it using the ```--image-viewer``` flag)\n#### If you use X11\n- ```xcolor``` (https://github.com/Soft/xcolor)\n#### If you use Wayland\n- ```slurp``` (https://wayland.emersion.fr/slurp)\n- ```grim```  (https://wayland.emersion.fr/grim)\n- ```wl-copy```  (https://github.com/bugaevc/wl-clipboard)\n\n\n\n## Installation\n\n### Install as a package\n```farge``` is available in the [Arch User Repository](https://aur.archlinux.org/packages/farge-git). If you use Arch or an Arch-based distro, you can use ```makepkg``` or your AUR helper of choice to install the ```farge-git``` package.\n\n### Install using ```make```\n```bash\n# Clone the repo\n$ git clone https://github.com/sdushantha/farge\n\n# Change your current directory to farge\n$ cd farge\n\n# Install it\n$ sudo make install\n```\n\n### Install it locally\n\n```bash\n# Download the farge source code, save it as farge\n# and make it executeable\n$ curl -L https://git.io/raw-farge \u003e farge \u0026\u0026 chmod +x farge\n\n# Then move farge to somewhere in your $PATH\n# Here is an example\n$ mv farge ~/scripts/\n```\n\n## Usage\n```bash\n$ farge --help\nusage: farge [OPTIONS...]\n \n┌─┐┌─┐┬─┐┌─┐┌─┐\n├┤ ├─┤├┬┘│ ┬├┤ \n┴  ┴ ┴┴└─└─┘└─┘\nClick on a pixel on your screen and show its color value\n\noptional arguments:\n   --help                show this help message and exit\n   --no-preview          dont show the selected color in a preview window\n   --no-color-code       dont write the color code on the preview window\n   --rgb                 show the color code as RGB instead of HEX\n   --image-viewer        image viewer to use to show the preview (feh, mpv, nsxiv, sxiv)\n   --notify              send the color code as notification, where the icon is the selected color\n   --expire-time         amount of time the notification should be visible, in milliseconds\n   --stdout              output the color value to stdout\n   --version             show the version of farge you are using\n```\n\n## Tips\nIt would be smart to bind `farge` to a keybinding. Here is an example for `i3wm` users:\n```\nbindsym $mod+Shift+f --release exec farge\n```\n\nIf you use a window manager, you can assign rules the windows so they are\nalways floating. For `i3wm` user, put this in your config:\n\n```\n# Let the windows created by Farge be floating\nfor_window [instance=\"Farge\"] floating enable\n```\n\n## License\nMIT License\n\nCopyright © 2019 Siddharth Dushantha\n","funding_links":["https://www.buymeacoffee.com/sdushantha"],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdushantha%2Ffarge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdushantha%2Ffarge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdushantha%2Ffarge/lists"}