{"id":13636053,"url":"https://github.com/jtarchie/sinatra-openresty","last_synced_at":"2025-04-19T04:32:01.114Z","repository":{"id":8892669,"uuid":"10612881","full_name":"jtarchie/sinatra-openresty","owner":"jtarchie","description":"Sinatra ported to OpenResty framework.","archived":true,"fork":false,"pushed_at":"2013-10-31T00:14:17.000Z","size":328,"stargazers_count":43,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-01T23:57:43.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/jtarchie.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}},"created_at":"2013-06-11T01:29:57.000Z","updated_at":"2023-01-28T16:00:52.000Z","dependencies_parsed_at":"2022-08-28T05:02:06.275Z","dependency_job_id":null,"html_url":"https://github.com/jtarchie/sinatra-openresty","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/jtarchie%2Fsinatra-openresty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtarchie%2Fsinatra-openresty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtarchie%2Fsinatra-openresty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtarchie%2Fsinatra-openresty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtarchie","download_url":"https://codeload.github.com/jtarchie/sinatra-openresty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223790550,"owners_count":17203355,"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":[],"created_at":"2024-08-02T00:00:56.300Z","updated_at":"2024-11-09T05:31:15.816Z","avatar_url":"https://github.com/jtarchie.png","language":"Lua","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# Introduction\n\nI'm a fan of the Ruby library [Sinatra](http://sinatrarb.com). It provides a great DSL to map HTTP requests to build APIs, websites, or just simple wrappers around already working code.\n\n\n# Getting Started\n\n```sh\ngit clone https://github.com/jtarchie/sinatra-openresty.git\ncd sinatra-openresty\n```\n\nTake a look at the example application under `examples/app.lua`.\n\n# TODO\n* look into using standard request and response objects ([WSAPI](https://github.com/keplerproject/wsapi) or [Rack](https://github.com/pintsized/lua-resty-rack))\n* Provide example application that uses JSON and database\n* Optimize route callback (should I be using coroutines or pcall)\n* Write documentation for supported functionality\n\n\n# Test\n\nAssuming that you already have OpenResty installed, `nginx` is available via\nPATH, and you've added [moonrocks](http://rocks.moonscript.org/about).\n\n```sh\nluarocks install sinatra-dev-1.rockspec\nbusted \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtarchie%2Fsinatra-openresty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtarchie%2Fsinatra-openresty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtarchie%2Fsinatra-openresty/lists"}