{"id":24837240,"url":"https://github.com/letieu/ads-transparency-craw","last_synced_at":"2025-03-26T04:14:00.818Z","repository":{"id":215561932,"uuid":"737584292","full_name":"letieu/ads-transparency-craw","owner":"letieu","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-23T04:42:09.000Z","size":207,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T05:53:35.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/letieu.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}},"created_at":"2023-12-31T16:14:28.000Z","updated_at":"2024-07-23T09:48:57.000Z","dependencies_parsed_at":"2024-01-23T05:47:59.462Z","dependency_job_id":null,"html_url":"https://github.com/letieu/ads-transparency-craw","commit_stats":null,"previous_names":["letieu/ads-transparency-craw"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letieu%2Fads-transparency-craw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letieu%2Fads-transparency-craw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letieu%2Fads-transparency-craw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letieu%2Fads-transparency-craw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letieu","download_url":"https://codeload.github.com/letieu/ads-transparency-craw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245585813,"owners_count":20639671,"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":[],"created_at":"2025-01-31T05:53:40.092Z","updated_at":"2025-03-26T04:14:00.800Z","avatar_url":"https://github.com/letieu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crawl adstransparency.google.com\n\n## Run local development server\n\n- Setup\n\n```bash\nnpm install\n\ncp .env.example .env # and edit\n\n# Start cronicle\ndocker compose -f compose-dev.yaml up cronicle\n\n# Login to cronicle to create API key (http://localhost:3012), default user/pass: admin/admin\n\n# Init cronicle events\nAPI_KEY=xxx CRAWLER_HOST=http://host.docker.internal:3000 ./init-cronicle_events.sh\n\n# Update .env file: CRONICLE_CRAWL_EVENT_ID, CRONICLE_API_KEY\n\n```\n\n- Start development server\n\n```bash\ndocker compose -f compose-dev.yaml up -d\nnpm run start\n```\n\n## Run production server\n\n- Setup and run\n\n```bash\ncp .env.example .env\n\n# Start cronicle\ndocker compose -f compose-prod.yaml up cronicle\n\n# Login to cronicle to create API key (http://localhost:3012), default user/pass: admin/admin\n\n# Init cronicle events\nAPI_KEY=xxx ./init-cronicle_events.sh\n\n# Update .env file: CRONICLE_CRAWL_EVENT_ID, CRONICLE_CRAWL_DOMAIN_EVENT_ID, CRONICLE_API_KEY and database details\n\n# Start production server\ndocker compose -f compose-prod.yaml up -d\n\n# Check logs\ndocker compose -f compose-prod.yaml logs crawler -f\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletieu%2Fads-transparency-craw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletieu%2Fads-transparency-craw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletieu%2Fads-transparency-craw/lists"}