{"id":24364201,"url":"https://github.com/dirkluijk/text-to-playlist","last_synced_at":"2026-04-20T18:32:25.969Z","repository":{"id":270847489,"uuid":"911634446","full_name":"dirkluijk/text-to-playlist","owner":"dirkluijk","description":"Finds all Spotify tracks in a given text and adds them to a Spotify Playlist","archived":false,"fork":false,"pushed_at":"2025-01-05T15:09:46.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T09:44:30.508Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirkluijk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-01-03T13:35:23.000Z","updated_at":"2025-01-05T15:09:38.000Z","dependencies_parsed_at":"2025-03-12T09:53:30.011Z","dependency_job_id":null,"html_url":"https://github.com/dirkluijk/text-to-playlist","commit_stats":null,"previous_names":["dirkluijk/text-to-playlist"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/dirkluijk/text-to-playlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkluijk%2Ftext-to-playlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkluijk%2Ftext-to-playlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkluijk%2Ftext-to-playlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkluijk%2Ftext-to-playlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirkluijk","download_url":"https://codeload.github.com/dirkluijk/text-to-playlist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkluijk%2Ftext-to-playlist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32059759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":[],"created_at":"2025-01-18T23:51:37.485Z","updated_at":"2026-04-20T18:32:25.964Z","avatar_url":"https://github.com/dirkluijk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text to playlist 🎸\n\n[![JSR version](http://img.shields.io/jsr/v/@dirkluijk/text-to-playlist.svg)](https://jsr.io/@dirkluijk/text-to-playlist)\n[![Build status](https://github.com/dirkluijk/text-to-playlist/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/dirkluijk/text-to-playlist/actions/workflows/ci.yml)\n\nSimple CLI script written in Deno to sync Spotify tracks from a raw text to a Spotify playlist.\n\n## Usage\n\nInstall the script with [Deno]:\n\n[Deno]: https://docs.deno.com/runtime/getting_started/installation/\n\n```bash\ndeno install jsr:@dirkluijk/text-to-playlist --global --allow-net --allow-run \n```\n\nNow just run it:\n```bash\ntext-to-playlist \u003cinputFileOrText\u003e --playlist \u003cplaylistUrl\u003e\n```\n\nTo run the script without installing, run:\n```bash\ndeno run jsr:@dirkluijk/text-to-playlist \u003cinputFileOrText\u003e --playlist \u003cplaylistUrl\u003e\n```\n\n### Required permissions\n\n* `allow-net`: to make network requests to the Spotify Web API\n* `allow-run`: to open the browser for authorization\n* `allow-read`: to read the input file (optional)\n\n### Options\n\n```\n-h, --help                            - Show this help.                                                                  \n-V, --version                         - Show the version number for this program.                                        \n-P, --playlist         \u003cplaylistUrl\u003e  - The Spotify Playlist URL to add to tracks to                      (required)     \n-D, --debug                           - Outputs debugging logs                                                           \n--remove-duplicates    [flag]         - Whether to filter out duplicates from input                       (Default: true)\n--remove-other-tracks  [flag]         - Whether to remove tracks from playlist that do not exit in input  (Default: false)\n```\n\n## Programmatic usage\n\nTo use this library in Deno, install it from JSR:\n\n```bash\ndeno add jsr:@dirkluijk/text-to-playlist\n```\n\n```typescript\nimport { textToPlaylist } from \"@dirkluijk/text-to-playlist\";\n\nawait textToPlaylist(\"some text or file\", \"link to playlist\");\n```\n\nCheck out the [API docs here](https://jsr.io/@dirkluijk/text-to-playlist/doc).\n\n## Contributors\n\n- [@dirkluijk](https://github.com/dirkluijk) - Deno fork\n- [@janluijk](https://github.com/janluijk) - original Python implementation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkluijk%2Ftext-to-playlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirkluijk%2Ftext-to-playlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkluijk%2Ftext-to-playlist/lists"}