{"id":28554975,"url":"https://github.com/arviisoft/mini-ruby-web","last_synced_at":"2025-07-22T20:04:26.712Z","repository":{"id":297756732,"uuid":"997810051","full_name":"ArviiSoft/mini-ruby-web","owner":"ArviiSoft","description":"💎 A lightweight Ruby web framework inspired by Sinatra, designed for educational purposes and simplicity.","archived":false,"fork":false,"pushed_at":"2025-06-07T08:27:19.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-18T22:32:50.527Z","etag":null,"topics":["framework","ruby","web"],"latest_commit_sha":null,"homepage":"https://discord.gg/aVBCqTU4PZ","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/ArviiSoft.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,"zenodo":null}},"created_at":"2025-06-07T08:24:29.000Z","updated_at":"2025-06-07T10:19:05.000Z","dependencies_parsed_at":"2025-06-07T09:38:28.801Z","dependency_job_id":null,"html_url":"https://github.com/ArviiSoft/mini-ruby-web","commit_stats":null,"previous_names":["arviisoft/mini-ruby-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ArviiSoft/mini-ruby-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArviiSoft%2Fmini-ruby-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArviiSoft%2Fmini-ruby-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArviiSoft%2Fmini-ruby-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArviiSoft%2Fmini-ruby-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArviiSoft","download_url":"https://codeload.github.com/ArviiSoft/mini-ruby-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArviiSoft%2Fmini-ruby-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266563915,"owners_count":23948689,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["framework","ruby","web"],"created_at":"2025-06-10T05:07:27.710Z","updated_at":"2025-07-22T20:04:26.702Z","avatar_url":"https://github.com/ArviiSoft.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniRubyWeb\n\nA lightweight Ruby web framework inspired by Sinatra, designed for educational purposes and simplicity.\n\n---\n\n## 🚀 Features\n\n| Feature              | Description                                |\n|----------------------|--------------------------------------------|\n| 🛣️ Routing           | Supports static and dynamic routes         |\n| 🧭 Controllers        | BaseController structure for logic separation |\n| 🧾 Views              | ERB rendering system for templates         |\n| ✅ Rack Compatible    | Works with `rackup` and middleware         |\n| 🔍 Testable           | Designed with RSpec and modularity in mind |\n\n---\n\n## 🗂️ Project Structure\n\n```\nmini_ruby_web/\n├── lib/\n│   ├── base_controller.rb\n│   ├── mini_ruby_web.rb\n│   └── router.rb\n├── controllers/\n│   └── users_controller.rb\n├── views/\n│   └── user_show.erb\n├── app.rb\n└── config.ru\n```\n\n---\n\n## 🔧 Usage\n\n### Start the server\n\n```bash\nrackup\n```\n\n### Example Routes\n\n```ruby\napp.get \"/merhaba\" do |req, res|\n  res.write \"Merhaba ArviS.\"\nend\n\napp.get \"/users/:id\" do |req, res|\n  controller = UsersController.new(req, res)\n  controller.show\nend\n```\n\n---\n\n## 📦 Future Improvements\n\n- Middleware support\n- Sessions and cookies\n- ORM integration (e.g., ActiveRecord)\n- CLI tool\n- RESTful routing","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farviisoft%2Fmini-ruby-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farviisoft%2Fmini-ruby-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farviisoft%2Fmini-ruby-web/lists"}