{"id":29584393,"url":"https://github.com/dazzl-tv/evostream-event","last_synced_at":"2025-07-20T00:34:19.253Z","repository":{"id":46823891,"uuid":"84349268","full_name":"dazzl-tv/evostream-event","owner":"dazzl-tv","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-23T13:12:28.000Z","size":283,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-07-06T14:17:46.992Z","etag":null,"topics":["evostream","gem","ruby"],"latest_commit_sha":null,"homepage":null,"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/dazzl-tv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-08T17:43:16.000Z","updated_at":"2021-09-23T13:02:06.000Z","dependencies_parsed_at":"2022-09-17T11:02:33.425Z","dependency_job_id":null,"html_url":"https://github.com/dazzl-tv/evostream-event","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dazzl-tv/evostream-event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dazzl-tv%2Fevostream-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dazzl-tv%2Fevostream-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dazzl-tv%2Fevostream-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dazzl-tv%2Fevostream-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dazzl-tv","download_url":"https://codeload.github.com/dazzl-tv/evostream-event/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dazzl-tv%2Fevostream-event/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048706,"owners_count":23868744,"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":["evostream","gem","ruby"],"created_at":"2025-07-20T00:34:18.560Z","updated_at":"2025-07-20T00:34:19.229Z","avatar_url":"https://github.com/dazzl-tv.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Evostream::Event\n  [![RSpec](https://github.com/dazzl-tv/evostream-event/actions/workflows/rspec.yml/badge.svg)](https://github.com/dazzl-tv/evostream-event/actions/workflows/rspec.yml)\n  [![Linter](https://github.com/dazzl-tv/evostream-event/actions/workflows/linter.yml/badge.svg)](https://github.com/dazzl-tv/evostream-event/actions/workflows/linter.yml)\n  [![Gem Version](https://badge.fury.io/rb/evostream-event.svg)](https://badge.fury.io/rb/evostream-event)\n  [![Docs](https://inch-ci.org/github/dazzl-tv/evostream-event.svg)](https://inch-ci.org/github/dazzl-tv/evostream-event)\n  [![Maintainability](https://api.codeclimate.com/v1/badges/aeb223699c46a3e6e76c/maintainability)](https://codeclimate.com/github/dazzl-tv/evostream-event/maintainability)\n  [![Test Coverage](https://api.codeclimate.com/v1/badges/aeb223699c46a3e6e76c/test_coverage)](https://codeclimate.com/github/dazzl-tv/evostream-event/test_coverage)\n  [![Known Vulnerabilities](https://snyk.io/test/github/dazzl-tv/evostream-event/badge.svg)](https://snyk.io/test/github/dazzl-tv/evostream-event)\n\nEvostream Event listen event to Evostream and execute task.\n\n## Menu\n\n* [How to use](#how-to-use)\n  * [Installation](#installation)\n  * [Usage](#usage)\n* [Development](#development)\n* [Contributing](#contributing)\n\n## How to use\n\n### Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'evostream-event'\n```\n\nAnd then execute :\n\n```linux\nbundle\n```\n\nOr install it yourself as :\n\n```linux\ngem install evostream-event\n```\n\n### Environment\n\nThis gem use a configuration file for configure access to EvoStream server.\n\nSee initializer file.\n```ruby\n# URL to EvoStream for share video to final user\nconfig.uri_in       = 'http://server_stream.local:80'\n\n# URL to EvoStream for sending request to this API\nconfig.uri_out      = 'http://server_stream.local:7777'\n\n# Prefix to folder created for each video mangaed by EvoStream\nconfig.name         = 'srteamming_'\n\n# Folder for file created by EvoStream\nconfig.web_root     = '/var/www/html'\n\n# Name to model manipulate\nconfig.model        = ModelUsedInDatabase\n\n# Choose id to document manipulate in Database\nconfig.model_id     = :identifier_used_in_model\n\n# Use environment for this gem. Choose between :\n# - development   : Write in log and Send request to EvoStream\n# - test          : Write in Log\n# - production    : Send request to EvoStream\nconfig.environement = :test\n```\n### Usage\n\nCreate initializer :\n\n```linux\nrails generator evostream:initializer\n```\n\nTreatment evostream request :\n\n```ruby\nevent = Evostream::Event.new(params[:type], params[:payload].to_unsafe_h)\nevent.execute_action\n```\n\n### Usage in cli\n\nUse this gem in CLI. For more explain use helper :\n\n```linux\nevostream -h\n```\n\nExample for delete a configuration :\n\n```linux\nevostream removeConfig 'id: 565'\n```\n\nExample for list configuration :\n\n```linux\n# All configuration\nevostream listConfig\n\n# Just configuration number 42\nevostream -s 'configId: 42' listConfig\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run\n`rake spec` to run the tests. You can also run `bin/console` for an interactive\nprompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To\nrelease a new version, update the version number in `version.rb`, and then run\n`bundle exec rake release`, which will create a git tag for the version, push\ngit commits and tags, and push the `.gem` file to\n[rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/dazzl-tv/evostream-event. This project is intended to be a\nsafe, welcoming space for collaboration, and contributors are expected to adhere\nto the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdazzl-tv%2Fevostream-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdazzl-tv%2Fevostream-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdazzl-tv%2Fevostream-event/lists"}