{"id":24334477,"url":"https://github.com/hubenchang0515/diana","last_synced_at":"2026-04-21T05:32:55.941Z","repository":{"id":78768580,"uuid":"101262120","full_name":"hubenchang0515/Diana","owner":"hubenchang0515","description":"Diana is a Lua utility library in Linux , has IO SOCKET etc","archived":false,"fork":false,"pushed_at":"2017-09-06T04:59:37.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-31T22:43:17.495Z","etag":null,"topics":["io","linux","lua","socket"],"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/hubenchang0515.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-08-24T06:34:26.000Z","updated_at":"2017-08-25T03:22:02.000Z","dependencies_parsed_at":"2023-05-02T11:01:46.615Z","dependency_job_id":null,"html_url":"https://github.com/hubenchang0515/Diana","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hubenchang0515/Diana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubenchang0515%2FDiana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubenchang0515%2FDiana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubenchang0515%2FDiana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubenchang0515%2FDiana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubenchang0515","download_url":"https://codeload.github.com/hubenchang0515/Diana/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubenchang0515%2FDiana/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32078867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"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":["io","linux","lua","socket"],"created_at":"2025-01-18T04:16:04.088Z","updated_at":"2026-04-21T05:32:55.928Z","avatar_url":"https://github.com/hubenchang0515.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diana\nDiana is a Lua utility library , has IO SOCKET etc  \n*Hasn't been ready*\n\n## Demo\n```Lua\n#! /usr/bin/env lua\nlocal socket = require(\"diana.socket\")\nlocal signal = require(\"diana.signal\")\n\nlocal listen = socket.tcp()\n\nsignal.set(signal.SIGINT, function() listen:close() os.exit()  end)\n\nif listen:bind('0.0.0.0',80) and listen:listen() then\n\twhile true do\n\t\tlocal x,addr = listen:accept()\n\t\tif x == nil then\n\t\t\tbreak\n\t\tend\n\n\t\tprint(addr)\n\t\tx:write(\"HTTP/1.1 200 OK\\n\")\n\t\tx:write(\"Content-Type: text/html\\n\\n\")\n\t\tx:write(\"\u003ch1\u003eHello Diana\u003c/h1\u003e\")\n\t\tx:close()\n\tend\nelse\n\tprint(listen:error())\n\tlisten:close()\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubenchang0515%2Fdiana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubenchang0515%2Fdiana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubenchang0515%2Fdiana/lists"}