{"id":15712358,"url":"https://github.com/bbkane/fling","last_synced_at":"2025-04-14T03:25:07.709Z","repository":{"id":38886686,"uuid":"431378050","full_name":"bbkane/fling","owner":"bbkane","description":"File/directory symlinker similar to GNU Stow. Manages dotfiles well","archived":false,"fork":false,"pushed_at":"2025-01-23T14:32:06.000Z","size":799,"stargazers_count":30,"open_issues_count":8,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T02:54:22.071Z","etag":null,"topics":["cli","dotfiles","go","golang","homebrew"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bbkane.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-11-24T06:53:28.000Z","updated_at":"2025-01-23T14:32:10.000Z","dependencies_parsed_at":"2023-01-24T00:02:41.921Z","dependency_job_id":"8a46b55b-2639-4230-b745-ec9f71b6917b","html_url":"https://github.com/bbkane/fling","commit_stats":{"total_commits":61,"total_committers":4,"mean_commits":15.25,"dds":0.4426229508196722,"last_synced_commit":"03ab1ff0ceee3c8eb83c0e9715857fcdbc1295ce"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Ffling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Ffling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Ffling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Ffling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbkane","download_url":"https://codeload.github.com/bbkane/fling/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248814557,"owners_count":21165783,"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":["cli","dotfiles","go","golang","homebrew"],"created_at":"2024-10-03T21:15:45.386Z","updated_at":"2025-04-14T03:25:07.688Z","avatar_url":"https://github.com/bbkane.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fling\n\n![demo](./demo.gif)\n\nfling computes and creates/removes the minimal amount of symlinks needed in a directory to refer to files and directories in another directory, similar to [GNU Stow](https://www.gnu.org/software/stow/). I use fling to manage my [dotfiles](https://github.com/bbkane/dotfiles)\n\nfling is much dumber than GNU Stow - it's missing several options, only considers one directory at a time, and deals with absolute paths only (in contrast, GNU Stow works exclusively with relative paths).\n\nAs a tradeoff, fling's codebase is simpler. fling compiles to a single binary and contains fewer lines of code. It's very easy to understand what fling will do for a particular invocation: fling prints out (in color!) what it plans to link/unlink and asks you (by default) before continuing.\n\n## Install\n\n- [Homebrew](https://brew.sh/): `brew install bbkane/tap/fling`\n- [Scoop](https://scoop.sh/):\n\n```\nscoop bucket add bbkane https://github.com/bbkane/scoop-bucket\nscoop install bbkane/fling\n```\n\n- Download Mac/Linux executable: [GitHub releases](https://github.com/bbkane/fling/releases)\n- Go: `go install go.bbkane.com/fling@latest`\n- Build with [goreleaser](https://goreleaser.com/) after cloning: `goreleaser --snapshot --skip-publish --rm-dist`\n\n## Notes\n\nIf you're migrating from GNU Stow, you may see an error similar to the following when you attempt to `fling link` something:\n\n```\nProposed link mismatch errors:\n\n- src: /Users/bbkane/Git/dotfiles/sqlite3/dot-sqliterc\n  link: /Users/bbkane/.sqliterc\n  err: link is already a symlink to src: Git/dotfiles/sqlite3/dot-sqliterc\n```\n\nThis is because GNU Stow works with relative symlinks and fling works with absolute symlinks. Either unstow your directory (`stow -D`) or manually erase the symlink: `unlink /Users/bbkane/.sqliterc`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Ffling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbkane%2Ffling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Ffling/lists"}