{"id":37175914,"url":"https://github.com/2beens/spotilizer","last_synced_at":"2026-01-14T20:32:02.439Z","repository":{"id":142555440,"uuid":"185876432","full_name":"2beens/spotilizer","owner":"2beens","description":"Study Go through using Spotify API \u0026 Redis to manage personal playlists, tracks, etc. :flashlight:","archived":false,"fork":false,"pushed_at":"2020-04-30T07:19:47.000Z","size":762,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T09:13:52.172Z","etag":null,"topics":["api","go","golang","server","spotify","web"],"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/2beens.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":"2019-05-09T21:50:25.000Z","updated_at":"2024-06-19T07:59:59.822Z","dependencies_parsed_at":"2023-07-08T16:45:41.155Z","dependency_job_id":null,"html_url":"https://github.com/2beens/spotilizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/2beens/spotilizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2beens%2Fspotilizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2beens%2Fspotilizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2beens%2Fspotilizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2beens%2Fspotilizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2beens","download_url":"https://codeload.github.com/2beens/spotilizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2beens%2Fspotilizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["api","go","golang","server","spotify","web"],"created_at":"2026-01-14T20:32:01.839Z","updated_at":"2026-01-14T20:32:02.420Z","avatar_url":"https://github.com/2beens.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :notes: spotilizer\n[![Build Status](https://travis-ci.com/2beens/spotilizer.svg?branch=master)](https://travis-ci.com/2beens/spotilizer)\n[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/Naereen/StrapDown.js/blob/master/LICENSE)\n![golangci-lint](https://github.com/golangci/golangci-web/blob/master/src/assets/images/badge_a_plus_flat.svg \"Using GolangCI Lint\")\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-no-red.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![made-for-VSCode](https://img.shields.io/badge/Made%20for-VSCode-1f425f.svg)](https://code.visualstudio.com/)\n\nStudy **golang** through using **Spotify API** and **Redis**.\n\nA small project which aims to help managing personal Spotify lists and tracks, but mostly to do what I love to do and study **Go** in the process.\n\nCame to my mind that I could find this useful, having a history/snapshots of my Spotify Data, because a lot of times it hapens that I screw up my lists (by removing a song from fav songs list), without ability to undo the operation, and also not remembering the name of the removed song. Sadly, Spotify Desktop/Browser Client App does not have undo for that operation. Also, in the future, it can be made to transfer playlists from other Music Services like Deezer, YouTube, etc.\n\n## :wrench: Install \u0026 Run\n\n### :one: Set Spotify App\nMake sure you have a **Spotify App**, through which `spotilizer` interacts with Spotify API. That goes out of this scope, so not gonna explain that here. It's all nicelly explained at this location:\n\nhttps://developer.spotify.com/documentation/web-api/\n\nAfter Spotify App is created, now we need to 2 set `env. variables` like so:\n```sh\nexport SPOTIFY_CLIENT_ID=\u003cyour_spotify_app_client_id_here\u003e\nexport SPOTIFY_CLIENT_SECRET=\u003cyour_spotify_app_client_secret_here\u003e\n```\n\n### :two: Redis - install and start service\nMake sure `Redis` is installed, up and running. See: https://redis.io/\n\nMaybe more convenient, you can also install and run it using `brew`:\n``` sh\nbrew install redis\n```\nThen just run the service :\n``` sh\nbrew services start redis\n```\n\nSpotilizer uses default Redis setup, so just starting the service is enough.\n\n### :three: Get Spotilizer\nMake sure `golang` is properly installed and set: https://golang.org/doc/install\n\n``` sh\ngo get github.com/2beens/spotilizer`\ncd $GOPATH/src/github.com/2beens/spotilizer`\ngo get ./...\n```\n\nNext, we need to get frontend dependencies via PMS `yarn`, which should be installed on your machine: https://yarnpkg.com/en/docs/install\n\nWe are still in the spotilizer project dir, now run:\n``` sh\nyarn install\n```\n\n### :four: Run Spotilizer\n\n``` sh\ngo install\nspotilizer\n```\n\nBy default, logger output is terminal (can be changed to file. see source code `main.go` for more info).\n\n### :five: Web Client\n:point_right: Open browser (Chrome, ofc) and go to: http://localhost:8080\n\n:point_right: Click at just about anything you see there :collision:\n\n:point_right: Observe terminal output for what happens in the server\n\n## :mag_right: Testing, Static code analysis ...\n#### Linter\n`golangci-lint` is used. Make sure it's installed: [GolangCI Lint Installation](https://github.com/golangci/golangci-lint#install). \n\nRun it like so:\n``` sh\ngolangci-lint run\n```\n\n#### Unit Tests\nStill work in progress, thus not many unit tests exists. Nevertheless:\n``` sh\ngo test -v -cover ./...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2beens%2Fspotilizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2beens%2Fspotilizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2beens%2Fspotilizer/lists"}