{"id":28272287,"url":"https://github.com/operationdarkside/ctas","last_synced_at":"2025-07-24T13:33:44.064Z","repository":{"id":132896299,"uuid":"159849805","full_name":"OperationDarkside/CTAS","owner":"OperationDarkside","description":"A Compile Time Application Server for C++","archived":false,"fork":false,"pushed_at":"2019-12-14T02:29:32.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-17T20:35:16.676Z","etag":null,"topics":["application-server","c-plus-plus-17","concepts","networking","webserver"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OperationDarkside.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,"zenodo":null}},"created_at":"2018-11-30T16:26:47.000Z","updated_at":"2021-05-24T01:26:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"06fb4e87-5a0b-4467-bcbd-b4268799c0a5","html_url":"https://github.com/OperationDarkside/CTAS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OperationDarkside/CTAS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationDarkside%2FCTAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationDarkside%2FCTAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationDarkside%2FCTAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationDarkside%2FCTAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OperationDarkside","download_url":"https://codeload.github.com/OperationDarkside/CTAS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationDarkside%2FCTAS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266850512,"owners_count":23995087,"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-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["application-server","c-plus-plus-17","concepts","networking","webserver"],"created_at":"2025-05-20T20:20:45.774Z","updated_at":"2025-07-24T13:33:44.055Z","avatar_url":"https://github.com/OperationDarkside.png","language":"C++","readme":"# CTAS\nA Compile Time Application Server for C++\n\n\n## Goal\nThis project aims to provide an easy to use HTTP webserver with lots of compile time type checking.\n\n## Requirements\n- C++ 17\n- Until C++ standardizes a networking library Christian Kohlhoff's Networking TS prototype is used\n- For lots of the compile time checking this project uses concept-like template checking via std::enable_if.\n\nOnce networking and concepts are in the C++ standard, this project doesn't have any external dependencies.\n\n## How to\n### Pages\nCreate a class that fullfills the requirements (concept) of a page and register it at the server with a certain path. The \"HandleRequest\" method is called once an external http request requests the given path.\n\n### Sessions\nA session is also a user defined class, that is attached to a request before it is delivered to the page.\n\n### Session Provider\nGives you the opportunity to control how sessions are stored. Hashmaps, files or database are a few suggestions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperationdarkside%2Fctas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperationdarkside%2Fctas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperationdarkside%2Fctas/lists"}