{"id":30781297,"url":"https://github.com/aprilnea/linear-notify","last_synced_at":"2025-09-05T08:27:14.131Z","repository":{"id":312805173,"uuid":"1047773663","full_name":"AprilNEA/linear-notify","owner":"AprilNEA","description":"🔔 Bridge Linear webhooks to Discord, Telegram, Slack and more. Deploy with Docker, Node.js, or serverless platforms like Cloudflare Workers.","archived":false,"fork":false,"pushed_at":"2025-08-31T13:15:28.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-02T06:04:19.252Z","etag":null,"topics":["discord","linear","linear-app","notification","self-hosted","serverless","telegram","webhook"],"latest_commit_sha":null,"homepage":"","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/AprilNEA.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-31T07:38:03.000Z","updated_at":"2025-08-31T13:18:47.000Z","dependencies_parsed_at":"2025-09-02T06:04:23.724Z","dependency_job_id":null,"html_url":"https://github.com/AprilNEA/linear-notify","commit_stats":null,"previous_names":["aprilnea/linear-notify"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AprilNEA/linear-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AprilNEA%2Flinear-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AprilNEA%2Flinear-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AprilNEA%2Flinear-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AprilNEA%2Flinear-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AprilNEA","download_url":"https://codeload.github.com/AprilNEA/linear-notify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AprilNEA%2Flinear-notify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273729777,"owners_count":25157496,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["discord","linear","linear-app","notification","self-hosted","serverless","telegram","webhook"],"created_at":"2025-09-05T08:27:09.969Z","updated_at":"2025-09-05T08:27:14.106Z","avatar_url":"https://github.com/AprilNEA.png","language":"TypeScript","readme":"# Linear Notify\n\nA webhook forwarder service that receives notifications from [Linear](https://linear.app) and forwards them to various messaging platforms with rich formatting.\n\n## Features\n\n- 🚀 **Discord Integration**: Receives Linear webhooks and sends beautifully formatted messages to Discord channels\n- 🔐 **Secure**: Validates webhook signatures to ensure authenticity\n- ⚡ **Fast**: Built on Cloudflare Workers for global edge deployment\n- 🧪 **Well Tested**: Comprehensive test coverage with Vitest\n\n## Supported Platforms\n\n- ✅ **Discord** - Currently supported\n- 🔄 **Telegram** - Coming soon\n- 📋 **More platforms** - Slack, Teams, and others planned\n\n## Setup\n\n### Prerequisites\n\n- Node.js 18+\n- A Cloudflare account\n- Discord webhook URL\n- Linear workspace with webhook access\n\n### Installation\n\n```bash\nnpm install\n```\n\n### Configuration\n\nSet up the following environment variables in your Cloudflare Worker:\n\n- `DISCORD_WEBHOOK_URL`: Your Discord webhook URL\n- `LINEAR_WEBHOOK_SECRET`: (Optional) Linear webhook secret for signature validation\n\n### Development\n\nStart the development server:\n\n```bash\npnpm run dev\n```\n\n### Testing\n\nRun the test suite:\n\n```bash\npnpm run test\n```\n\nRun tests with coverage:\n\n```bash\npnpm run test:coverage\n```\n\n### Deployment\n\nDeploy to Cloudflare Workers:\n\n```bash\npnpm run deploy\n```\n\n### Type Generation\n\nGenerate types based on your Worker configuration:\n\n```bash\npnpm run cf-typegen\n```\n\n## Usage\n\n### Discord Integration\n\n1. Create a Discord webhook in your desired channel\n2. Set the `DISCORD_WEBHOOK_URL` environment variable\n3. Configure Linear to send webhooks to: `https://your-worker-domain.workers.dev/discord/webhook`\n\nThe service will automatically format Linear events (issues, comments, status changes, etc.) into rich Discord embeds.\n\n### Webhook Endpoint\n\n- **Discord**: `POST /discord/webhook`\n- **Health Check**: `GET /` - Returns service status\n\n## Development\n\nThe project uses:\n\n- **Hono** - Fast web framework for Cloudflare Workers\n- **Linear SDK** - Official Linear API SDK\n- **Vitest** - Testing framework\n- **TypeScript** - Type safety\n\n### Project Structure\n\n```\nsrc/\n├── index.ts          # Main application entry point\n├── linear.ts         # Linear webhook validation\n├── libs/\n│   └── discord.ts    # Discord message formatting and sending\n└── routes/\n    └── discord.ts    # Discord webhook route handler\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Add tests for new functionality\n5. Run the test suite\n6. Submit a pull request\n\n## License\n\nMIT\n\n## Roadmap\n\n- [ ] Telegram bot integration\n- [ ] Slack integration\n- [ ] Microsoft Teams support\n- [ ] Webhook replay functionality\n- [ ] Message customization templates\n- [ ] Multiple destination support per webhook","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprilnea%2Flinear-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faprilnea%2Flinear-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprilnea%2Flinear-notify/lists"}