{"_id":"@albantanie/airin","_rev":"5-685543c496e78f9303c60059b715ec3a","name":"@albantanie/airin","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@albantanie/airin","version":"1.0.0","keywords":["github-actions","gitlab-ci","ci-cd","zapier","telegram","webhook","notifications","devops","deployment"],"author":{"name":"Albantanie","email":"syahrulfaiz30102003@gmail.com"},"license":"MIT","_id":"@albantanie/airin@1.0.0","maintainers":[{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"}],"homepage":"https://github.com/Orangutan168/prop2goapi-admin-frontend/tree/main/airin#readme","bugs":{"url":"https://github.com/Orangutan168/prop2goapi-admin-frontend/issues"},"dist":{"shasum":"5dadf2b2b18515629b376ade14f1d650afe808bc","tarball":"https://registry.npmjs.org/@albantanie/airin/-/airin-1.0.0.tgz","fileCount":8,"integrity":"sha512-UzU4Ke7Fmu4Xr+HcLXTi5ksxDB+qXUMA4n++wb7IVJetabD0mwVsBuP9b1gC7U4g0ICDVy76+z+R265gu4coXA==","signatures":[{"sig":"MEQCIDcH6M9Y3Yt+r4w0vDEm3dSRJC9IXvJMd6ELblPdfXl0AiBIbvUrh4VZdN2eNlK8tARZ4S77s/BmWKjNQd8nNUH8gQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2534054},"main":"dist/index.js","engines":{"node":">=20.0.0"},"gitHead":"639c808693d5d8c7e6b08dd89f4efdf0481136d3","scripts":{"test":"echo \"No tests yet\" && exit 0","build":"ncc build src/index.js -o dist --source-map --license licenses.txt","prepare":"npm run build"},"_npmUser":{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"},"repository":{"url":"git+https://github.com/Orangutan168/prop2goapi-admin-frontend.git","type":"git","directory":"airin"},"_npmVersion":"10.9.2","description":"Simple CI/CD notification tool for GitHub Actions and GitLab CI with Zapier webhook integration","directories":{},"_nodeVersion":"23.9.0","dependencies":{"@actions/core":"^1.10.1","@actions/github":"^6.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@vercel/ncc":"^0.38.1"},"_npmOperationalInternal":{"tmp":"tmp/airin_1.0.0_1763899656307_0.631282937181181","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@albantanie/airin","version":"1.1.0","keywords":["github-actions","gitlab-ci","ci-cd","zapier","telegram","webhook","notifications","devops","deployment"],"author":{"name":"Albantanie","email":"syahrulfaiz30102003@gmail.com"},"license":"MIT","_id":"@albantanie/airin@1.1.0","maintainers":[{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"}],"homepage":"https://github.com/Orangutan168/prop2goapi-admin-frontend/tree/main/airin#readme","bugs":{"url":"https://github.com/Orangutan168/prop2goapi-admin-frontend/issues"},"dist":{"shasum":"1aeda0ce5da1d23d608c9ea0719e2f074fab1b6e","tarball":"https://registry.npmjs.org/@albantanie/airin/-/airin-1.1.0.tgz","fileCount":8,"integrity":"sha512-b6qoJZpjRz6tXykADalKktgiSCVtQS2UQA/GpVaUWQl/qTVbE7tyt3KdsCQi3Gsv4uP3DNVqYxBi0po08WdEXA==","signatures":[{"sig":"MEUCIEEFODfK/tQSIg+JVO2M4qgbiEcwqW7LzXyMUd02AfQxAiEAq1sFKoDyZC02dqsquKa7yam3GzL0ipP9ieB7q0PFeEI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2532480},"main":"dist/index.js","engines":{"node":">=20.0.0"},"gitHead":"639c808693d5d8c7e6b08dd89f4efdf0481136d3","scripts":{"test":"echo \"No tests yet\" && exit 0","build":"ncc build src/index.js -o dist --source-map --license licenses.txt","prepare":"npm run build"},"_npmUser":{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"},"repository":{"url":"git+https://github.com/Orangutan168/prop2goapi-admin-frontend.git","type":"git","directory":"airin"},"_npmVersion":"10.9.2","description":"Simple CI/CD notification tool for GitHub Actions and GitLab CI with Zapier webhook integration","directories":{},"_nodeVersion":"23.9.0","dependencies":{"@actions/core":"^1.10.1","@actions/github":"^6.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@vercel/ncc":"^0.38.1"},"_npmOperationalInternal":{"tmp":"tmp/airin_1.1.0_1763900028430_0.5135231692059687","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@albantanie/airin","version":"1.2.0","keywords":["github-actions","gitlab-ci","ci-cd","zapier","telegram","webhook","notifications","devops","deployment"],"author":{"name":"Albantanie","email":"syahrulfaiz30102003@gmail.com"},"license":"MIT","_id":"@albantanie/airin@1.2.0","maintainers":[{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"}],"homepage":"https://github.com/Orangutan168/prop2goapi-admin-frontend/tree/main/airin#readme","bugs":{"url":"https://github.com/Orangutan168/prop2goapi-admin-frontend/issues"},"dist":{"shasum":"b9d867bb9ede430f1c1ddd212c00cd5afabc62a6","tarball":"https://registry.npmjs.org/@albantanie/airin/-/airin-1.2.0.tgz","fileCount":8,"integrity":"sha512-AlTyuIy6C3h/V29pzZZ6Nr6HA8tRizwJ8VGma/zZOnxoLb2l2OXEBOHK8pemwt8lOEi8G/1L2hdrnCxGILh88A==","signatures":[{"sig":"MEYCIQCnMiF3Lsnumjfe98qXqcETXYjv6TnPCvxcEshD7X05KAIhAL2k+k8wWFlZ8xdzib4KHus3ev0Y5VWzUYod0noSVu+t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2532307},"main":"dist/index.js","engines":{"node":">=20.0.0"},"gitHead":"639c808693d5d8c7e6b08dd89f4efdf0481136d3","scripts":{"test":"echo \"No tests yet\" && exit 0","build":"ncc build src/index.js -o dist --source-map --license licenses.txt","prepare":"npm run build"},"_npmUser":{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"},"repository":{"url":"git+https://github.com/Orangutan168/prop2goapi-admin-frontend.git","type":"git","directory":"airin"},"_npmVersion":"10.9.2","description":"Simple CI/CD notification tool for GitHub Actions and GitLab CI with Zapier webhook integration","directories":{},"_nodeVersion":"23.9.0","dependencies":{"@actions/core":"^1.10.1","@actions/github":"^6.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@vercel/ncc":"^0.38.1"},"_npmOperationalInternal":{"tmp":"tmp/airin_1.2.0_1763900418291_0.9087903962019386","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@albantanie/airin","version":"1.2.1","keywords":["github-actions","gitlab-ci","ci-cd","zapier","telegram","webhook","notifications","devops","deployment"],"author":{"name":"Albantanie","email":"syahrulfaiz30102003@gmail.com"},"license":"MIT","_id":"@albantanie/airin@1.2.1","maintainers":[{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"}],"homepage":"https://github.com/Orangutan168/prop2goapi-admin-frontend/tree/main/airin#readme","bugs":{"url":"https://github.com/Orangutan168/prop2goapi-admin-frontend/issues"},"dist":{"shasum":"fb5cbea3131a3d91e5c0a23c277214e766a2f97d","tarball":"https://registry.npmjs.org/@albantanie/airin/-/airin-1.2.1.tgz","fileCount":8,"integrity":"sha512-2XsBFsZcdmFWQO0lguVHrx37YjAnhg6lDV3SMu/OwmcNpuA2mMynPxTTodZZgogw9w9zFHgYamXqShIxMRSq3A==","signatures":[{"sig":"MEQCID4VnmzABWUN2610BJsjQsMtQFqYrX0eZfVKsFP26xAiAiAnUqq/Geb5nqxG4gDRB8tu2tfU/XUsHwtxRcPKNEoyQg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2532307},"main":"dist/index.js","engines":{"node":">=20.0.0"},"gitHead":"639c808693d5d8c7e6b08dd89f4efdf0481136d3","scripts":{"test":"echo \"No tests yet\" && exit 0","build":"ncc build src/index.js -o dist --source-map --license licenses.txt","prepare":"npm run build"},"_npmUser":{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"},"repository":{"url":"git+https://github.com/Orangutan168/prop2goapi-admin-frontend.git","type":"git","directory":"airin"},"_npmVersion":"10.9.2","description":"Simple CI/CD notification tool for GitHub Actions and GitLab CI with Zapier webhook integration","directories":{},"_nodeVersion":"23.9.0","dependencies":{"@actions/core":"^1.10.1","@actions/github":"^6.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"@vercel/ncc":"^0.38.1"},"_npmOperationalInternal":{"tmp":"tmp/airin_1.2.1_1763900450004_0.9317682298340426","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@albantanie/airin","version":"1.2.2","description":"Simple CI/CD notification tool for GitHub Actions and GitLab CI with Zapier webhook integration","main":"dist/index.js","scripts":{"build":"node ./node_modules/@vercel/ncc/dist/ncc/cli.js build src/index.js -o dist --source-map --license licenses.txt","prepare":"npm run build","test":"echo \"No tests yet\" && exit 0"},"keywords":["github-actions","gitlab-ci","ci-cd","zapier","telegram","webhook","notifications","devops","deployment"],"author":{"name":"Albantanie","email":"syahrulfaiz30102003@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Orangutan168/prop2goapi-admin-frontend.git","directory":"airin"},"bugs":{"url":"https://github.com/Orangutan168/prop2goapi-admin-frontend/issues"},"homepage":"https://github.com/Orangutan168/prop2goapi-admin-frontend/tree/main/airin#readme","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"@actions/core":"^1.10.1","@actions/github":"^6.0.0"},"devDependencies":{"@vercel/ncc":"^0.38.1"},"engines":{"node":">=20.0.0"},"_id":"@albantanie/airin@1.2.2","gitHead":"e649b2c4b64c8f6fe17cb7503a2b0aec87ec0e6d","_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-q89nH0YxrVK6o03DRbL4bPr9B6ZVKB9lLRZ6rmg0CvV4cvNISnr+PhIIfXEgRWu9CSkG7hHUwDpg5ksG1/c9ZA==","shasum":"b3799b25ebbcbaa7ddb43dc641256e6e1909ab98","tarball":"https://registry.npmjs.org/@albantanie/airin/-/airin-1.2.2.tgz","fileCount":8,"unpackedSize":2532399,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDU0xGwMka+cNWizFid6iBCUSeRgd06DxAqOiL+TsREhgIhANTqzK/FfYSWGqdSi50Kv7b9UDdJ5r3GODWpjpoofkYJ"}]},"_npmUser":{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"},"directories":{},"maintainers":[{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/airin_1.2.2_1763966559527_0.8684635984828868"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-23T12:07:36.250Z","modified":"2025-11-24T06:42:39.981Z","1.0.0":"2025-11-23T12:07:36.508Z","1.1.0":"2025-11-23T12:13:48.689Z","1.2.0":"2025-11-23T12:20:18.530Z","1.2.1":"2025-11-23T12:20:50.234Z","1.2.2":"2025-11-24T06:42:39.770Z"},"bugs":{"url":"https://github.com/Orangutan168/prop2goapi-admin-frontend/issues"},"author":{"name":"Albantanie","email":"syahrulfaiz30102003@gmail.com"},"license":"MIT","homepage":"https://github.com/Orangutan168/prop2goapi-admin-frontend/tree/main/airin#readme","keywords":["github-actions","gitlab-ci","ci-cd","zapier","telegram","webhook","notifications","devops","deployment"],"repository":{"type":"git","url":"git+https://github.com/Orangutan168/prop2goapi-admin-frontend.git","directory":"airin"},"description":"Simple CI/CD notification tool for GitHub Actions and GitLab CI with Zapier webhook integration","maintainers":[{"name":"albantanie","email":"syahrulfaiz30102003@gmail.com"}],"readme":"# Airin - CI/CD Notification Tool\n\nSuper simple CI/CD notification tool that sends deployment status to Telegram. Works with GitHub Actions and GitLab CI. **No configuration needed!**\n\n## Features\n\n- ✅ **Zero configuration** - webhook already built-in!\n- 📱 Instant Telegram notifications\n- 🔍 Automatic error detection in logs\n- 🚀 Works with GitHub Actions and GitLab CI\n- 🆓 Completely free to use\n- ⚡ Just add one line to your workflow!\n\n## Quick Start\n\n### GitHub Actions\n\nJust add this to your workflow - that's it! No secrets, no setup needed:\n\n```yaml\n- name: Notify Telegram\n  if: always()\n  uses: albantanie/airin@main\n```\n\n**That's literally all you need!** 🎉\n\n## Full Example\n\n### GitHub Actions\n\n```yaml\nname: Build and Deploy\n\non:\n  push:\n    branches: [main, development]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Build and Test\n        run: |\n          npm install\n          npm test\n          npm run build\n\n      - name: Deploy\n        run: |\n          # Your deployment commands\n          echo \"Deploying...\"\n\n      # 🎉 Telegram notification (runs even if build/deploy fails)\n      - name: Notify Telegram\n        if: always()\n        uses: albantanie/airin@main\n```\n\n### GitLab CI\n\nAdd this to your `.gitlab-ci.yml`:\n\n```yaml\nbuild:\n  stage: build\n  script:\n    - npm install\n    - npm run build\n  after_script:\n    - |\n      curl -X POST https://hooks.zapier.com/hooks/catch/25470556/uzws3gf/ \\\n      -H \"Content-Type: application/json\" \\\n      -d \"{\n        \\\"workflow_name\\\": \\\"${CI_PROJECT_NAME}\\\",\n        \\\"repository\\\": \\\"${CI_PROJECT_PATH}\\\",\n        \\\"branch\\\": \\\"${CI_COMMIT_REF_NAME}\\\",\n        \\\"commit_sha\\\": \\\"${CI_COMMIT_SHA}\\\",\n        \\\"commit_message\\\": \\\"${CI_COMMIT_MESSAGE}\\\",\n        \\\"author\\\": \\\"${GITLAB_USER_NAME}\\\",\n        \\\"status\\\": \\\"${CI_JOB_STATUS}\\\",\n        \\\"run_id\\\": \\\"${CI_PIPELINE_ID}\\\",\n        \\\"run_url\\\": \\\"${CI_PIPELINE_URL}\\\",\n        \\\"timestamp\\\": \\\"${CI_COMMIT_TIMESTAMP}\\\"\n      }\"\n```\n\n## Configuration (Optional)\n\nBy default, Airin uses a built-in webhook. You can override it if needed:\n\n```yaml\n- name: Notify Telegram\n  if: always()\n  uses: albantanie/airin@main\n  with:\n    zapier_webhook: 'your-custom-webhook-url'  # Optional\n    log_file: 'path/to/log.txt'  # Optional\n```\n\n### Inputs\n\n| Input | Required | Default | Description |\n|-------|----------|---------|-------------|\n| `zapier_webhook` | ❌ No | Built-in webhook | Custom Zapier webhook URL |\n| `log_file` | ❌ No | `''` | Path to log file for analysis |\n\n### Webhook Payload\n\nThe following data is sent to Zapier:\n\n```json\n{\n  \"workflow_name\": \"Build and Deploy\",\n  \"repository\": \"username/repo-name\",\n  \"branch\": \"main\",\n  \"commit_sha\": \"abc123...\",\n  \"commit_message\": \"Fix bug in authentication\",\n  \"author\": \"john.doe\",\n  \"status\": \"success\",\n  \"run_id\": \"123456789\",\n  \"run_url\": \"https://github.com/username/repo/actions/runs/123456789\",\n  \"timestamp\": \"2025-01-23T10:30:00Z\",\n  \"project\": \"Backend API\",\n  \"environment\": \"Production\"\n}\n```\n\n### Status Values\n\n- `success` - All steps completed successfully\n- `failure` - One or more steps failed\n- `cancelled` - Workflow was cancelled\n\n## Examples\n\n### Full GitHub Actions Example\n\n```yaml\nname: Build and Deploy\n\non:\n  push:\n    branches: [main, development]\n\nenv:\n  NODE_ENV: production\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Run tests\n        run: npm test\n\n      - name: Build application\n        run: npm run build\n\n      - name: Deploy to server\n        run: |\n          # Your deployment commands\n          echo \"Deploying...\"\n\n      # Notification step (always runs)\n      - name: Send notification\n        if: always()\n        run: |\n          curl -X POST https://hooks.zapier.com/hooks/catch/25470556/uzws3gf/ \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\n            \"workflow_name\": \"${{ github.workflow }}\",\n            \"repository\": \"${{ github.repository }}\",\n            \"branch\": \"${{ github.ref_name }}\",\n            \"commit_sha\": \"${{ github.sha }}\",\n            \"commit_message\": \"${{ github.event.head_commit.message }}\",\n            \"author\": \"${{ github.actor }}\",\n            \"status\": \"${{ job.status }}\",\n            \"run_id\": \"${{ github.run_id }}\",\n            \"run_url\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\n            \"timestamp\": \"${{ github.event.head_commit.timestamp }}\",\n            \"project\": \"My API\",\n            \"environment\": \"Production\"\n          }'\n```\n\n## Zapier Configuration Example\n\n### Telegram Message Template\n\nYou can format your Telegram message in Zapier like this:\n\n```\n{{emoji}} **{{status}}** - {{workflow_name}}\n\n📦 **Repository:** {{repository}}\n🌿 **Branch:** {{branch}}\n👤 **Author:** {{author}}\n💬 **Commit:** {{commit_message}}\n🔗 **Run:** {{run_url}}\n\n⏰ {{timestamp}}\n```\n\nWhere `emoji` is:\n- ✅ for success\n- 🚨 for failure\n- ⚠️ for cancelled\n\n## Troubleshooting\n\n### Notifications not received\n\n1. **Check Zapier webhook URL**: Make sure the URL is correct\n2. **Check Zap is ON**: Ensure your Zap is published and turned on\n3. **Check workflow syntax**: Make sure the YAML syntax is correct\n4. **Check secrets**: Verify `ZAPIER_WEBHOOK_URL` is set in GitHub/GitLab secrets\n\n### Error: \"webhook URL is required\"\n\nMake sure you've set the `ZAPIER_WEBHOOK_URL` in your GitHub secrets or passed it directly in the workflow.\n\n## FAQ\n\n**Q: Is this free to use?**\nA: Yes! Airin is MIT licensed and doesn't require any paid APIs.\n\n**Q: Do I need OpenAI API?**\nA: No! This version uses simple error detection and sends data to Zapier, which can optionally use AI for analysis.\n\n**Q: Can I use without Zapier?**\nA: You can modify the webhook URL to any service that accepts JSON webhooks.\n\n**Q: Does it work with private repositories?**\nA: Yes! It works with both public and private repositories.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT © Albantanie\n\n## Support\n\nFor issues and questions, please open an issue on [GitHub](https://github.com/Orangutan168/prop2goapi-admin-frontend/issues).\n\n---\n\nMade with ❤️ by Albantanie\n# airin-landing\n# airin-landing\n# airin-landing\n","readmeFilename":"README.md"}