{"id":18525681,"url":"https://github.com/a-know/goramoph","last_synced_at":"2025-07-06T22:34:43.184Z","repository":{"id":22848221,"uuid":"26195580","full_name":"a-know/goramoph","owner":"a-know","description":"Tool to transfer the play history of iTunes to BigQuery","archived":false,"fork":false,"pushed_at":"2015-04-18T06:00:22.000Z","size":588,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T03:45:33.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/a-know.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}},"created_at":"2014-11-05T00:37:38.000Z","updated_at":"2015-04-18T06:00:20.000Z","dependencies_parsed_at":"2022-08-21T03:40:28.879Z","dependency_job_id":null,"html_url":"https://github.com/a-know/goramoph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-know/goramoph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-know%2Fgoramoph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-know%2Fgoramoph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-know%2Fgoramoph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-know%2Fgoramoph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-know","download_url":"https://codeload.github.com/a-know/goramoph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-know%2Fgoramoph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259981477,"owners_count":22941149,"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":"2024-11-06T17:46:42.139Z","updated_at":"2025-06-15T13:08:24.141Z","avatar_url":"https://github.com/a-know.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goramoph\n## About\n`goramoph` is a tool to load the play history of iTunes to BigQuery.\n\n\n## Prepare\n1. Download the `Google Cloud SDK` and dispense the authentication.\n    * https://cloud.google.com/sdk/\n        * FYI http://qiita.com/yuko/items/1c4ee5b081c5b6a3ac8a\n    * if you use `zsh`, see also http://tsukaby.com/tech_blog/archives/482\n    * Following the approval authority is the minimum required\n        * `Google Cloud Storage`\n        * `Google BigQuery`\n2. Create Project for goramoph\n\t* Access https://console.developers.google.com/ and signin.\n\t* Click [Create Project] and create Project.\n\t\t* Please specify `goramoph` in `Project Name`.\n\t\t* Please specify unique string in `Project ID`. (ex. a-know-goramoph)\n\t\t\t* You have to enable billing settings.\n3. Project Setting\n\t* `$ gcloud config set project \u003cproject-id\u003e`\n\t\t* ex. `$ gcloud config set project a-know-goramoph`\n\n\n## How to use\n`$ go run goramoph.go [path to iTunes Music Library.xml]`\n\n\n## Goramoph's behavior\n1. Parse `iTunes Music Library.xml`.\n2. Parsing result is export to `./csv` as csv file.\n    * Csv file name is `./csv/\u003clast-modify-date\u003e.csv`\n3. Upload csv file to `Google Cloud Storage`.\n    * Bucket name is `\u003cproject-id\u003e-csv`\n4. Load csv file contents to `Google BigQuery` dataset and table.\n    * Dataset name is `\u003cproject-id\u003e_ds`\n    * table name is `\u003clast-modify-date\u003e`\n5. Remove uploaded csv file.\n\n\n## Notes\n* `Google Cloud Storage` and `Google BigQuery` are require billing setting. \n* Absolutely I do not know anything about your billing amounts.\n\n\n## License\nThis software is released under the MIT License, see LICENSE.txt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-know%2Fgoramoph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-know%2Fgoramoph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-know%2Fgoramoph/lists"}