{"id":18712105,"url":"https://github.com/june29/github-app-rails-example","last_synced_at":"2025-04-12T12:31:22.305Z","repository":{"id":66450451,"uuid":"143878293","full_name":"june29/github-app-rails-example","owner":"june29","description":"A tiny GitHub App example built with Rails.","archived":false,"fork":false,"pushed_at":"2018-08-07T15:51:55.000Z","size":40,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T17:50:20.521Z","etag":null,"topics":["github-app","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/june29.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-08-07T13:37:37.000Z","updated_at":"2021-11-27T12:25:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"c87a8aee-61e3-41c1-8cc8-db7675e55708","html_url":"https://github.com/june29/github-app-rails-example","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/june29%2Fgithub-app-rails-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/june29%2Fgithub-app-rails-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/june29%2Fgithub-app-rails-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/june29%2Fgithub-app-rails-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/june29","download_url":"https://codeload.github.com/june29/github-app-rails-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248566495,"owners_count":21125677,"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":["github-app","rails","ruby","ruby-on-rails"],"created_at":"2024-11-07T12:40:50.913Z","updated_at":"2025-04-12T12:31:22.299Z","avatar_url":"https://github.com/june29.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# GitHub App example built with Rails\n\nA tiny GitHub App example built with Rails.\n\n## How to run\n\n  1. Create your GitHub App on \u003ca href=\"https://github.com/settings/apps/new\" title=\"Register new GitHub App\"\u003eRegister new GitHub App\u003c/a\u003e\n    - Set `Webhook URL` to the server running this application\n    - Set `Webhook secret` for security\n    - Set `Read \u0026 Write` permission for `Pull requests`\n  2. Create and configure `.env` file\n    - Set `GITHUB_APP_IDENTIFIER` from your GitHub App\n    - Set `GITHUB_WEBHOOK_SECRET` from your GitHub App\n    - Set `GITHUB_HOST` optionally, if you use GitHub Enterprise\n  3. Put `github-app.pem` on project root directory\n    - Get from your GitHub App config page\n  4. Run `rails server`\n\n## References I read\n\n- For GitHub\n  - \u003ca href=\"https://developer.github.com/apps/building-github-apps/\" title=\"Building GitHub Apps | GitHub Developer Guide\"\u003eBuilding GitHub Apps | GitHub Developer Guide\u003c/a\u003e\n  - \u003ca href=\"https://developer.github.com/apps/building-your-first-github-app/\" title=\"Building Your First GitHub App | GitHub Developer Guide\"\u003eBuilding Your First GitHub App | GitHub Developer Guide\u003c/a\u003e\n  - \u003ca href=\"https://github.com/github/platform-samples/tree/master/api/ruby/building-your-first-github-app\" title=\"platform-samples/api/ruby/building-your-first-github-app at master · github/platform-samples\"\u003eplatform-samples/api/ruby/building-your-first-github-app at master · github/platform-samples\u003c/a\u003e\n  - \u003ca href=\"https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/\" title=\"Authenticating with GitHub Apps | GitHub Developer Guide\"\u003eAuthenticating with GitHub Apps | GitHub Developer Guide\u003c/a\u003e\n- For GitHub Enterprise (v2.14)\n  - \u003ca href=\"https://developer.github.com/enterprise/2.14/apps/building-github-apps/authenticating-with-github-apps/\" title=\"Authenticating with GitHub Apps | GitHub Developer Guide\"\u003eAuthenticating with GitHub Apps | GitHub Developer Guide\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjune29%2Fgithub-app-rails-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjune29%2Fgithub-app-rails-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjune29%2Fgithub-app-rails-example/lists"}