{"id":17024115,"url":"https://github.com/purifetchi/hime","last_synced_at":"2026-04-28T21:04:39.852Z","repository":{"id":121887049,"uuid":"254171764","full_name":"purifetchi/hime","owner":"purifetchi","description":"Hime is a stupid-simple web microframework for C#","archived":false,"fork":false,"pushed_at":"2020-04-10T22:31:28.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T15:04:12.795Z","etag":null,"topics":["csharp","http","microframework","network","web","webdev"],"latest_commit_sha":null,"homepage":null,"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/purifetchi.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}},"created_at":"2020-04-08T18:42:56.000Z","updated_at":"2020-04-10T22:31:31.000Z","dependencies_parsed_at":"2023-12-14T14:47:39.531Z","dependency_job_id":null,"html_url":"https://github.com/purifetchi/hime","commit_stats":null,"previous_names":["purifetchi/hime"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/purifetchi/hime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purifetchi%2Fhime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purifetchi%2Fhime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purifetchi%2Fhime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purifetchi%2Fhime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purifetchi","download_url":"https://codeload.github.com/purifetchi/hime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purifetchi%2Fhime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32399070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["csharp","http","microframework","network","web","webdev"],"created_at":"2024-10-14T07:24:33.829Z","updated_at":"2026-04-28T21:04:39.837Z","avatar_url":"https://github.com/purifetchi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hime\n\nHime is a stupid-simple web microframework for C#.\nIt basically aspires to do the same thing as Sinatra did for Ruby. Dead-simple prototyping with little to no effort.\n\nHime isn't near complete at all, it only has a few basic things implemented, but I'll probably forget this project existed in like a day or two, so it doesn't matter nearly as much.\nBasically, don't run it in production, or even development. For your own safety.\nOr do, I won't judge. Just don't blame me when your PC catches fire or something like this.\n\n# How to do anything\n\n1. Clone this repository\n2. Link your .NET project against Hime. (Should work fine with both .NET Core and .NET Framework)\n3. Create a new class deriving from HimeApplication.\n4. Call `HimeRunner.Run` on a new instance of the class.\n5. It should work. Hopefully.\n\n# How do I create routes?\n\nSo far Hime only supports GET and POST (and even then it struggles).\nRoute declarations are done via attributes, like so:\n```cs\n[Get(\"/\")]\npublic ActionResult Index(HimeContext ctx)\n{\n    return Ok(\"\u003cb\u003eHello!\u003c/b\u003e\");\n}\n```\n\nThe Ok function automatically returns a 200 response, with the specified body.\nIf you want a custom response code, you can create your own ActionResult, like this:\n\n```cs\n[Post(\"/someroute\")]\npublic ActionResult Route(HimeContext ctx)\n{\n   return new ActionResult\n   {\n        Code = 403,\n        Content = Encoding.UTF8.GetBytes(\"Go away. You weren't supposed to be here.\")\n   };\n}\n```\n\n# So what's missing?\n\nQuite a lot, actually. You can't get the POST body, PUT/DELETE/PATCH aren't implemented yet, the HimeContext class has almost no information about the context, sessions, file sending, etc.\nIf you think this project is cool, please send in a pull request and help me out with making this. I'd greatly appreciate any kind of help with this.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurifetchi%2Fhime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurifetchi%2Fhime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurifetchi%2Fhime/lists"}