{"id":13802098,"url":"https://github.com/joewez/CaptiveWebServer","last_synced_at":"2025-05-13T12:32:25.646Z","repository":{"id":81910447,"uuid":"142961866","full_name":"joewez/CaptiveWebServer","owner":"joewez","description":"Simple MicroPython web server for serving a website from a captive portal","archived":false,"fork":false,"pushed_at":"2021-10-06T06:10:48.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-05T00:07:03.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joewez.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}},"created_at":"2018-07-31T04:22:22.000Z","updated_at":"2022-06-21T02:17:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cc0bd03-2430-483b-a6f4-d718702c6f19","html_url":"https://github.com/joewez/CaptiveWebServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joewez%2FCaptiveWebServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joewez%2FCaptiveWebServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joewez%2FCaptiveWebServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joewez%2FCaptiveWebServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joewez","download_url":"https://codeload.github.com/joewez/CaptiveWebServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225217958,"owners_count":17439712,"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":[],"created_at":"2024-08-04T00:01:35.768Z","updated_at":"2024-11-18T17:30:52.498Z","avatar_url":"https://github.com/joewez.png","language":"Python","readme":"# Captive Web Server\nSimple MicroPython web server for serving a website from a captive portal\n(Generally meant for an ESP8266 Device)\n\n - Copy the application file _captive_http.py_ to the root of an ESP8266 device running a recent version of MicroPython\n - Create a directory on your file system called /wwwroot\n - Place the **capture.html** file along with the rest of your content including an **index.html** file\n - The script does not setup the AP (Type **help()** at the REPL prompt for information on this)\n   - The script however assumes that it is acting as an AP\n   - Make sure the DNS server is set to 192.168.4.1\n   - See https://github.com/joewez/ESP8266-WiFi-Utilities\n  - Simply import the script to run the server (or import it in your _main.py_)\n\n\u003cp\u003e\n    \u003e\u003e\u003e import wifi \u003cbr /\u003e\n    \u003e\u003e\u003e wifi.access_point('tester', 'password', dns=True) \u003cbr /\u003e\n    \u003e\u003e\u003e import captive_http() \u003cbr /\u003e\n\u003c/p\u003e\n\nDNS Server code culled from:\n    https://github.com/amora-labs/micropython-captive-portal\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Communications"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoewez%2FCaptiveWebServer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoewez%2FCaptiveWebServer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoewez%2FCaptiveWebServer/lists"}