[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5466":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},5466,"broot","Canop\u002Fbroot","Canop","A new way to see and navigate directory trees : https:\u002F\u002Fdystroy.org\u002Fbroot","",null,"Rust",12726,294,58,235,0,1,21,66,9,86.51,"MIT License",false,"main",[26,27,28,29,30,31,32,33],"balanced-bfs-descent","command-line","command-line-tool","fuzzy-search","hacktoberfest","linux","rust","tree","2026-06-12 04:00:25","## Broot\n\n[![Tests][s3]][l3] [![MIT][s2]][l2] [![Latest Version][s1]][l1] [![Chat on Miaou][s4]][l4] [![Packaging status][srep]][lrep]\n\n[s1]: https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Fbroot.svg\n[l1]: https:\u002F\u002Fcrates.io\u002Fcrates\u002Fbroot\n\n[s2]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg\n[l2]: LICENSE\n\n[s3]: https:\u002F\u002Fgithub.com\u002FCanop\u002Fbroot\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg\n[l3]: https:\u002F\u002Fgithub.com\u002FCanop\u002Fbroot\u002Factions\u002Fworkflows\u002Ftests.yml\n\n[s4]: https:\u002F\u002Fmiaou.dystroy.org\u002Fstatic\u002Fshields\u002Froom.svg\n[l4]: https:\u002F\u002Fmiaou.dystroy.org\u002F3490?broot\n\n[srep]: https:\u002F\u002Frepology.org\u002Fbadge\u002Ftiny-repos\u002Fbroot.svg\n[lrep]: https:\u002F\u002Frepology.org\u002Fproject\u002Fbroot\u002Fversions\n\nBroot is a better way to navigate directories, find files, and launch commands.\n\n![cows](website\u002Fsrc\u002Fimg\u002F20241027-cows.png)\n\n[**Complete Documentation**](https:\u002F\u002Fdystroy.org\u002Fbroot\u002F) -\n[**Installation Instructions**](https:\u002F\u002Fdystroy.org\u002Fbroot\u002Finstall\u002F) -\n[**Contributing or Getting Help**](https:\u002F\u002Fdystroy.org\u002Fblog\u002Fcontributing\u002F)\n\n## Get an overview of a directory, even a big one\n\nHit `br -s`\n\n![overview](website\u002Fsrc\u002Fimg\u002F20230930-overview.png)\n\nNotice the *unlisted*?\n\nThat's what makes it usable, where the old `tree` command would produce pages of output.\n\n`.gitignore` files are properly dealt with to put unwanted files out of your way.\n\nAs you sometimes want to see gitignored files, or hidden ones, you'll soon get used to the \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>i\u003C\u002Fkbd> and \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>h\u003C\u002Fkbd> shortcuts to toggle those visibilities.\n\n(you can ignore them though, see [documentation](https:\u002F\u002Fdystroy.org\u002Fbroot\u002Fnavigation\u002F#toggles)).\n\n## Find a directory, then `cd` to it\n\ntype a few letters\n\n![cd](website\u002Fsrc\u002Fimg\u002F20230930-cd.png)\n\nHit \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>enter\u003C\u002Fkbd> and you're back to the terminal in the desired location.\n\nThis way, you can navigate to a directory with the minimum amount of keystrokes, even if you don't exactly remember where it is.\n\nBroot is fast and doesn't block (any keystroke interrupts the current search to start the next one).\n\nMost useful keys for this:\n\n* the letters of what you're looking for\n* \u003Ckbd>enter\u003C\u002Fkbd> on the root line to go up to the parent (staying in broot)\n* \u003Ckbd>enter\u003C\u002Fkbd> to focus a directory (staying in broot)\n* \u003Ckbd>esc\u003C\u002Fkbd> to get back to the previous state or clear your search\n* \u003Ckbd class=b>↓\u003C\u002Fkbd> and \u003Ckbd class=b>↑\u003C\u002Fkbd> may be used to move the selection\n* \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>enter\u003C\u002Fkbd> to get back to the shell, having `cd` to the selected directory\n* \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>h\u003C\u002Fkbd> to toggle showing hidden files (the ones whose name starts with a dot)\n* \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>i\u003C\u002Fkbd> to toggle showing gitignored files\n* `:q` if you just want to quit (you can use \u003Ckbd>ctrl\u003C\u002Fkbd>\u003Ckbd>q\u003C\u002Fkbd> if you prefer)\n\n## Never lose track of file hierarchy while you search\n\n![search](website\u002Fsrc\u002Fimg\u002F20230930-gccran.png)\n\nBroot tries to select the most relevant file. You can still go from one match to another one using \u003Ckbd>tab\u003C\u002Fkbd> or arrow keys.\n\nYou may also search with a regular expression. To do this, add a `\u002F` before the pattern.\n\nAnd you have [other types of searches](input\u002F#the-filtering-pattern), for example, searching on file content (start with `c\u002F`):\n\n![content search](website\u002Fsrc\u002Fimg\u002F20230930-content-memm.png)\n\nYou may also apply logical operators or combine patterns, for example, searching `test` in all files except JSON ones could be `!\u002Fjson$\u002F&c\u002Ftest` and searching `carg` both in file names and file contents would be `carg|c\u002Fcarg`.\n\nOnce the file you want is selected, you can\n\n* hit \u003Ckbd>enter\u003C\u002Fkbd> (or double-click) to open it in your system's default program\n* hit \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>enter\u003C\u002Fkbd> to open it in your system's default program and close broot\n* hit \u003Ckbd>ctrl\u003C\u002Fkbd>\u003Ckbd>→\u003C\u002Fkbd> to preview it (and then a second time to go inside the preview)\n* type a verb. For example, `:e` opens the file in your preferred editor (which may be a terminal one)\n\n[blog: a broot content search workflow](https:\u002F\u002Fdystroy.org\u002Fblog\u002Fbroot-c-search\u002F)\n\n## Manipulate your files\n\nMost often, when not using broot, you move your files in the blind. You do a few `ls` before, then your manipulation, and maybe you check after.\n\nYou can instead do it without losing the view of the file hierarchy.\n\n![mv](website\u002Fsrc\u002Fimg\u002F20230930-mv.png)\n\nMove, copy, rm, mkdir, are built in, and you can add your own shortcuts.\n\nHere's chmod:\n\n![chmod](website\u002Fsrc\u002Fimg\u002F20230930-chmod.png)\n\n## Manage files with panels\n\nWhen a directory is selected, do \u003Ckbd>ctrl\u003C\u002Fkbd>\u003Ckbd>→\u003C\u002Fkbd> and you open another panel (you may open other ones, or navigate between them, with \u003Ckbd>ctrl\u003C\u002Fkbd>\u003Ckbd>←\u003C\u002Fkbd> and \u003Ckbd>ctrl\u003C\u002Fkbd>\u003Ckbd>→\u003C\u002Fkbd>).\n\n![custom colors tree](website\u002Fsrc\u002Fimg\u002F20230930-colored-panels.png)\n\n(yes, colors are fully customizable)\n\nYou can, for example, copy or move elements between panels:\n\n![cpp](website\u002Fsrc\u002Fimg\u002F20230930-cpp.png)\n\nIf you like, you may do it Norton Commander style by binding `:copy_to_panel` to \u003Ckbd>F5\u003C\u002Fkbd> and `:move_to_panel` to \u003Ckbd>F6\u003C\u002Fkbd>.\n\n## Preview files\n\nHit \u003Ckbd>ctrl\u003C\u002Fkbd>\u003Ckbd>→\u003C\u002Fkbd> when a file is selected, and the preview panel appears.\n\n![preview](website\u002Fsrc\u002Fimg\u002F20230930-preview.png)\n\n![preview](website\u002Fsrc\u002Fimg\u002F20230930-preview-image.png)\n\nThe preview panel stays synchronized with the selection in the tree panels.\n\nBroot displays images in high resolution when the terminal supports Kitty's graphics protocol\n(compatible terminals: [Kitty](https:\u002F\u002Fsw.kovidgoyal.net\u002Fkitty\u002Findex.html), [WezTerm](https:\u002F\u002Fwezfurlong.org\u002Fwezterm\u002F)):\n\n![kitty preview](website\u002Fsrc\u002Fimg\u002F20201127-kitty-preview.png)\n\n## Apply a standard or personal command to a file\n\n![size](website\u002Fsrc\u002Fimg\u002F20230930-edit.png)\n\nJust find the file you want to edit with a few keystrokes, type `:e`, then \u003Ckbd>enter\u003C\u002Fkbd>.\n\nYou can add verbs or configure the existing ones; see [documentation](https:\u002F\u002Fdystroy.org\u002Fbroot\u002Fconf_file\u002F#verbs-shortcuts-and-keys).\n\nAnd you can add shortcuts, for example, a \u003Ckbd>ctrl\u003C\u002Fkbd> sequence or a function key\n\n## Apply commands on several files\n\nAdd files to the [staging area](staging-area), then execute any command on all of them.\n\n![staging mv](website\u002Fsrc\u002Fimg\u002F20230930-staging-mv.png)\n\n## Replace `ls` (and its clones):\n\nIf you want to display *sizes*, *dates*, and *permissions*, do `br -sdp` which gets you this:\n\n![replace ls](website\u002Fsrc\u002Fimg\u002F20240501-sdp.png)\n\nYou may also toggle options with a few keystrokes while inside broot.\nFor example, you could have typed this `-sdp` while in broot.\nOr hit \u003Ckbd>alt\u003C\u002Fkbd>\u003Ckbd>h\u003C\u002Fkbd> and you see hidden files.\n\n## Sort, see what takes space:\n\nYou may sort by launching broot with `--sort-by-size` or `--sort-by-date`. Or you may, inside broot, type a space, then `sd`, and \u003Ckbd>enter\u003C\u002Fkbd> and you toggled the `:sort_by_date` mode.\n\nWhen sorting, the whole content of the directories is taken into account. So if you want to find on Monday morning the most recently modified files, launch `br --sort-by-date ~`.\n\nIf you start broot with the `--whale-spotting` option (or its shortcut `-w`), you get a mode tailored to \"whale spotting\" navigation, making it easy to determine what files or folders take space.\n\nSizes, dates, and file counts are computed in the background; you don't have to wait for them when you navigate.\n\n![size](website\u002Fsrc\u002Fimg\u002F20230930-whale-spotting.png)\n\nAnd you keep all broot tools, like filtering or the ability to delete or open files and directories.\n\nIf you hit `:fs`, you can check the usage of all filesystems, so that you focus on cleaning the full ones.\n\n![fs](website\u002Fsrc\u002Fimg\u002F20230930-fs.png)\n\n\n## Check git statuses:\n\nUse `:gf` to display the statuses of files (what are the new ones, the modified ones, etc.), the current branch name and the change statistics.\n\n![size](website\u002Fsrc\u002Fimg\u002F20230930-git.png)\n\nAnd if you want to see *only* the files which would be displayed by the `git status` command, do `:gs`. From there it's easy to edit, or diff, selected files.\n\n![gg](website\u002Fsrc\u002Fimg\u002F20230930-gg.png)\n\nFrom there, it's easy to edit, diff,  or revert selected files.\n\n[blog: use broot and meld to diff before commit](https:\u002F\u002Fdystroy.org\u002Fblog\u002Fgg\u002F)\n\n\n## Further Reading\nSee **[Broot's web site](https:\u002F\u002Fdystroy.org\u002Fbroot)** for instructions regarding installation and usage.\n","Broot 是一个用于浏览和导航目录树的命令行工具。它通过模糊搜索快速定位文件和目录，并支持一键切换到选定目录，极大地提高了在复杂项目结构中导航的效率。Broot 采用 Rust 语言编写，具有高性能和低延迟的特点，同时提供了对 .gitignore 文件的支持以及隐藏或忽略文件的显示控制功能。该工具适用于需要频繁在大型代码库或其他复杂文件系统中进行高效查找和操作的场景，如软件开发、系统管理等。",2,"2026-06-11 03:03:29","top_language"]