[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6650":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":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},6650,"miraclecast","albfan\u002Fmiraclecast","albfan","Connect external monitors to your system via Wifi-Display specification also known as Miracast","",null,"C",4294,431,125,92,0,6,20,3,29.91,"Other",false,"master",true,[],"2026-06-12 02:01:27","# MiracleCast - Wifi-Display\u002FMiracast Implementation\n\n[![Join the chat at https:\u002F\u002Fgitter.im\u002Falbfan\u002Fmiraclecast](https:\u002F\u002Fbadges.gitter.im\u002Falbfan\u002Fmiraclecast.svg)](https:\u002F\u002Fgitter.im\u002Falbfan\u002Fmiraclecast?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![Semaphore CI Build Status](https:\u002F\u002Falbfan.semaphoreci.com\u002Fbadges\u002Fmiraclecast\u002Fbranches\u002Fmaster.svg?style=shields)](https:\u002F\u002Falbfan.semaphoreci.com\u002Fprojects\u002Fmiraclecast)\n[![Coverage Status](https:\u002F\u002Fcoveralls.io\u002Frepos\u002Fgithub\u002Falbfan\u002Fmiraclecast\u002Fbadge.svg?branch=master)](https:\u002F\u002Fcoveralls.io\u002Fgithub\u002Falbfan\u002Fmiraclecast?branch=master)\n\nThe MiracleCast project provides software to connect external monitors to your system via Wi-Fi. It is compatible to the Wifi-Display specification also known as Miracast. MiracleCast implements the Display-Source as well as Display-Sink side.\n\nThe Display-Source side allows you to connect external displays to your system and stream local content to the device. A lot of effort is put into making this as easy as connecting external displays via HDMI. *Note: This is not implemented yet. Please see [#4](..\u002F..\u002Fissues\u002F4).*\n\nOn the other hand, the Display-Sink side allows you to create wifi-capable external displays yourself. You can use it on your embedded devices or even on full desktops to allow other systems to use your device as external display.\n\n## Requirements\n\nThe MiracleCast projects requires the following software to be installed:\n - **systemd**: A system management daemon. It is used for device-management (udev), dbus management (sd-bus) and service management.\n    Systemd >= 221 will work out of the box. For earlier versions systemd must be compiled with --enable-kdbus, even though kdbus isn't used, but only the independent, experimental sd-libraries.\n    *required*: >=systemd-213\n\n - **glib**: A utility library. Used by the current DHCP implementation. Will be removed once sd-dns gains DHCP-server capabilities.\n    *required*: ~=glib2-2.38 (might work with older releases, untested..)\n\n - **gstreamer**: MiracleCast rely on gstreamer to show cast its output. You can test if all needed is installed launching [res\u002Ftest-viewer.sh](https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\u002Fblob\u002Fmaster\u002Fres\u002Ftest-viewer.sh)\n\n - **wpa_supplicant**: MiracleCast spawns wpa_supplicant with a custom config.\n\n - **P2P Wi-Fi device** Although widespread these days, there are some devices not compatible with [Wi-Fi Direct](http:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FWi-Fi_Direct) (prior know as Wi-Fi P2P). Test yours with [res\u002Ftest-hardware-capabilities.sh](https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\u002Fblob\u002Fmaster\u002Fres\u002Ftest-hardware-capabilities.sh)\n\n - **check**: Test-suite for C programs. Used for optional tests of the MiracleCast code base.\n    *optional*: ~=check-0.9.11 (might work with older releases, untested..)\n\n - copy the dbus policy **res\u002Forg.freedesktop.miracle.conf** to `\u002Fetc\u002Fdbus-1\u002Fsystem.d\u002F`\n\n## Build and install\n\nTo compile MiracleCast, you can choose from:\n\n - [autotools](http:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGNU_build_system)\n - [cmake](http:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FCMake)\n - [meson](http:\u002F\u002Fmesonbuild.com\u002F)\n\nSee more info on wiki [Building](https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\u002Fwiki\u002FBuilding)\n\n## Automatic interface selection with udev\n\nIf you want to select the interface to start miraclecast with, add a udev rule with the script [res\u002Fwrite-udev-rule.sh](https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\u002Fblob\u002Fmaster\u002Fres\u002Fwrite-udev-rule.sh) and configure miraclecast with\n\n    $ ..\u002Fconfigure --enable-rely-udev\n\nYou can also choose the interface with  `--interface` option for miracle-wifid.\n\n## Linux Flavours and general compilation instructions\n\n### Ubuntu\n\nCheck your systemd version with:\n\n    $ systemctl --version\n    \nIf you are on 221 or above your systemd has kdbus enabled.\n \nIf you are below 221, an alternative repo was created to install systemd with dbus\n\nhttps:\u002F\u002Fgithub.com\u002Falbfan\u002Fsystemd-ubuntu-with-dbus\n\nSee there was interface changes on systemd 219, if you are below that version, use branch [systemd-219](https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\u002Ftree\u002Fsystemd-219) to compile miraclecast\n\n> See specific instructions on that repo\n\n### Arch linux\n\nUse existing [AUR package](https:\u002F\u002Faur.archlinux.org\u002Fpackages\u002Fmiraclecast-git\u002F). Remember to enable kdbus to systemd-git dependency if you are below 221 systemd.\n\n    $ export _systemd_git_kdbus=--enable-kdbus\n\nYou can achieve installation using [yaourt](https:\u002F\u002Fwiki.archlinux.org\u002Findex.php\u002FYaourt)\n\n### Other flavours\n\nIf you feel confidence enough (since systemd is the entrypoint for an OS) extract instructions from arch linux AUR PKGBUILD:\n\n- [systemd-kdbus](https:\u002F\u002Faur.archlinux.org\u002Fcgit\u002Faur.git\u002Ftree\u002FPKGBUILD?h=systemd-kdbus)\n- [miraclecast](https:\u002F\u002Faur.archlinux.org\u002Fcgit\u002Faur.git\u002Ftree\u002FPKGBUILD?h=miraclecast)\n\n## Documentation\n\n### Steps to use it as sink\n\n 1. shutdown wpa_supplicant and NetworkManager\n\n        $ systemctl stop NetworkManager.service\n        $ systemctl stop wpa_supplicant.service \n\n 2. launch wifi daemon\n\n        $ sudo miracle-wifid &\n\n 3. launch sink control (your network card will be detected. here 3)\n\n        $ sudo miracle-sinkctl\n        [ADD]  Link: 3\n\n 4. run WiFi Display on link: \n\n        > run 3\n\n 5. Pair your machine with other miracast device (mirroring)\n\n 6. See your screen device on this machine\n\n### Steps to use it as peer\n\n 1. Repeat steps 1 and 2 from \"use as sink\"\n\n 2. launch wifi control\n\n        $ sudo miracle-wifictl\n\n 3. Enable visibility for other devices\n\n 4. Locate them using scanning\n\n        > p2p-scan\n\n 5. Apart from list, or show info with peer &lt;mac&gt; there's nothing useful here by now. For a Q&D see [Using as peer](https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\u002Fissues\u002F4)\n\n## UIBC\n\n> The User Input Back Channel (UIBC) is an optional WFD feature that when implemented facilitates communication of user inputs to a User Interface, present at the WFD Sink, to the WFD Source.\n\nTo use it just add `--uibc` on `miracle-sinkctl` startup. Single mouse events and key events are implemented.\n\n## Autocompletion\n\n Source [res\u002Fmiraclecast-completion](https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\u002Fblob\u002Fmaster\u002Fres\u002Fmiraclecast-completion) for autocompletion\n\n## License\n\nThis software is licensed under the terms of the GNU-LGPL license. Please see .\u002FCOPYING for further information.\n\n## Credits\n\nThis software is originally maintained by: David Herrmann dh.herrmann@gmail.com \n\nThis fork is maintained by: Alberto Fanjul albertofanjul@gmail.com\n\nIf you have any questions, do not hesitate to contact one of the maintainers.\n\n## Additional urls\n\n- Website: http:\u002F\u002Fwww.freedesktop.org\u002Fwiki\u002FSoftware\u002Fmiracle\n- Original repo: git:\u002F\u002Fpeople.freedesktop.org\u002F~dvdhrm\u002Fmiracle\n- Fork repo: https:\u002F\u002Fgithub.com\u002Falbfan\u002Fmiraclecast\n- Technical spec: https:\u002F\u002Fwww.wi-fi.org\u002Ffile\u002Fwi-fi-display-technical-specification-v11 (free registration required)\n","MiracleCast 是一个通过 Wi-Fi Display 规范（也称为 Miracast）将外部显示器连接到系统的软件项目。其核心功能包括实现显示源端和显示接收端，允许用户无线投屏或将设备作为无线显示器使用。该项目主要使用 C 语言编写，并依赖于 systemd、glib、gstreamer 和 wpa_supplicant 等技术组件来支持其功能。MiracleCast 适用于需要无线扩展显示场景，如会议演示、家庭娱乐等场合，特别适合那些希望摆脱有线束缚但仍需高质量视频传输的用户。",2,"2026-06-11 03:08:05","top_language"]