{"id":21201778,"url":"https://github.com/andre-carbajal/navidiscounts","last_synced_at":"2025-03-14T22:26:25.951Z","repository":{"id":263718180,"uuid":"889560676","full_name":"andre-carbajal/NaviDiscounts","owner":"andre-carbajal","description":"NaviDiscounts is a telegram bot that helps you find discounts on your favorite products on certain websites.","archived":false,"fork":false,"pushed_at":"2024-12-30T21:24:34.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T14:47:48.288Z","etag":null,"topics":["jsoup","jsoup-html","jsoup-library","kotlin","selenium","selenium-java","selenium-webdriver","spring","spring-boot","spring-kotlin","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andre-carbajal.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}},"created_at":"2024-11-16T16:33:14.000Z","updated_at":"2024-12-30T21:23:14.000Z","dependencies_parsed_at":"2024-12-30T22:22:41.263Z","dependency_job_id":"f9779968-2767-4498-a7b4-cbd8ef65ba03","html_url":"https://github.com/andre-carbajal/NaviDiscounts","commit_stats":null,"previous_names":["andre-carbajal/navidiscounts"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviDiscounts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviDiscounts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviDiscounts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andre-carbajal%2FNaviDiscounts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andre-carbajal","download_url":"https://codeload.github.com/andre-carbajal/NaviDiscounts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243654498,"owners_count":20325913,"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","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":["jsoup","jsoup-html","jsoup-library","kotlin","selenium","selenium-java","selenium-webdriver","spring","spring-boot","spring-kotlin","telegram-bot","telegram-bot-api"],"created_at":"2024-11-20T20:11:06.482Z","updated_at":"2025-03-14T22:26:25.932Z","avatar_url":"https://github.com/andre-carbajal.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NaviDiscounts\n\nNaviDiscounts is a telegram bot that helps you find discounts on your favorite products on certain websites.\n\n## Technologies\n\n- [Kotlin](https://kotlinlang.org/)\n- [Java Telegram](https://github.com/rubenlagus/TelegramBots)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Jsoup](https://jsoup.org/)\n- [Selenium](https://www.selenium.dev/)\n\n## Supported Websites\n\n- [Mifarma](https://www.mifarma.com.pe/)\n- [InkaFarma](https://inkafarma.pe/)\n\n## Commands\n\n- `/start` - Get the list of commands.\n- `/add` - Add a URL to the list of requests.\n- `/delete` - Delete a URL from the list of requests.\n- `/list` - Get the list of requests.\n- `/stop` - Stop receiving product information and delete all added products.\n- `/exe` - Execute the [scheduler](src/main/kotlin/net/andrecarbajal/telegramdiscountsbot/bot/Scheduler.kt).\n\n## How to build\n\n### Production mode\n\nRun the project in production mode with the following command:\n\n   ```bash\n   java -jar build/libs/NaviDiscounts-{version}.jar \\\n    --spring.profiles.active=prod \\\n    --spring.datasource.url=jdbc:postgresql://{YOUR_DATABASE_HOST}:{YOUR_DATABASE_PORT}/{YOUR_DATABASE_NAME} \\\n    --spring.datasource.username={YOUR_DATABASE_USERNAME} \\\n    --spring.datasource.password={YOUR_DATABASE_PASSWORD} \\\n    --spring.bot.token=${TELEGRAM_BOT_TOKEN} \\\n    --spring.bot.scheduler.enabledExeCommand={false|true} \\\n    --spring.bot.scheduler.timeZone={TIME_ZONE:UTC} \\\n    --spring.bot.scheduler.executionTime={EXECUTION_TIME:00:00}\n   ```\n\n### Development Mode\n\nRun the project in development mode with the following command:\n\n   ```bash\n   java -jar build/libs/NaviDiscounts-{version}.jar \\\n    --spring.bot.token=${TELEGRAM_BOT_TOKEN} \\\n    --spring.bot.scheduler.timeZone={TIME_ZONE:UTC} \\\n    --spring.bot.scheduler.executionTime={EXECUTION_TIME:00:00}\n   ```\n\n## how to use\n\n1. Add the bot to your telegram account\n2. Send the command `/start` to the bot\n3. Send the command `/add` to the bot\n4. Send the URL of the product you want to track\n5. Wait for the bot to send you a message with the discount information\n6. If you want a command to execute the scheduler, you can enable it withe the `enabledExeCommand` parameter\n7. Enjoy!\n\n## Contributions\n\nIf you want to contribute to the project, you can create a pull request with the changes you want to make. If you have\nany questions or issue, you can create an [issue](https://github.com/andre-carbajal/NaviDiscounts/issues).\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandre-carbajal%2Fnavidiscounts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandre-carbajal%2Fnavidiscounts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandre-carbajal%2Fnavidiscounts/lists"}