{"id":16876383,"url":"https://github.com/mishina2228/youtube-api-trial","last_synced_at":"2025-03-22T07:31:50.737Z","repository":{"id":38238955,"uuid":"152088123","full_name":"mishina2228/youtube-api-trial","owner":"mishina2228","description":"YouTube channels info collector","archived":false,"fork":false,"pushed_at":"2024-10-29T09:22:10.000Z","size":32597,"stargazers_count":8,"open_issues_count":5,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T11:38:19.849Z","etag":null,"topics":["rails","ruby","youtube"],"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/mishina2228.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}},"created_at":"2018-10-08T13:51:28.000Z","updated_at":"2024-10-29T09:22:07.000Z","dependencies_parsed_at":"2023-10-22T14:24:06.218Z","dependency_job_id":"f24f5ba8-309b-4e36-85d1-0cfada1bfdf5","html_url":"https://github.com/mishina2228/youtube-api-trial","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/mishina2228%2Fyoutube-api-trial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishina2228%2Fyoutube-api-trial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishina2228%2Fyoutube-api-trial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishina2228%2Fyoutube-api-trial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mishina2228","download_url":"https://codeload.github.com/mishina2228/youtube-api-trial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244925178,"owners_count":20532873,"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":["rails","ruby","youtube"],"created_at":"2024-10-13T15:39:16.270Z","updated_at":"2025-03-22T07:31:50.055Z","avatar_url":"https://github.com/mishina2228.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTube API Trial\n\n[![CI](https://github.com/mishina2228/youtube-api-trial/workflows/ci/badge.svg)](https://github.com/mishina2228/youtube-api-trial/actions)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b80a05b702d4a8ee5b13/maintainability)](https://codeclimate.com/github/mishina2228/youtube-api-trial/maintainability)\n[![codecov](https://codecov.io/gh/mishina2228/youtube-api-trial/branch/master/graph/badge.svg)](https://codecov.io/gh/mishina2228/youtube-api-trial)\n[![GitHub license](https://img.shields.io/github/license/mishina2228/youtube-api-trial)](https://github.com/mishina2228/youtube-api-trial/blob/master/LICENSE)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)\n\nYouTube channels info collector\n\n![List](docs/list.png)\n![Show](docs/show.png)\n\n## Prerequisites\n\n- Ruby 3.2+\n- Node.js 14.17.0+ || 16.0.0+\n- Yarn 1.x+\n\n## Installation\n\n### Set up Rails app\n\nFirst, install the gems and javascript packages required by the application:\n\n- development\n\n```sh\nbundle install\nyarn install\n```\n\n- production\n\n```sh\nbundle config set without development test\nbundle install\nyarn install --production\n```\n\nNext, execute the database migrations/schema setup:\n\n```sh\nRAILS_ENV=[RAILS_ENV] bin/rails db:setup\n```\n\n### Resque settings\n\nCreate a configuration file to manage [Resque](https://github.com/resque/resque)\nand [resque-scheduler](https://github.com/resque/resque-scheduler)\nwith [God](http://godrb.com/)\n\n```sh\nRAILS_ENV=[RAILS_ENV] bundle exec itamae local config/itamae/resque.rb\n```\n\nLoad configuration file\n\n```sh\ngod -c /etc/god/master.conf\n```\n\nResque, resque-scheduler operation with God\n\n- check the status\n- start\n- restart\n- stop\n\n```sh\ngod status youtube_api_trial\ngod start youtube_api_trial\ngod restart youtube_api_trial\ngod stop youtube_api_trial\n```\n\n### Start the app\n\n- development\n\n```sh\nbin/dev\n```\n\n- production\n\n```sh\nRAILS_ENV=production bin/rails assets:precompile\nbin/rails s -e production\n```\n\n## Configuration Files\n\n### Notify when Resque job failed\n\nIf a Resque job fails, a notification email will be sent.  \nPlease fill in the settings of email to `config/mail.yml`.  \nThe following is an example when sending from Gmail:\n\n```yml\nproduction:\n  delivery_method: :smtp\n  smtp_settings:\n    address: 'smtp.gmail.com'\n    port: 587\n    domain: 'gmail.com'\n    user_name: [USER_NAME]\n    password: [PASSWORD]\n    authentication: 'plain'\n    enable_starttls_auto: true\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishina2228%2Fyoutube-api-trial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmishina2228%2Fyoutube-api-trial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishina2228%2Fyoutube-api-trial/lists"}