{"id":49118905,"url":"https://github.com/wingsum93/dropit-fetcher-kt","last_synced_at":"2026-04-21T09:35:49.129Z","repository":{"id":336262712,"uuid":"1148664121","full_name":"wingsum93/dropit-fetcher-kt","owner":"wingsum93","description":"https://www.dropit.bm/ for fetch prices ","archived":false,"fork":false,"pushed_at":"2026-02-03T19:46:03.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-04T05:10:14.293Z","etag":null,"topics":["dropit","kotlin","ktor"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/wingsum93.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-03T08:15:52.000Z","updated_at":"2026-02-03T19:46:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wingsum93/dropit-fetcher-kt","commit_stats":null,"previous_names":["wingsum93/dropit-fetcher-kt"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/wingsum93/dropit-fetcher-kt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingsum93%2Fdropit-fetcher-kt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingsum93%2Fdropit-fetcher-kt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingsum93%2Fdropit-fetcher-kt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingsum93%2Fdropit-fetcher-kt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wingsum93","download_url":"https://codeload.github.com/wingsum93/dropit-fetcher-kt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingsum93%2Fdropit-fetcher-kt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32085746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["dropit","kotlin","ktor"],"created_at":"2026-04-21T09:35:48.192Z","updated_at":"2026-04-21T09:35:49.115Z","avatar_url":"https://github.com/wingsum93.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dropit fetcher kt\nDropit fetcher kt is a kotlin fetcher to fetch product prices in https://www.dropit.bm/. \n\n\n## Project overview \nthis project is divided into 2 parts:\nFirst part, to fetch the price of diff products and using parser to parse info.\nSecond part, it save into postgresql db (if connected) or to json files for human evaluvate.\n\n\n\n## Tech relate stuff\nDropit is use api.freshop.ncrcloud.com as backend service, which is owned by NCR Voyix Freshop.\nWe can find the api spec in https://developer.ncrvoyix.com/portals/dev-portal/api-explorer/details/1186/documentation\nBut in this project, we would only focus on the product list and department list.\n\n## Configuration\nYou can provide a `.env` file to configure the temp output folder used when saving JSON responses and Postgres connection info.\n\nExample:\n```\nTEMP_FOLDER=./temp\nPOSTGRES_HOST=localhost\nPOSTGRES_PORT=5432\nPOSTGRES_DB=dropit\nPOSTGRES_USER=dropit_user\nPOSTGRES_PASSWORD=dropit_password\n```\n\n### Environment variables\n- `TEMP_FOLDER`: directory where JSON snapshots are written locally.\n- `POSTGRES_HOST`: Postgres hostname (required to enable database writes).\n- `POSTGRES_PORT`: Postgres port.\n- `POSTGRES_DB`: Postgres database name.\n- `POSTGRES_USER`: Postgres username.\n- `POSTGRES_PASSWORD`: Postgres password.\n\n## Docker\nBuild the image:\n```\ndocker build -t dropit-fetcher-kt .\n```\n\nRun the container (no ports are exposed because this is a CLI job):\n```\ndocker run --rm --env-file .env dropit-fetcher-kt\n```\n\nIf you prefer, you can mount a local `.env` file into the container instead:\n```\ndocker run --rm -v \"$PWD/.env:/app/.env:ro\" dropit-fetcher-kt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingsum93%2Fdropit-fetcher-kt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwingsum93%2Fdropit-fetcher-kt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingsum93%2Fdropit-fetcher-kt/lists"}