{"id":19251885,"url":"https://github.com/dekal/costa-rewrite","last_synced_at":"2026-06-14T18:33:27.823Z","repository":{"id":96173781,"uuid":"232721450","full_name":"DeKal/costa-rewrite","owner":"DeKal","description":"Analyzing data return from public API of Costa Rewrite","archived":false,"fork":false,"pushed_at":"2020-01-14T02:43:45.000Z","size":19088,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T10:58:56.256Z","etag":null,"topics":["golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeKal.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":"2020-01-09T04:22:02.000Z","updated_at":"2020-01-14T02:43:46.000Z","dependencies_parsed_at":"2023-05-09T09:46:17.014Z","dependency_job_id":null,"html_url":"https://github.com/DeKal/costa-rewrite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeKal/costa-rewrite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeKal%2Fcosta-rewrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeKal%2Fcosta-rewrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeKal%2Fcosta-rewrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeKal%2Fcosta-rewrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeKal","download_url":"https://codeload.github.com/DeKal/costa-rewrite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeKal%2Fcosta-rewrite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34333806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":["golang"],"created_at":"2024-11-09T18:24:27.398Z","updated_at":"2026-06-14T18:33:27.807Z","avatar_url":"https://github.com/DeKal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Description\nAnalyzing data return from public API of Costa Rewrite\n\n### Prerequisite\n- Input CSV file\n- Default CSV file name `example_input.csv`\n- CSV file must have Header view sample file `example_input.csv`\n\n#### Run with Default param\n```\n./run.sh \n```\n\n#### Help\n```\n./run.sh --help\n\nUsage of ./costa-rewrite:\n  -country string\n    \tcountry filter for some specific word [HK, ID, MY, PH, SG, TW] (default \"SG\")\n  -file1 string\n    \tfile name 1 (default \"output\")\n  -file2 string\n    \tfile name 2 (default \"output-2\")\n  -inputName string\n    \tan Input name for reading data (default \"example_input.csv\")\n  -mode string\n    \tmode: [normal, compare] (default \"normal\")\n  -outputName string\n    \tan Output name for writing data (default \"output.csv\")\n  -rewriteHost string\n    \trewrite host (default \"http://localhost:9999\")\n```\n\n#### Run with custom param \n```\n./run.sh -country SG -inputName example_input.csv -outputName output.csv -rewriteHost rewrite-url-example.com\n```\n\n#### Run with compare mode \n```\n./run.sh -mode compare -file1 output-local-normal.csv -file2 output-local-remove.csv -outputName output.csv\n```\n\n\n#### Full usage for analyzing\n```\n# Run Costa in normal mode (rewrite + brand)\n./run.sh -country SG -inputName \"Search Autocorrect.csv\"  -outputName output-normal.csv\n\n# Run Costa when removing brand suggestion\n./run.sh -country SG -inputName \"Search Autocorrect.csv\"  -outputName output-remove.csv\n\n# Output for further analyzing\n./run.sh -mode compare -file1 output-normal.csv -file2 output-remove.csv -outputName output-staging.csv\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekal%2Fcosta-rewrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdekal%2Fcosta-rewrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekal%2Fcosta-rewrite/lists"}