{"id":13470685,"url":"https://github.com/mattn/clask","last_synced_at":"2025-04-14T03:12:44.806Z","repository":{"id":47654559,"uuid":"270303482","full_name":"mattn/clask","owner":"mattn","description":"Web micro-framework like flask in C++.","archived":false,"fork":false,"pushed_at":"2025-04-05T15:50:27.000Z","size":727,"stargazers_count":124,"open_issues_count":0,"forks_count":7,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-14T03:12:39.359Z","etag":null,"topics":["cpp","micro-framework"],"latest_commit_sha":null,"homepage":"","language":"C++","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/mattn.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},"funding":{"github":"mattn","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-06-07T12:45:08.000Z","updated_at":"2025-04-05T15:49:24.000Z","dependencies_parsed_at":"2024-10-23T03:23:36.664Z","dependency_job_id":null,"html_url":"https://github.com/mattn/clask","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/mattn%2Fclask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fclask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fclask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fclask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattn","download_url":"https://codeload.github.com/mattn/clask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813799,"owners_count":21165634,"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":["cpp","micro-framework"],"created_at":"2024-07-31T16:00:34.007Z","updated_at":"2025-04-14T03:12:44.782Z","avatar_url":"https://github.com/mattn.png","language":"C++","readme":"# clask\n\n![C/C++ CI](https://github.com/mattn/clask/workflows/C/C++%20CI/badge.svg)\n\nVery Very Experimental Web micro-framework like flask in C++.\n\n*DO NOT USE THIS IN PRODUCTION*\n\n## Usage\n\n```cpp\n#include \"clask/core.hpp\"\n\nint main() {\n  auto s = clask::server();\n  s.GET(\"/\", [](clask::request\u0026 req) {\n    return \"OK!\";\n  });\n  s.GET(\"/foo\", [](clask::response\u0026 resp, clask::request\u0026 req) {\n    resp.set_header(\"content-type\", \"text/html\");\n    resp.write(\"he\u003cb\u003el\u003c/b\u003elo\");\n  });\n  s.run();\n}\n```\n\n## TODO\n\n* ~~Unescape paths in request~~\n* ~~Unescape query parameters in request~~\n* ~~Implement keep-alive~~\n* ~~Serve static file~~\n* Responses oriented classes such as JSON\n\n## License\n\nMIT\n\nThis product contains following third-party libraries:\n\n* picohttpparser written by kazuho\n\n## Author\n\nYasuhiro Matsumoto (a.k.a. mattn)\n","funding_links":["https://github.com/sponsors/mattn"],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattn%2Fclask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattn%2Fclask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattn%2Fclask/lists"}