{"id":29471983,"url":"https://github.com/mahata/hello-world-check-run-app","last_synced_at":"2026-04-16T19:43:36.266Z","repository":{"id":303340805,"uuid":"1007761987","full_name":"mahata/hello-world-check-run-app","owner":"mahata","description":"An educational sample to implement GitHub Apps","archived":false,"fork":false,"pushed_at":"2025-07-14T03:49:57.000Z","size":516,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-14T15:50:51.276Z","etag":null,"topics":["github","hono","typescript"],"latest_commit_sha":null,"homepage":"https://hello-world-check-run-app.mahata777.workers.dev/health","language":"TypeScript","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/mahata.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":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-24T13:43:21.000Z","updated_at":"2025-07-07T04:49:06.000Z","dependencies_parsed_at":"2025-07-07T05:37:49.792Z","dependency_job_id":"6c0cc32b-db37-4483-ba4c-762c27fce998","html_url":"https://github.com/mahata/hello-world-check-run-app","commit_stats":null,"previous_names":["mahata/hello-world-check-run-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mahata/hello-world-check-run-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahata%2Fhello-world-check-run-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahata%2Fhello-world-check-run-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahata%2Fhello-world-check-run-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahata%2Fhello-world-check-run-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahata","download_url":"https://codeload.github.com/mahata/hello-world-check-run-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahata%2Fhello-world-check-run-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31902122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["github","hono","typescript"],"created_at":"2025-07-14T14:02:23.492Z","updated_at":"2026-04-16T19:43:36.246Z","avatar_url":"https://github.com/mahata.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hello World Check Run App\n\nA GitHub App built with Hono that creates hello world check runs on pull requests.\n\n## Features\n\n- Creates \"Hello World\" check runs on pull request events\n- Built with Hono framework for fast and lightweight performance\n- Webhook verification for secure GitHub integration\n- Health check endpoint for monitoring\n\n## Setup\n\n1. Install dependencies:\n\n   ```bash\n   pnpm install\n   ```\n\n2. Set up environment variables:\n\n   ```bash\n   cp .dev.vars.sample .dev.vars\n   ```\n\n   Configure the following variables:\n   - `GITHUB_APP_ID`: Your GitHub App ID\n   - `GITHUB_APP_PRIVATE_KEY_BASE64`: Base64 encoded private key\n   - `GITHUB_WEBHOOK_SECRET`: Webhook secret for verification\n\n## Development\n\nStart the development server with hot reload:\n\n```bash\npnpm run cf:dev\n```\n\n## Deployment\n\nDeploy the application to Cloudflare Workers:\n\n```bash\npnpm run cf:deploy\n```\n\nMonitor logs from the deployed application:\n\n```bash\npnpm run cf:tail\n```\n\n## Code Quality\n\n### Linting\n\nCheck code style and formatting:\n\n```bash\npnpm run lint\n```\n\nAutomatically fix code style issues:\n\n```bash\npnpm run lint:fix\n```\n\n### Pre-commit Checks\n\nRun comprehensive checks before committing (linting, tests, and build):\n\n```bash\nmake pre-commit\n```\n\nThis command runs linting, tests, and build to ensure code quality before committing changes.\n\n## Testing\n\nThis project uses Vitest for testing.\n\n### Run Tests\n\n```bash\n# Run tests once\npnpm run test:run\n\n# Run tests in watch mode\npnpm test\n\n# Run tests with coverage report\npnpm run test:coverage\n\n# Run tests with UI\npnpm run test:ui\n```\n\n### Test Structure\n\n- `src/index.test.ts` - Unit tests for core functionality\n- `src/integration.test.ts` - Integration tests for HTTP endpoints\n\n## API Endpoints\n\n- `GET /` - Returns application status and information\n- `POST /webhooks` - GitHub webhook endpoint for receiving events\n- `GET /health` - Health check endpoint with system information\n\n## GitHub App Configuration\n\nConfigure your GitHub App with the following settings:\n\n- **Webhook URL**: `https://your-domain.com/webhooks`\n- **Webhook Secret**: Set the same value as `GITHUB_WEBHOOK_SECRET`\n- **Permissions**:\n  - Checks: Write\n  - Pull requests: Read\n- **Events**:\n  - Pull request (opened, synchronize)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahata%2Fhello-world-check-run-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahata%2Fhello-world-check-run-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahata%2Fhello-world-check-run-app/lists"}