{"id":16617140,"url":"https://github.com/molovo/tiny","last_synced_at":"2025-08-21T10:10:16.984Z","repository":{"id":153211008,"uuid":"91962702","full_name":"molovo/tiny","owner":"molovo","description":"A Crystal module to help you build multi-threaded HTTP micro-services","archived":false,"fork":false,"pushed_at":"2017-08-16T20:47:17.000Z","size":1032,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T21:35:22.058Z","etag":null,"topics":["crystal","http","microservice"],"latest_commit_sha":null,"homepage":"https://molovo.github.io/tiny","language":"Crystal","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/molovo.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":"2017-05-21T14:19:00.000Z","updated_at":"2017-12-25T15:15:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f1f2ea1-9fb4-4c4b-bc5a-f86be13c14cc","html_url":"https://github.com/molovo/tiny","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/molovo/tiny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molovo%2Ftiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molovo%2Ftiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molovo%2Ftiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molovo%2Ftiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molovo","download_url":"https://codeload.github.com/molovo/tiny/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molovo%2Ftiny/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271462064,"owners_count":24763857,"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-08-21T02:00:08.990Z","response_time":74,"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":["crystal","http","microservice"],"created_at":"2024-10-12T02:15:31.672Z","updated_at":"2025-08-21T10:10:16.939Z","avatar_url":"https://github.com/molovo.png","language":"Crystal","readme":"# tiny\n\nA simple wrapper around [HTTP::Server](https://crystal-lang.org/api/0.22.0/HTTP/Server.html) for building CORS-enabled, multi-threaded HTTP micro-services in [Crystal](https://crystal-lang.org).\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  tiny:\n    github: molovo/tiny\n```\n\n## Usage\n\n```crystal\nrequire \"tiny\"\n\n# Create the handler for incoming requests\nserve do |request, response|\n  # This block will only be run on GET requests\n  request.get do\n    response.json({\n      \"message\"   =\u003e \"The server is up and running\",\n      \"timestamp\" =\u003e Time.now.to_s,\n    })\n  end\n\n  # This block will only be run on POST requests\n  request.post do\n    # Do something awesome!\n  end\nend\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/molovo/tiny/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [@molovo](https://github.com/molovo) James Dinsdale - creator, maintainer\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolovo%2Ftiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolovo%2Ftiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolovo%2Ftiny/lists"}