{"id":28263680,"url":"https://github.com/dragodui/olx-telegram-bot","last_synced_at":"2026-03-02T10:31:00.416Z","repository":{"id":294175356,"uuid":"979864893","full_name":"Dragodui/olx-telegram-bot","owner":"Dragodui","description":"Telegram bot for parsing olx.pl","archived":false,"fork":false,"pushed_at":"2025-05-27T12:43:02.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T05:27:24.191Z","etag":null,"topics":["javascript","nodejs","puppeteer","sqlite","telegraf","telegram-bot"],"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/Dragodui.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,"zenodo":null}},"created_at":"2025-05-08T07:30:44.000Z","updated_at":"2025-05-27T12:43:05.000Z","dependencies_parsed_at":"2025-05-19T08:38:07.128Z","dependency_job_id":"a315f803-5669-412d-a2f6-f7a84dd06781","html_url":"https://github.com/Dragodui/olx-telegram-bot","commit_stats":null,"previous_names":["dragodui/olx-telegram-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dragodui/olx-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragodui%2Folx-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragodui%2Folx-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragodui%2Folx-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragodui%2Folx-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dragodui","download_url":"https://codeload.github.com/Dragodui/olx-telegram-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dragodui%2Folx-telegram-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: 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":["javascript","nodejs","puppeteer","sqlite","telegraf","telegram-bot"],"created_at":"2025-05-20T08:11:53.716Z","updated_at":"2026-03-02T10:31:00.381Z","avatar_url":"https://github.com/Dragodui.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OLX Item Notifier Bot\n\nA Node.js-based Telegram bot that monitors OLX listings and notifies you of new items automatically every hour.\n\n## Features\n\n* Monitors a specified OLX URL for new listings\n* Sends new items to your Telegram chat (with image, price, and link)\n* Supports Telegram commands:\n\n  * `/changeUrl \u003curl\u003e` — change the OLX URL being monitored\n  * `/getUrl` — get the current monitored URL\n* Stores last seen item and current URL in SQLite\n\n## Tech Stack\n\n* Node.js + ES Modules\n* Puppeteer (via `puppeteer-real-browser`) for scraping\n* SQLite for storage\n* Telegraf for Telegram bot\n* Winston for logging\n\n## Setup\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/yourname/olx-notifier-bot.git\n   cd olx-notifier-bot\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n3. **Create a `.env` file:**\n\n   ```env\n   BOT_TOKEN=your_telegram_bot_token\n   CHAT_ID=your_telegram_chat_id\n   OLX_URL=https://www.olx.pl/...\n   ```\n\n4. **Run the bot:**\n\n   ```bash\n   node index.js\n   ```\n\n## Notes\n\n* The bot checks for new listings every hour.\n* Make sure the OLX URL is valid and points to a listing page.\n* Telegram commands must be sent from the chat specified by `CHAT_ID`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdragodui%2Folx-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdragodui%2Folx-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdragodui%2Folx-telegram-bot/lists"}