{"id":13506844,"url":"https://github.com/DanielFGray/fzf-scripts","last_synced_at":"2025-03-30T05:31:24.168Z","repository":{"id":45500034,"uuid":"60381567","full_name":"DanielFGray/fzf-scripts","owner":"DanielFGray","description":"a collection of scripts that rely on https://github.com/junegunn/fzf","archived":false,"fork":false,"pushed_at":"2024-11-12T17:48:06.000Z","size":132,"stargazers_count":488,"open_issues_count":8,"forks_count":31,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-25T01:36:41.672Z","etag":null,"topics":["apt","fzf","git","mpd","npm","pacman","vim"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/DanielFGray.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}},"created_at":"2016-06-03T22:33:34.000Z","updated_at":"2025-03-24T09:56:01.000Z","dependencies_parsed_at":"2024-01-13T20:24:13.147Z","dependency_job_id":"25f79f66-a9c5-41bf-ad75-a6b503b0c513","html_url":"https://github.com/DanielFGray/fzf-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ffzf-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ffzf-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ffzf-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielFGray%2Ffzf-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielFGray","download_url":"https://codeload.github.com/DanielFGray/fzf-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246281099,"owners_count":20752203,"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":["apt","fzf","git","mpd","npm","pacman","vim"],"created_at":"2024-08-01T01:00:58.787Z","updated_at":"2025-03-30T05:31:23.929Z","avatar_url":"https://github.com/DanielFGray.png","language":"Shell","funding_links":[],"categories":["Tools/Scripts/Code:","Shell"],"sub_categories":[],"readme":"# fzf-scripts\n\nThis is a collection of scripts I've written that use [fzf](https://github.com/junegunn/fzf)\n\nAlmost all of them require various tools from coreutils like `awk` `sed` `cut`, and probably make use of GNU extensions.\n\n## [dkr](dkr)\n\nan interactive wrapper around some docker commands\n\n## [fv](fv)\n\nLists or searches for files and opens them with a command, defaults to `vim`. Kind of a shortcut for `vim $(ag 'foo' | fzf)`, lists files if no search string is given.\n\n## [fzgit](fzgit)\n\nInteractive git wrapper. Very much still a work in progress, but it has some very cool functions already.\n\n*depends on `git` and `perl`*\n\n## [fzbuku](fzbuku)\n\nA small wrapper around [buku](https://github.com/jarun/Buku) to search bookmarks\n\n## [fzmp](fzmp)\n\nLists and searches for songs in an MPD library by artist, album, or playlist. I wrote a [blog post](https://danielfgray.gitlab.io/computers/fzmp) about writing this script.\n\n*depends on `mpc`*\n\n## [fzmv](fzmv)\n\nInteractively move files. It was originally just an experiment to see what it would be like to make a file explorer with fzf.\n\n## [fzrepl](fzrepl)\n\nruns stdin against programs like sed, awk, jq and shows the result in the preview window\n\n## [ddgsearch](ddgsearch)\n\nA wrapper around [ddgr](https://github.com/jarun/ddgr) to search the web using DuckDuckGo.\nAccepts all `ddgr` command line arguments. For example, to search Wikipedia for \"hello world\":\n\n```sh\nddgsearch \\!w hello world\n```\n\n*depends on `jq` and `ddgr`*\n\n## [igr](igr)\n\nInteractive grep/rg wrapper\n\n## [ix](ix)\n\nUploads files to [ix.io](http://ix.io) and allows listing and editing of uploads.\n\n*depends on `curl`*\n\n## [js](js)\n\nSearches [npmjs.com](https://npmjs.com) and installs packages with `yarn` if available or `npm`.\n\n*depends on npm and [jq](https://stedolan.github.io/jq/)*\n\n## [pkgsearch](pkgsearch)\n\nSearches repos and installs multiple packages. Currently works with Debian, Ubuntu and Arch, and experimental support for Fedora and Void.\n\n## [pkgrm](pkgrm)\n\nLists and removes packages, optionally sorts by size.\n\n*depends on `pacman`*\n\n## [sshget](sshget)\n\nLists files from remote servers and `rsync`s them to the current directory\n\n## [wifi](wifi)\n\nList and connect to wifi networks\n\n*depends on `nmcli`*\n\n# Install\n\nCurrently there's no installation script, but if you clone the repo you can easily symlink the scripts here with something like:\n\n```sh\ncd /path/to/repo/fzf-scripts\nfind -maxdepth 1 -executable -type f -exec ln -s -t $HOME/.local/bin $PWD/fzf-scripts/{} \\;\n```\n\n# Notable Mentions\n\n* [forgit](https://github.com/wfxr/forgit) - a better version of fzgit\n* [fzf-tab](https://github.com/Aloxaf/fzf-tab) - use fzf to tab-complete everything in your shell\n\n# Legal\n\nCopyright (C) 2023 Ronald Joe Record \u003cronaldrecord@gmail.com\u003e\nCopyright (C) 2016 Daniel F Gray \u003cDanielFGray@gmail.com\u003e\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDanielFGray%2Ffzf-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDanielFGray%2Ffzf-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDanielFGray%2Ffzf-scripts/lists"}