{"id":21962220,"url":"https://github.com/antoniotejada/wifidirectlegacyap","last_synced_at":"2025-07-22T21:34:10.414Z","repository":{"id":193423392,"uuid":"685370636","full_name":"antoniotejada/WiFiDirectLegacyAP","owner":"antoniotejada","description":"Python port of WiFiDirectLegacyAP, creates a Windows 10 local hotspot (no shared internet access) without requiring a wifi adapter with hosted network support","archived":false,"fork":false,"pushed_at":"2023-09-13T20:03:21.000Z","size":65,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T19:51:09.655Z","etag":null,"topics":["access-point","comtypes","hosted-network","python","python-27","soft-ap","wifi-direct","wifi-hotspot","wifidirect","windows-10","winrt"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antoniotejada.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":"2023-08-31T04:43:57.000Z","updated_at":"2025-02-23T00:09:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a8084ef-d5d6-41c7-a5b0-707cc00fd752","html_url":"https://github.com/antoniotejada/WiFiDirectLegacyAP","commit_stats":null,"previous_names":["antoniotejada/wifidirectlegacyap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antoniotejada/WiFiDirectLegacyAP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniotejada%2FWiFiDirectLegacyAP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniotejada%2FWiFiDirectLegacyAP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniotejada%2FWiFiDirectLegacyAP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniotejada%2FWiFiDirectLegacyAP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoniotejada","download_url":"https://codeload.github.com/antoniotejada/WiFiDirectLegacyAP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniotejada%2FWiFiDirectLegacyAP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266578680,"owners_count":23951150,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["access-point","comtypes","hosted-network","python","python-27","soft-ap","wifi-direct","wifi-hotspot","wifidirect","windows-10","winrt"],"created_at":"2024-11-29T10:35:45.167Z","updated_at":"2025-07-22T21:34:10.391Z","avatar_url":"https://github.com/antoniotejada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WiFiDirectLegacyAP\r\n\r\nPython port of https://github.com/microsoft/windows-classic-samples/tree/main/Samples/WiFiDirectLegacyAP\r\n\r\nCreates a WiFi local access point other devices can join. \r\n\r\nThe access point hardware adapter needs WiFiDirect support (common) but not hosted network support (extremely uncommon).\r\n\r\nNote the internet connection on the access point, if any, is not shared with the clients, therefore the access point is not shut down when there's no internet connection (which happens on regular Windows 10 access points unless a certain registry setting is set).\r\n\r\nSee https://github.com/govert/WiFiDirectLegacyAPDemo and https://learn.microsoft.com/en-us/windows-hardware/drivers/partnerapps/wi-fi-direct for more information\r\n\r\n## Features\r\n- Parses winrt MIDL files\r\n- Generates Python code from winrt MIDL files\r\n- Generates Pythonic accessors for event handlers in winrt objects\r\n- Generates Pythonic constructors for winrt activatables and statics\r\n- Creates a local access point using winrt WiFiDirect APIs\r\n\r\n## Requirements\r\n- WiFiDirect supported WiFi hardware (most)\r\n- Windows 10\r\n- Python 2.7\r\n- comtypes\r\n\r\n## Usage\r\n\r\n1. Fill _out\\ssid_password.txt with two lines containing the ssid and the password or run without and it will use the default autogenerated ssid and password which will be output to the standard output\r\n1. Run WiFiLegacyAP.py\r\n```bat\r\nC:\\Users\\atejada\\Documents\\works\\python\\wifidirectlegacyap\u003eWiFiDirectLegacyAP.py\r\n2023-09-07 18:28:27,428 WARNING:WiFiDirectLegacyAP.py(1765):[46788] winrt_wifi: Error reading _out\\ssid_password.txt, will use random ssid and password\r\nSleeping forever, ssid 'DIRECT-THXXXXXXXXPJUY' password 'MJMx0OJf' press ctrl+c to finish\r\nConnection completed WiFiDirect#XX:XX:XX:XX:XX:XX_LegacyPendingRequest\r\nDisconnected WiFiDirect#XX:XX:XX:XX:XX:XX_LegacyPendingRequest\r\n...\r\n```\r\n## Related Projects\r\n- https://github.com/govert/WiFiDirectLegacyAPDemo\r\n- https://github.com/gerfen/WiFiDirectLegacyAPCSharp\r\n- https://github.com/zig13/WifiDirectLegacySurplex\r\n- https://github.com/spieglt/wifidirect-legacy-ap\r\n\r\n## TODO\r\n- More code cleanup (remove tests, add type hinting, add more pythonic attributes)\r\n- Console implementation\r\n- Iterator implementation\r\n- Proper support for winrt templated interfaces","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniotejada%2Fwifidirectlegacyap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoniotejada%2Fwifidirectlegacyap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniotejada%2Fwifidirectlegacyap/lists"}