{"id":13433304,"url":"https://github.com/ranger/ranger","last_synced_at":"2025-05-12T10:49:01.896Z","repository":{"id":37451145,"uuid":"218157","full_name":"ranger/ranger","owner":"ranger","description":"A VIM-inspired filemanager for the console","archived":false,"fork":false,"pushed_at":"2025-03-12T15:04:22.000Z","size":10720,"stargazers_count":16148,"open_issues_count":895,"forks_count":900,"subscribers_count":152,"default_branch":"master","last_synced_at":"2025-05-12T09:01:54.758Z","etag":null,"topics":["console","file-launcher","file-manager","file-preview","vim"],"latest_commit_sha":null,"homepage":"https://ranger.fm","language":"Python","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/ranger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-06-04T06:41:11.000Z","updated_at":"2025-05-12T07:21:39.000Z","dependencies_parsed_at":"2022-08-08T20:16:06.419Z","dependency_job_id":"0df35c5d-251c-4590-9304-b1744f02cd32","html_url":"https://github.com/ranger/ranger","commit_stats":{"total_commits":4409,"total_committers":254,"mean_commits":"17.358267716535433","dds":0.4939895667951917,"last_synced_commit":"136416c7e2ecc27315fe2354ecadfe09202df7dd"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranger%2Franger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranger%2Franger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranger%2Franger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranger%2Franger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranger","download_url":"https://codeload.github.com/ranger/ranger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253723733,"owners_count":21953674,"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":["console","file-launcher","file-manager","file-preview","vim"],"created_at":"2024-07-31T02:01:23.877Z","updated_at":"2025-05-12T10:49:01.838Z","avatar_url":"https://github.com/ranger.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://ranger.fm/\"\u003e\n\u003cimg src=\"https://ranger.fm/ranger_logo.png\" width=\"200\"\u003e\n\u003c/a\u003e\n\nRanger 1.9.4\n============\n\n[![Python lints and tests](https://github.com/ranger/ranger/actions/workflows/python.yml/badge.svg)](https://github.com/ranger/ranger/actions/workflows/python.yml)\n\u003ca href=\"https://repology.org/metapackage/ranger/versions\"\u003e\u003cimg src=\"https://repology.org/badge/latest-versions/ranger.svg\" alt=\"latest packaged version(s)\"\u003e\u003c/a\u003e\n[![Donate via Liberapay](https://img.shields.io/liberapay/patrons/ranger)](https://liberapay.com/ranger)\n\u003c/div\u003e\n\nRanger is a console file manager with VI key bindings.  It provides a\nminimalistic and nice curses interface with a view on the directory hierarchy.\nIt ships with `rifle`, a file launcher that is good at automatically finding\nout which program to use for what file type.\n\n![screenshot](https://raw.githubusercontent.com/ranger/ranger-assets/master/screenshots/screenshot.png)\n\nFor `mc` aficionados there's also the multi-pane viewmode.\n\n\u003cp\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/ranger/ranger-assets/master/screenshots/twopane.png\" alt=\"two panes\" width=\"49%\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/ranger/ranger-assets/master/screenshots/multipane.png\" alt=\"multiple panes\" width=\"49%\" /\u003e\n\u003c/p\u003e\n\nThis file describes ranger and how to get it to run.  For instructions on the\nusage, please read the man page (`man ranger` in a terminal).  See `HACKING.md`\nfor development-specific information.\n\nFor configuration, check the files in `ranger/config/` or copy the\ndefault config to `~/.config/ranger` with `ranger --copy-config`\n(see [instructions](#getting-started)).\n\nThe `examples/` directory contains several scripts and plugins that demonstrate how\nranger can be extended or combined with other programs.  These files can be\nfound in the git repository or in `/usr/share/doc/ranger`.\n\nA note to packagers: Versions meant for packaging are listed in the changelog\non the website.\n\n\nAbout\n-----\n* Authors:     see `AUTHORS` file\n* License:     GNU General Public License Version 3\n* Website:     https://ranger.fm/\n* Download:    https://ranger.fm/ranger-stable.tar.gz\n* Bug reports: https://github.com/ranger/ranger/issues\n* git clone    https://github.com/ranger/ranger.git\n\n\nDesign Goals\n------------\n* An easily maintainable file manager in a high level language\n* A quick way to switch directories and browse the file system\n* Keep it small but useful, do one thing and do it well\n* Console-based, with smooth integration into the unix shell\n\n\nFeatures\n--------\n* UTF-8 Support  (if your Python copy supports it)\n* Multi-column display\n* Preview of the selected file/directory\n* Common file operations (create/chmod/copy/delete/...)\n* Renaming multiple files at once\n* VIM-like console and hotkeys\n* Automatically determine file types and run them with correct programs\n* Change the directory of your shell after exiting ranger\n* Tabs, bookmarks, mouse support...\n\n\nDependencies\n------------\n* Python (`\u003e=2.6` or `\u003e=3.1`) with the `curses` module\n  and (optionally) wide-unicode support\n* A pager (`less` by default)\n\n### Optional dependencies\n\nFor general usage:\n\n* `file` for determining file types\n* `chardet` (Python package) for improved encoding detection of text files\n* `sudo` to use the \"run as root\" feature\n* `python-bidi` (Python package) to display right-to-left file names correctly\n  (Hebrew, Arabic)\n\nFor enhanced file previews (with `scope.sh`):\n\n* `img2txt` (from `caca-utils`) for ASCII-art image previews\n* `w3mimgdisplay`, `ueberzug`, `mpv`, `iTerm2`, `kitty` (or other terminal supporting the Kitty graphics protocol), `terminology` or `urxvt` for image previews\n* `convert` (from `imagemagick`) to auto-rotate images and for image previews\n* `rsvg-convert` (from [`librsvg`](https://wiki.gnome.org/Projects/LibRsvg))\n  for SVG previews\n* `ffmpeg`, or `ffmpegthumbnailer` for video thumbnails\n* `highlight`, `bat` or `pygmentize` for syntax highlighting of code\n* `atool`, `bsdtar`, `unrar` and/or `7zz` to preview archives\n* `bsdtar`, `tar`, `unrar`, `unzip` and/or `zipinfo` (and `sed`) to preview\n  archives as their first image\n* `lynx`, `w3m` or `elinks` to preview html pages\n* `pdftotext` or `mutool` (and `fmt`) for textual `pdf` previews, `pdftoppm` to\n  preview as image\n* `djvutxt` for textual DjVu previews, `ddjvu` to preview as image\n* `calibre` or `epub-thumbnailer` for image previews of ebooks\n* `transmission-show` for viewing BitTorrent information\n* `mediainfo` or `exiftool` for viewing information about media files\n* `odt2txt` for OpenDocument text files (`odt`, `ods`, `odp` and `sxw`)\n* `python` or `jq` for JSON files\n* `sqlite3` for listing tables in SQLite database (and optionally `sqlite-utils` for fancier box drawing.)\n* `jupyter nbconvert` for Jupyter Notebooks\n* `fontimage` for font previews\n* `openscad` for 3D model previews (`stl`, `off`, `dxf`, `scad`, `csg`)\n* `draw.io` for [draw.io](https://app.diagrams.net/) diagram previews\n  (`drawio` extension)\n\nInstalling\n----------\nUse the package manager of your operating system to install ranger.\nYou can also install ranger through PyPI: `pip install ranger-fm`.\nHowever, it is recommended to use [`pipx`](https://pypa.github.io/pipx/) instead\n(to benefit from isolated environments). Use\n`pipx run --spec ranger-fm ranger` to install and run ranger in one step.\n\n\u003cdetails\u003e\n  \u003csummary\u003e\n    Check current version:\n    \u003csub\u003e\n      \u003ca href=\"https://repology.org/metapackage/ranger/versions\"\u003e\n        \u003cimg src=\"https://repology.org/badge/tiny-repos/ranger.svg\" alt=\"Packaging status\"\u003e\n      \u003c/a\u003e\n    \u003c/sub\u003e\n  \u003c/summary\u003e\n  \u003ca href=\"https://repology.org/metapackage/ranger/versions\"\u003e\n    \u003cimg src=\"https://repology.org/badge/vertical-allrepos/ranger.svg\" alt=\"Packaging status\"\u003e\n  \u003c/a\u003e\n\u003c/details\u003e\n\n### Installing from a clone\nNote that you don't *have* to install ranger; you can simply run `ranger.py`.\n\nTo install ranger manually:\n```\nsudo make install\n```\n\nThis translates roughly to:\n```\nsudo python setup.py install --optimize=1 --record=install_log.txt\n```\n\nThis also saves a list of all installed files to `install_log.txt`, which you can\nuse to uninstall ranger.\n\n\nGetting Started\n---------------\nAfter starting ranger, you can use the Arrow Keys or `h` `j` `k` `l` to\nnavigate, `Enter` to open a file or `q` to quit.  The third column shows a\npreview of the current file.  The second is the main column and the first shows\nthe parent directory.\n\nRanger can automatically copy default configuration files to `~/.config/ranger`\nif you run it with the switch `--copy-config=( rc | scope | ... | all )`.\nSee `ranger --help` for a description of that switch.  Also check\n`ranger/config/` for the default configuration.\n\n\nGoing Further\n---------------\n* To get the most out of ranger, read the [Official User Guide](https://github.com/ranger/ranger/wiki/Official-user-guide).\n* For frequently asked questions, see the [FAQ](https://github.com/ranger/ranger/wiki/FAQ%3A-Frequently-Asked-Questions).\n* For more information on customization, see the [wiki](https://github.com/ranger/ranger/wiki).\n\n\nCommunity\n---------------\nFor help, support, or if you just want to hang out with us, you can find us here:\n* **IRC**: channel **#ranger** on [Libera.Chat](https://libera.chat/guides/connect). Don't have an IRC client? Join us via the [webchat](https://web.libera.chat/#ranger)!\n* **Reddit**: [r/ranger](https://www.reddit.com/r/ranger/)\n","funding_links":["https://liberapay.com/ranger"],"categories":["Python","\u003ca id=\"tag-productivity\" href=\"#tag-productivity\"\u003eProductivity\u003c/a\u003e","Files and Directories","Uncategorized","Applications","Config files","File Management","File Managers","Python (144)","File Manager","Terminal","Ports and Programs","General","HarmonyOS","vim","编辑器","Tools","Packages","Table of Contents","Utilities"],"sub_categories":["File Managers","Uncategorized","File Manager","ranger","Apps and Tools","Windows Manager","网络服务_其他","Python","CLI Tools","Console-based Applications and Tools","Console-based Applications","Directory Navigation","File manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franger%2Franger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franger%2Franger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franger%2Franger/lists"}