{"id":27154524,"url":"https://github.com/robertjmarlow/playlist-word-cloud-generator","last_synced_at":"2026-04-29T00:34:15.861Z","repository":{"id":228904505,"uuid":"771290721","full_name":"robertjmarlow/playlist-word-cloud-generator","owner":"robertjmarlow","description":"Creates a word cloud from all the lyrics in a specified playlist","archived":false,"fork":false,"pushed_at":"2024-11-20T01:41:01.000Z","size":357,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T17:51:49.249Z","etag":null,"topics":["genius-api","java","spotify-api","spring"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertjmarlow.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-03-13T02:52:35.000Z","updated_at":"2024-11-20T01:41:05.000Z","dependencies_parsed_at":"2024-03-21T03:24:28.621Z","dependency_job_id":"3c4e3c14-8624-4454-a89f-cd5229e3521e","html_url":"https://github.com/robertjmarlow/playlist-word-cloud-generator","commit_stats":null,"previous_names":["robertjmarlow/playlist-word-cloud-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertjmarlow/playlist-word-cloud-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertjmarlow%2Fplaylist-word-cloud-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertjmarlow%2Fplaylist-word-cloud-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertjmarlow%2Fplaylist-word-cloud-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertjmarlow%2Fplaylist-word-cloud-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertjmarlow","download_url":"https://codeload.github.com/robertjmarlow/playlist-word-cloud-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertjmarlow%2Fplaylist-word-cloud-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: 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":["genius-api","java","spotify-api","spring"],"created_at":"2025-04-08T17:36:00.762Z","updated_at":"2026-04-29T00:34:15.848Z","avatar_url":"https://github.com/robertjmarlow.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playlist Word Cloud Generator\n\nCreates a word cloud from all the lyrics in a specified playlist.\n\n## Building\n\nJDK 21+ is needed.\n\n### Windows\n\n```shell\ngradle bootJar\n```\n\n### MacOS\n\n```shell\n./gradlew bootJar\n```\n\n## Running\n\nSeveral environment variables need to be set to retrieve oauth tokens.\n\n### Spotify Auth\n\nSteps to set this up can be found in [Spotify's documentation](https://developer.spotify.com/documentation/web-api/tutorials/getting-started).\n\nAfter that's done, set the client id and client secret as environment variables:\n\n- `SPOTIFY_CLIENT_ID`\n- `SPOTIFY_CLIENT_SECRET`\n\n### Genius Auth\n\nSteps to set this up can be found in [Genius' documentation](https://docs.genius.com/#/getting-started-h1).\n\nAfter that's done, set the client access token as an environment variable:\n\n- `GENIUS_CLIENT_ACCESS_TOKEN`\n\n### Command line\n\nThe bootable jar will end up at `./build/libs/playlistwordcloudgenerator-0.0.1-SNAPSHOT.jar`. Therefore, run this with:\n\n```shell\njava -jar ./build/libs/playlistwordcloudgenerator-0.0.1-SNAPSHOT.jar\n```\n\nAs an example with an actual playlist id (which is required):\n\n```shell\njava -jar ./build/libs/playlistwordcloudgenerator-0.0.1-SNAPSHOT.jar 2O7Bd3hKzlaF8IjhGmMzo4\n```\n\n### Output\n\nA word cloud will end up in the `./generated-wordclouds` directory with a filename of: `wordcloud-PlayListName.png`.\n\n#### These end up looking weird\n\nThis project leverages the [Kumo Word Cloud Generator](https://github.com/kennycason/kumo). The parameters to it are [over in this method](https://github.com/robertjmarlow/playlist-word-cloud-generator/blob/77920d0e4c1056d295bfa833de447f097713d005/src/main/java/com/marlowsoft/playlistwordcloudgenerator/wordcloud/WordCloudGeneratorImpl.java#L18). I normally mess around with the `frequencyAnalyzer.setWordFrequenciesToReturn` (which sets the maximum amount of words to fit into the word cloud) and/or the `wordCloud.setFontScalar(new SqrtFontScalar(10, 60))` (which sets the min / max word size based on the frequency of words). It normally takes a few tires.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertjmarlow%2Fplaylist-word-cloud-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertjmarlow%2Fplaylist-word-cloud-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertjmarlow%2Fplaylist-word-cloud-generator/lists"}