{"id":20727622,"url":"https://github.com/cwchentw/cgi-hello-objcgic","last_synced_at":"2026-04-24T12:31:55.122Z","repository":{"id":77777578,"uuid":"301248830","full_name":"cwchentw/cgi-hello-objcgic","owner":"cwchentw","description":"Hello World as an objcgic-based CGI script","archived":false,"fork":false,"pushed_at":"2021-06-18T07:42:50.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T06:08:02.738Z","etag":null,"topics":["cgi","cgi-script","objective-c"],"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/cwchentw.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":"2020-10-04T23:33:47.000Z","updated_at":"2021-06-18T07:42:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"43594682-709f-4367-b29c-7c86a586eb15","html_url":"https://github.com/cwchentw/cgi-hello-objcgic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cwchentw/cgi-hello-objcgic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fcgi-hello-objcgic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fcgi-hello-objcgic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fcgi-hello-objcgic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fcgi-hello-objcgic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwchentw","download_url":"https://codeload.github.com/cwchentw/cgi-hello-objcgic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fcgi-hello-objcgic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32223858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cgi","cgi-script","objective-c"],"created_at":"2024-11-17T04:32:54.316Z","updated_at":"2026-04-24T12:31:55.105Z","avatar_url":"https://github.com/cwchentw.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cgi-hello-objcgic\n\nA Hello World program as an [objcgic](https://github.com/cwchentw/objcgic)-based CGI script.\n\n## System Requirements\n\n* Clang or GCC with Objective-C support\n* Cocoa or GNUstep\n\nTested against GNUStep on openSUSE Leap 15.2. It should work on MacOS as well.\n\n[cgic](https://github.com/boutell/cgic) itself is not needed because the repo bundles its snapshot.\n\n## Usage\n\nClone the repo:\n\n```\n$ git clone https://github.com/cwchentw/cgi-hello-objcgic.git\n```\n\nChange the working directory to *cgi-hello-objcgic*:\n\n```\n$ cd cgi-hello-objcgic\n```\n\nCompile the repo:\n\n```\n$ ./build\n```\n\nGit will merge updated code automatically for you, which should not require any manual intervention. If any conflict bewteen code occurs, fix it by yourself.\n\n## Project Parameters\n\n* `CGI_PROGRAM`: The name of the CGI program, default to *index.cgi*\n* `CGI_ENCODING`: The encoding of the CGI program, default to `NSUTF8StringEncoding`\n* `GNUSTEP_INCLUDE`: The path of GNUstep headers, default to */usr/GNUstep/System/Library/Headers*\n* `GNUSTEP_LIB`: The path of GNUstep libraries, default to */usr/GNUstep/System/Library/Libraries*\n\n## Example\n\nSee [cgi-hello-objcgic](https://github.com/cwchentw/cgi-hello-objcgic).\n\n## API Documentation\n\nPending.\n\n## Note\n\nYou need a HTTP server that supports CGI or FastCGI protocol to deploy this CGI script such as\n\n* Apache with mod_fastcgi support\n* Nginx and fcgiwrap combo\n\nOriginally, cgic append two lines of newline to the header of a HTTP response. We may use multiple header informations in a response; therefore, we write our own `+status:message:` and `+contentType:` of `OCGIHeader` class. Now, the two messages only render one line of newline to standard output.\n\nFor better compatibility between libobjc and GNUstep, we use the libobjc of GCC on non-Apple platforms.\n\n## Copyright\n\nCopyright (c) 2020, Michelle Chen. Licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwchentw%2Fcgi-hello-objcgic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwchentw%2Fcgi-hello-objcgic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwchentw%2Fcgi-hello-objcgic/lists"}