{"id":17598961,"url":"https://github.com/rohitcy/executables","last_synced_at":"2025-04-30T06:08:13.735Z","repository":{"id":56845155,"uuid":"129691088","full_name":"rohitcy/executables","owner":"rohitcy","description":"Run your rails app's executables via a web interface","archived":false,"fork":false,"pushed_at":"2018-04-24T17:50:45.000Z","size":83,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T06:08:08.433Z","etag":null,"topics":["executables","rack","rails","ruby"],"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/rohitcy.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":"2018-04-16T05:48:42.000Z","updated_at":"2025-04-22T13:44:24.000Z","dependencies_parsed_at":"2022-09-08T10:50:38.197Z","dependency_job_id":null,"html_url":"https://github.com/rohitcy/executables","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/rohitcy%2Fexecutables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohitcy%2Fexecutables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohitcy%2Fexecutables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohitcy%2Fexecutables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohitcy","download_url":"https://codeload.github.com/rohitcy/executables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251651233,"owners_count":21621716,"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":["executables","rack","rails","ruby"],"created_at":"2024-10-22T10:08:29.095Z","updated_at":"2025-04-30T06:08:13.715Z","avatar_url":"https://github.com/rohitcy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Executables\n\n[![Gem Version](https://badge.fury.io/rb/executables.svg)](https://badge.fury.io/rb/executables)\n[![Maintainability](https://api.codeclimate.com/v1/badges/e3215a73f115362257ee/maintainability)](https://codeclimate.com/github/rohitcy/executables/maintainability)\n\nExecutables gives you an ability to run your rails app's executables via a web interface.\n\nWith the help of simple configuration options you can tell executables to expose your executables. Executables will fetch all the executables as per the configuration options, along with their respective executable methods and arguments they accept thus giving you an ability to execute them.\n\nRead more [here](https://rohitcy.github.io/2018/04/17/why-and-how-to-use-executables/) to know more about the intentions behind building executables.\n\n## Getting Started\n\nUsing executables is easy and it requires minimal configuration, please follow below steps to start using it.\n\n1. Add executables to your Gemfile:\n\n```ruby\n  gem 'executables'\n```\n\n2. Add a initializer in `config/initializers` to tell executables where your executables are, like as follows:\n\n```ruby\nExecutables.configure do |c|\n  c.root_directory = Rails.root\n  c.executable_directories = ['app/workers']\nend\n```\n\n3. Mount web application on desired url, add following to your `config/routes.rb`:\n\n```ruby\n  require 'executables/web'\n  mount Executables::Web::App =\u003e \"/admin/executables\"\n```\n\nYou can also use constraints like as follows to limit access:\n\n```ruby\n  require 'executables/web'\n  executables_constraint = lambda { |request| request.env['warden'].authenticated?(:admin) }\n\n  constraints executables_constraint do\n    mount Executables::Web::App =\u003e '/admin/executables'\n  end\n```\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/rohitcy/executables.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitcy%2Fexecutables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohitcy%2Fexecutables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitcy%2Fexecutables/lists"}