{"id":31746811,"url":"https://github.com/clevercloud/ruby-multi-redirect-example","last_synced_at":"2025-10-09T13:19:35.648Z","repository":{"id":224113070,"uuid":"762446248","full_name":"CleverCloud/ruby-multi-redirect-example","owner":"CleverCloud","description":"A Ruby project based on Puma web server and Sinatra DSL, managing multiple redirections.","archived":false,"fork":false,"pushed_at":"2024-02-26T01:28:46.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-09-30T05:48:42.148Z","etag":null,"topics":["clevercloud-example","dsl","puma","redirections","ruby","sinatra"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CleverCloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-23T19:52:59.000Z","updated_at":"2024-11-04T16:07:14.000Z","dependencies_parsed_at":"2024-02-23T21:25:56.926Z","dependency_job_id":"efc922cd-64d1-45d3-8376-8066beff5efa","html_url":"https://github.com/CleverCloud/ruby-multi-redirect-example","commit_stats":null,"previous_names":["clevercloud/ruby-multi-redirect","clevercloud/ruby-multi-redirect-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CleverCloud/ruby-multi-redirect-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fruby-multi-redirect-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fruby-multi-redirect-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fruby-multi-redirect-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fruby-multi-redirect-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleverCloud","download_url":"https://codeload.github.com/CleverCloud/ruby-multi-redirect-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fruby-multi-redirect-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001536,"owners_count":26083102,"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-10-09T02:00:07.460Z","response_time":59,"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":["clevercloud-example","dsl","puma","redirections","ruby","sinatra"],"created_at":"2025-10-09T13:19:34.597Z","updated_at":"2025-10-09T13:19:35.635Z","avatar_url":"https://github.com/CleverCloud.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby - Clever Cloud Puma+Sinatra Redirections demo\n\nThis repository contains a Ruby web application based on Puma server and Sinatra DSL, demonstrating how to define routes and different kind of redirections. You'll need a [Clever Cloud account](https://console.clever-cloud.com/) and [Clever Tools](https://github.com/CleverCloud/clever-tools).\n\n## Setup Clever Tools\n\n```bash\nnpm i -g clever-tools\nclever login\n```\n\n## Init the project\n\n```bash\ngit clone https://github.com/CleverCloud/ruby-multi-redirect\ncd ruby-multi-redirect\n```\n\n## Create the application and deploy on Clever Cloud\n\n```bash\nclever create -t ruby\ngit add . \u0026\u0026 git commit -m \"Initial commit\"\nclever deploy\nclever open\n```\n\nYou can now visit `/api` to get a visible redirection and `/lost` to get an invisible redirection. You also can get answers from the `/` and `/json` routes. Any other will reply with a `404` HTTP status code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevercloud%2Fruby-multi-redirect-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclevercloud%2Fruby-multi-redirect-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevercloud%2Fruby-multi-redirect-example/lists"}