{"id":15515864,"url":"https://github.com/f0rr0/youtuber","last_synced_at":"2025-09-02T15:03:08.837Z","repository":{"id":57404376,"uuid":"59562671","full_name":"f0rr0/youtuber","owner":"f0rr0","description":"Search YouTube with Levenshtein distances","archived":false,"fork":false,"pushed_at":"2018-08-05T02:03:48.000Z","size":19,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-30T00:38:41.357Z","etag":null,"topics":["levenshtein-distance","ramda","songs","youtube","youtube-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/f0rr0.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-24T10:11:53.000Z","updated_at":"2019-04-28T11:31:29.000Z","dependencies_parsed_at":"2022-09-08T14:31:08.870Z","dependency_job_id":null,"html_url":"https://github.com/f0rr0/youtuber","commit_stats":null,"previous_names":["sidjain26/youtuber"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/f0rr0/youtuber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Fyoutuber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Fyoutuber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Fyoutuber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Fyoutuber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f0rr0","download_url":"https://codeload.github.com/f0rr0/youtuber/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f0rr0%2Fyoutuber/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273301871,"owners_count":25081105,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"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":["levenshtein-distance","ramda","songs","youtube","youtube-api"],"created_at":"2024-10-02T10:04:39.176Z","updated_at":"2025-09-02T15:03:08.778Z","avatar_url":"https://github.com/f0rr0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## YouTuber\nSearch Youtube for songs based on title and artist. Get the best match based on Levenshtein distances.\n\n### Usage\n```\nnpm i -S youtuber\n```\n\nThe module exports a default curried function that takes 3 arguments namely: `api_key` string, the `callback` function and a `track` object with at least two keys (`title` and `artist`). The callback function is passed two arguments namely: `err` (if any or null) and the `youtubed track` (if successful or the track as is). The youtubed track has two new keys namely the `youtube_link` and the `youtube_images` object.\n\n```javascript\nimport youtuber from 'youtuber';\n\nconst client = youtuber('YOUR_API_KEY');\n\nconst random_track = {\n title: \"R U Mine?\",\n artist: \"Arctic Monkeys\"\n};\n\nconst log = (err, track) =\u003e {\n if (err) {\n  console.error(err);\n }\n else console.log(track);\n};\n\nclient(log, random_track);\n\n// { title: 'R U Mine?',\n//   artist: 'Arctic Monkeys',\n//   youtube_images:\n//    { default:\n//       { url: 'https://i.ytimg.com/vi/ngzC_8zqInk/default.jpg',\n//         width: 120,\n//         height: 90 },\n//      medium:\n//       { url: 'https://i.ytimg.com/vi/ngzC_8zqInk/mqdefault.jpg',\n//         width: 320,\n//         height: 180 },\n//      high:\n//       { url: 'https://i.ytimg.com/vi/ngzC_8zqInk/hqdefault.jpg',\n//         width: 480,\n//         height: 360 } },\n//   youtube_link: 'https://www.youtube.com/watch?v=ngzC_8zqInk'\n// }\n\n```\n\n##### Do listen to the song [https://www.youtube.com/watch?v=ngzC_8zqInk](https://www.youtube.com/watch?v=ngzC_8zqInk)\n\n### Develop\n```\ngit clone https://github.com/sidjain26/youtuber/\ncd youtuber\nnpm i\nnpm run build\nnpm run test \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0rr0%2Fyoutuber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff0rr0%2Fyoutuber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0rr0%2Fyoutuber/lists"}