{"id":29523951,"url":"https://github.com/sunplex07/ndfr","last_synced_at":"2026-05-10T05:03:20.528Z","repository":{"id":304249773,"uuid":"1018235595","full_name":"sunplex07/ndfr","owner":"sunplex07","description":"WIP Linux TouchBar Content Daemon","archived":false,"fork":false,"pushed_at":"2025-07-11T21:34:05.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-11T23:30:47.425Z","etag":null,"topics":["daemon","linux","mac","support","touchbar"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunplex07.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-07-11T21:10:44.000Z","updated_at":"2025-07-11T21:37:33.000Z","dependencies_parsed_at":"2025-07-11T23:31:01.901Z","dependency_job_id":"90c2b9a1-82e3-4dfd-803c-d37bb11d4d7c","html_url":"https://github.com/sunplex07/ndfr","commit_stats":null,"previous_names":["sunplex07/ndfr"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sunplex07/ndfr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunplex07%2Fndfr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunplex07%2Fndfr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunplex07%2Fndfr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunplex07%2Fndfr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunplex07","download_url":"https://codeload.github.com/sunplex07/ndfr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunplex07%2Fndfr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265529214,"owners_count":23782854,"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":["daemon","linux","mac","support","touchbar"],"created_at":"2025-07-16T18:09:13.551Z","updated_at":"2026-05-10T05:03:20.523Z","avatar_url":"https://github.com/sunplex07.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NDFR - Native Dynamic Function Row\n\nNDFR is a WIP Touch Bar daemon designed to provide a native-like experience on MacBooks running Linux. \n\n![NDFR Default Layout](https://github.com/sunplex07/ndfr/blob/master/default.png?raw=true) \n![NDFR Now Playing](https://github.com/sunplex07/ndfr/blob/master/media-playing.png?raw=true) \n\n## Requirements\n\nSystem must have required input patches and driver for TouchBar.\n\n### Core Dependencies\n- **Rust:**  Install with RustUp\n- **appletbdrm:** Display driver for the TouchBar.\n- **`brightnessctl`:** Brightness Control.\n- **`wpctl` (PipeWire) or `pactl` (PulseAudio):** Volume Control.\n- **`ndfr-media-helper`** - Bundled / Needed for scrubber functionality.\n\n### Build Dependencies\n\n**Arch Linux:**\n```bash\nsudo pacman -S base-devel cairo libinput libevdev libdrm\n```\n\n**Ubuntu/Debian:**\n```bash\nsudo apt-get install build-essential libcairo2-dev libinput-dev libevdev-dev libdrm-dev\n```\n\n## Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/sunplex07/ndfr.git\n   cd ndfr\n   ```\n\n2. **Build the project:**\n   ```bash\n   cargo build \u0026\u0026 make\n   ```\n   The compiled binary will be located at `target/release/dfr_daemon`.\n   \n3. **Copy ndfr-media-helper**\n   ```bash\n   cp ./ndfr-media-helper /usr/bin/\n   ```\n   This is REQUIRED for media control.\n   \n4. **Copy other resources**\n   ```bash\n   cp -r ./icons ./target/debug/\n   cp ./layout.yml ./target/debug/\n   ```\n\n5. **Run NDFR with Sudo**\n   In one terminal:\n   ```bash\n   sudo ./target/debug/dfr_daemon\n   ```\n   Start the media relay in another. **Do not run this as sudo**\n   ```bash\n   chmod +x ./ndfr-media-agent.sh \u0026\u0026 ./ndfr-media-agent.sh\n   ```\n\n\n## Usage\n\nNDFR requires direct access to hardware devices (`/dev/input/*` and `/dev/dri/*`), must be run with root privileges.\n\n```bash\nsudo ./target/release/dfr_daemon\n```\n\n\n### TODO\n\nFuther testing on T1, T2, and Silicon macs.\n\nCreate an installer for building and copying resources.\nBetter handling of icons for media.\n\n...?\n\n\n## Contributing\n\nContributions are always welcome. Feel free to open an issue or pull request for bugs, and fixes. \n\n## License\n\nThis project is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunplex07%2Fndfr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunplex07%2Fndfr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunplex07%2Fndfr/lists"}