{"id":25685666,"url":"https://github.com/federi95/telegram-sales","last_synced_at":"2026-05-07T04:41:50.254Z","repository":{"id":279112397,"uuid":"937745148","full_name":"federi95/telegram-sales","owner":"federi95","description":"🚀 Telegram Offer Monitor – A fullstack application built with Next.js that enables users to track product offers in public Telegram chats and channels. Users can specify the products and channels they want to monitor, and the system will notify them when relevant offers appear.","archived":false,"fork":false,"pushed_at":"2025-02-23T20:12:05.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T21:20:34.532Z","etag":null,"topics":["api","bun","drizzle-orm","fullstack","mantine","monitoring","nextjs15","notifications","offers","sqlite","telegram"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/federi95.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":"2025-02-23T19:47:20.000Z","updated_at":"2025-02-23T20:12:08.000Z","dependencies_parsed_at":"2025-02-23T21:20:46.925Z","dependency_job_id":"a22f0cfc-0e52-4868-b078-c7f69b1a7293","html_url":"https://github.com/federi95/telegram-sales","commit_stats":null,"previous_names":["federi95/telegram-sales"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/federi95/telegram-sales","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federi95%2Ftelegram-sales","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federi95%2Ftelegram-sales/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federi95%2Ftelegram-sales/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federi95%2Ftelegram-sales/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/federi95","download_url":"https://codeload.github.com/federi95/telegram-sales/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federi95%2Ftelegram-sales/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273423186,"owners_count":25103140,"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-03T02:00:09.631Z","response_time":76,"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":["api","bun","drizzle-orm","fullstack","mantine","monitoring","nextjs15","notifications","offers","sqlite","telegram"],"created_at":"2025-02-24T18:57:06.548Z","updated_at":"2026-05-07T04:41:50.227Z","avatar_url":"https://github.com/federi95.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Offer Monitor\n\nTelegram Offer Monitor is a fullstack application built with Next.js that allows users to monitor product offers within public Telegram chats and channels. Users can add products and channels to track, receiving notifications when a relevant offer is detected.\n\n## Technologies Used\n\n- **Next.js** - React framework for both frontend and backend\n- **Mantine UI** - Component library for the UI\n- **REST API** - For CRUD operations\n- **Telegram API** - To access public channel messages\n- **SQLite with Drizzle ORM** - For database management\n\n## Features\n\n- Add and manage products to monitor\n- Insert and manage Telegram chats/channels to track\n- Automatic notifications when an offer is detected\n- Modern and responsive UI with Mantine UI\n\n## Installation\n\n### Prerequisites\n\n- Node.js 18+\n- Bun\n\n### Steps\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/federi95/telegram-sales.git\n   cd telegram-sales\n   ```\n2. Install dependencies:\n   ```sh\n   bun install\n   ```\n3. Configure the `.env` file:\n   ```env\n   DB_FILE_NAME=db.sqlite\n   TELEGRAM_API_ID=your_telegram_app_id\n   TELEGRAM_API_HASH=your_telegram_app_hash\n   WEBHOOK_URL=your_discord_webhook_url\n   ```\n4. Start the application:\n   ```sh\n   bun dev\n   ```\n\n## API Endpoints\n\n| Method | Endpoint           | Description                             |\n| ------ | ------------------ | --------------------------------------- |\n| GET    | /api/products      | Retrieve the list of monitored products |\n| POST   | /api/products      | Add a new product                       |\n| PATCH  | /api/products/\\:id | Update a product                        |\n| DELETE | /api/products/\\:id | Remove a product                        |\n| GET    | /api/channels      | Retrieve the list of monitored channels |\n| POST   | /api/channels      | Add a new channel                       |\n| PATCH  | /api/channels/\\:id | Update a channel                        |\n| DELETE | /api/channels/\\:id | Remove a channel                        |\n| POST   | /api/session       | Create a session                        |\n| DELETE | /api/session       | Delete a session                        |\n\n## Contributing\n\nIf you want to contribute, feel free to open an issue or a pull request.\n\n## License\n\nThis project is distributed under the MIT license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffederi95%2Ftelegram-sales","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffederi95%2Ftelegram-sales","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffederi95%2Ftelegram-sales/lists"}