{"id":18851797,"url":"https://github.com/jkuhlmann/bbhttpd","last_synced_at":"2025-09-12T03:06:34.243Z","repository":{"id":149687011,"uuid":"12307837","full_name":"jkuhlmann/bbhttpd","owner":"jkuhlmann","description":"Barebones HTTP daemon to drop into your project","archived":false,"fork":false,"pushed_at":"2013-09-02T20:39:59.000Z","size":124,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T23:11:46.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/jkuhlmann.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}},"created_at":"2013-08-22T20:59:15.000Z","updated_at":"2024-12-25T12:43:45.000Z","dependencies_parsed_at":"2023-04-01T08:32:18.456Z","dependency_job_id":null,"html_url":"https://github.com/jkuhlmann/bbhttpd","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/jkuhlmann%2Fbbhttpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuhlmann%2Fbbhttpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuhlmann%2Fbbhttpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkuhlmann%2Fbbhttpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkuhlmann","download_url":"https://codeload.github.com/jkuhlmann/bbhttpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860135,"owners_count":21173339,"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-11-08T03:36:22.439Z","updated_at":"2025-04-14T09:53:03.644Z","avatar_url":"https://github.com/jkuhlmann.png","language":"C","readme":"bbhttpd - The barebones HTTP daemon\n===================================\n\nA HTTP server that can easily be dropped into your existing project to help with debugging and development.\n\nFeatures\n--------\n- Only one source file and one header file. Just drop the files into your project, no need to build a library and link to it.\n- No unnecessary features. You get the HTTP request and send back a response.\n- C89-compliant C code\n- MIT license\n\nUsage\n-----\n\n```c\n#include \"bbhttpd.h\"\n\nbbhttpd_config_t config = BBHTTPD_CONFIG_INIT;\nbbhttpd_t* bbhttpd = bbhttpd_start(\u0026config);\n\nwhile (!do_exit)\n{\n\tbbhttpd_request_t* request = bbhttpd_get_request(bbhttpd);\n\tif (request)\n\t{\n\t\tconst char* test_response = \"Hello, world!\";\n\t\tbbhttpd_response_t response;\n\t\tresponse.status = 200;\n\t\tresponse.body = test_response;\n\t\tresponse.body_length = strlen(test_response);\n\t\tbbhttpd_send_response(bbhttpd, request, \u0026response);\n\t}\n}\n\nbbhttpd_stop(bbhttpd);\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkuhlmann%2Fbbhttpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkuhlmann%2Fbbhttpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkuhlmann%2Fbbhttpd/lists"}