{"id":13879059,"url":"https://github.com/hopsoft/sr_mini","last_synced_at":"2025-09-10T04:37:25.782Z","repository":{"id":52209617,"uuid":"346797849","full_name":"hopsoft/sr_mini","owner":"hopsoft","description":"A single file Rails app that will have you running a StimulusReflex and CableReady demo in just 2 steps.","archived":false,"fork":false,"pushed_at":"2021-05-05T04:04:21.000Z","size":17,"stargazers_count":138,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-14T10:21:38.724Z","etag":null,"topics":["rails","ruby","ruby-on-rails","single-page-app","spa","stimulus-reflex","stimulusreflex"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/hopsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-11T18:22:49.000Z","updated_at":"2024-09-22T13:11:22.000Z","dependencies_parsed_at":"2022-08-24T12:10:14.967Z","dependency_job_id":null,"html_url":"https://github.com/hopsoft/sr_mini","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hopsoft/sr_mini","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fsr_mini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fsr_mini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fsr_mini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fsr_mini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hopsoft","download_url":"https://codeload.github.com/hopsoft/sr_mini/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopsoft%2Fsr_mini/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274412280,"owners_count":25280197,"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-09-10T02:00:12.551Z","response_time":83,"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":["rails","ruby","ruby-on-rails","single-page-app","spa","stimulus-reflex","stimulusreflex"],"created_at":"2024-08-06T08:02:08.412Z","updated_at":"2025-09-10T04:37:25.734Z","avatar_url":"https://github.com/hopsoft.png","language":"Ruby","readme":"[![Lines of Code](http://img.shields.io/badge/lines_of_code-76-brightgreen.svg?style=flat)](http://blog.codinghorror.com/the-best-code-is-no-code-at-all/)\n\n# SR Mini\n\nA **single file [Rails](https://github.com/rails/rails) app** that will\nhave you running a [StimulusReflex](https://github.com/hopsoft/stimulus_reflex)\nand [CableReady](https://github.com/hopsoft/cable_ready) demo in just **2 steps**.\n\n### 🤯 The Real Single Page App™\n\n## Quick Start\n\n1. `git clone https://github.com/hopsoft/sr_mini.git`\n1. `cd /path/to/sr_mini \u0026\u0026 ruby application.rb`\n1. ...and, you're up and running a Rails app with StimulusReflex. Now visit http://localhost:3000 in a browser.\n\n## Prerequisites\n\n1. [ruby](https://www.ruby-lang.org/en/)\n1. [node](https://nodejs.dev)\n1. [yarn](https://classic.yarnpkg.com/lang/en/)\n1. [redis](https://redis.io)\n\n## Source Code\n\n- [`./index.js`](https://github.com/hopsoft/sr_mini/blob/main/index.js) - a single file with all of the JavaScript\n- [`./application.rb`](https://github.com/hopsoft/sr_mini/blob/main/application.rb) - a single file Rails app\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopsoft%2Fsr_mini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhopsoft%2Fsr_mini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopsoft%2Fsr_mini/lists"}