{"id":13611734,"url":"https://github.com/Shizcow/dmenu-rs","last_synced_at":"2025-04-13T05:33:29.439Z","repository":{"id":46244148,"uuid":"259771087","full_name":"Shizcow/dmenu-rs","owner":"Shizcow","description":"A pixel perfect port of dmenu, rewritten in Rust with extensive plugin support","archived":false,"fork":false,"pushed_at":"2024-08-20T02:20:30.000Z","size":6697,"stargazers_count":201,"open_issues_count":3,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-07T18:48:27.202Z","etag":null,"topics":["dmenu"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Shizcow.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":"2020-04-28T23:00:43.000Z","updated_at":"2024-10-12T13:03:25.000Z","dependencies_parsed_at":"2023-02-10T20:01:22.788Z","dependency_job_id":"e76e3ec1-9872-4682-b69a-5259f7e2a773","html_url":"https://github.com/Shizcow/dmenu-rs","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shizcow%2Fdmenu-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shizcow%2Fdmenu-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shizcow%2Fdmenu-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shizcow%2Fdmenu-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shizcow","download_url":"https://codeload.github.com/Shizcow/dmenu-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670513,"owners_count":21142896,"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":["dmenu"],"created_at":"2024-08-01T19:02:03.224Z","updated_at":"2025-04-13T05:33:25.294Z","avatar_url":"https://github.com/Shizcow.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# dmenu-rs - dynamic menu\ndmenu is an efficient dynamic menu for X.  \ndmenu-rs is a 1:1 port of dmenu rewritten in Rust. It looks, feels, and\nruns pixel-for-pixel exactly the same.  \nIt also has plugin support for easy modification.\n\n## State of the project\nThe master branch is a stable, feature complete product. It it not unmaintained; it's finished.\n\nThere is a __small__ and ever-shrinking chance that this will be updated or overhauled in the distant future. It is much more likely that I will write a spiritual successor from scratch, but that won't happen until at least 2023.\n\n## Why Rust?\n### Inspiration\nThis project started with [`dmenu-calc`](https://github.com/sumnerevans/menu-calc).\nInitially, I wanted much more function than what is provided by `bc`. However, I\nfound the bottleneck to be a lack of functionality and modability in `dmenu(1)`\nitself. So, the choice I had was to either mod `dmenu(1)` or rewrite it. Because\ndmenu source is horrendously annoying to read, I decided to rewrite it in a\nlanguage which lends itself to writing code that is easier to modify. There are\nother languages for this, but I like Rust.\n### Improvements\nAs mentioned earlier, `dmenu-rs` runs exactly the same as `dmenu`. However, there\nare some significant performance enhancements under the hood. The most impactful\nis memory usage: `dmenu-rs` uses 21.65% less memory\u003csup\u003e[1]\u003c/sup\u003e, while managing it much\nmore safely **without** any performance impacts. The other large improvement is\nplugin support; read below.\n\n## Plugins\ndmenu-rs leverages rust crates `overrider` and `proc_use` to provide an easy to\nwrite and powerful plugin system. The end-result are plugins which are dead-simple\nto enable.  \nFor a list of available plugins and more info on\nenabling plugins, run `make plugins`.  \nFor more info on developing plugins, read the [plugin guide](src/plugins/README.md).\n\n## Requirements\n- Xlib header files  \n- Cargo / rustc  \n- A working C compiler\n\n## Installation\n### Standalone\nEdit config.mk to match your local setup (dmenu is installed into\nthe /usr/local namespace by default).\n\nAfterwards enter the following command to build dmenu:  \n```make```  \nThen, to install (if necessary as root):  \n```make install```\n### Distros\ndmenu-rs is available from the following sources:\n- [Arch AUR - stable branch](https://aur.archlinux.org/packages/dmenu-rs/)  \n- [Arch AUR - development branch](https://aur.archlinux.org/packages/dmenu-rs-git/)  \n\nIf you'd like for this to be available on another distro, raise an issue\nor submit a pull request with a README change pointing to the released\npackage.\n\n## Running dmenu\nSee the man page for details. For a quick test, run:  \n```make test```\n\n\u003cbr/\u003e\u003cbr/\u003e\n\u003csup\u003e[1]\u003c/sup\u003e: According to `valgrind(1)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShizcow%2Fdmenu-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FShizcow%2Fdmenu-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShizcow%2Fdmenu-rs/lists"}