{"id":18991424,"url":"https://github.com/aziascreations/pb-libmicrohttpd-bindings","last_synced_at":"2026-03-19T07:31:07.773Z","repository":{"id":100760313,"uuid":"528847468","full_name":"aziascreations/PB-LibMicroHTTPD-Bindings","owner":"aziascreations","description":"W.I.P PureBasic bindings for the libmicrohttpd library.","archived":false,"fork":false,"pushed_at":"2022-08-25T13:16:24.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T16:36:38.335Z","etag":null,"topics":["bindings","http","http-server","libmicrohttpd","purebasic","server","web"],"latest_commit_sha":null,"homepage":"","language":"PureBasic","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aziascreations.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":"2022-08-25T12:46:18.000Z","updated_at":"2024-05-27T00:59:05.000Z","dependencies_parsed_at":"2023-06-09T16:15:06.153Z","dependency_job_id":null,"html_url":"https://github.com/aziascreations/PB-LibMicroHTTPD-Bindings","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aziascreations/PB-LibMicroHTTPD-Bindings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-LibMicroHTTPD-Bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-LibMicroHTTPD-Bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-LibMicroHTTPD-Bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-LibMicroHTTPD-Bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aziascreations","download_url":"https://codeload.github.com/aziascreations/PB-LibMicroHTTPD-Bindings/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aziascreations%2FPB-LibMicroHTTPD-Bindings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bindings","http","http-server","libmicrohttpd","purebasic","server","web"],"created_at":"2024-11-08T17:13:51.714Z","updated_at":"2026-02-23T13:34:37.586Z","avatar_url":"https://github.com/aziascreations.png","language":"PureBasic","funding_links":[],"categories":[],"sub_categories":[],"readme":"# W.I.P - PB-LibMicroHTTPD-Bindings\nPureBasic bindings for the *libmicrohttpd * library.\n\n\n## Requirements\n* PureBasic 6.00 LTS - C Backend  (5.70 support will come later)\n* libmicrohttpd  0.9.75+\n* PB-CTypes 0.0.1+\n\n\n## Development Setup\nIn order to use these bindings, you need to do the following things:\n\n### Downloading *libmicrohttpd*\n\n#### Linux\nRun one the following command, depending on your packet manager, to install the development libraries:\n```bash\napt install libmicrohttpd-dev\n```\n\n#### Windows\nGo to one of the following URL and download the appropriate *win32* release archive:\u003cbr\u003e\n\u0026nbsp;\u0026nbsp;● View all releases: [https://ftp.nluug.nl/pub/gnu/libmicrohttpd/](https://ftp.nluug.nl/pub/gnu/libmicrohttpd/)\u003cbr\u003e\n\u0026nbsp;\u0026nbsp;● Latest release: [https://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-latest-w32-bin.zip](https://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-latest-w32-bin.zip)\n\nOnce downloaded, extract the archive somewhere and keep note of the path for later.\n\n### Downloading PureBasic includes\n\n#### Single step approach - *recommended*\nIn order to download the purebasic files, you can simply downloads one of the releases on the [release page](https://github.com/aziascreations/PB-LibMicroHTTPD-Bindings/releases) and extract it in your includes folder.\n\nIf you download an archive ending with *\"-sources\"*, you may have to go down one folder in the archive to find the 2 required folders.\n\n#### Manual approach\nIf you want to set files manually, you'll need to clone 2 repositoried in a folder where you want your includes to be located with these commands:\n```bash\ngit clone https://github.com/aziascreations/PB-LibMicroHTTPD-Bindings.git\ngit clone https://github.com/aziascreations/PB-CTypes.git\n```\n\nAlternatively, you can visit the repositories at the following URLs and download and extract them in a similar manner as described above:\u003cbr\u003e\n\u0026nbsp;\u0026nbsp;● https://github.com/aziascreations/PB-LibMicroHTTPD-Bindings\u003cbr\u003e\n\u0026nbsp;\u0026nbsp;● https://github.com/aziascreations/PB-CTypes.git\n\n### Including the bindings\nNow that everything is setup, all you have to do is to include the bindings and point to the `.lib` files if you are using Windows like so:\n```purebasic\n#LIBMICROHTTPD_LIBRARY_PATH$ = \"\u003cpath\u003e/libmicrohttpd.so\"\nXIncludeFile \"\u003cincludes\u003e/PB-LibMicroHTTPD-Bindings/LibMicroHTTPD-Bindings.pbi\"\n```\n\nSome variants of that constant are available for specific OS and CPU architectures and are **only** used if `#LIBMICROHTTPD_LIBRARY_PATH$` isn't defined:\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cb\u003eConstant\u003c/b\u003e\u003c/td\u003e\n\u003ctd\u003e\u003cb\u003eCPU Architecture\u003c/b\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e#LIBMICROHTTPD_LIBRARY_PATH_LINUX_ARM64\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eLinux ARM64\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e#LIBMICROHTTPD_LIBRARY_PATH_WINDOWS_X64\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWindows x64\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctable\u003e\n\n**If you are using Windows, you also need to make sure your executable has access to the `libmicrohttpd-dll.dll` file when launched by either including it in the `PATH` or in the same folder as the final executable !**\n\n\n## Examples\nA couple of examples are available in the *\"Examples/\"* folder:\u003cbr\u003e\n\u0026nbsp;\u0026nbsp;● [HelloBrowser](Examples/1_HelloBrowser.pb)\n\nPlease note that you may have to adjust the library path as desribed previously.\n\n\n## License\nThis include is licensed under [TODO: Still figuring out how it will work with LGPL 2.1...](LICENSE)\n\nThe examples are released in the public domain.\n\nThe *libmicrohttpd* library is release under the LGPG 2.1\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziascreations%2Fpb-libmicrohttpd-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faziascreations%2Fpb-libmicrohttpd-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faziascreations%2Fpb-libmicrohttpd-bindings/lists"}