{"id":20722051,"url":"https://github.com/e-lie/funkdl","last_synced_at":"2025-10-09T21:41:00.284Z","repository":{"id":67413779,"uuid":"443666842","full_name":"e-lie/funkdl","owner":"e-lie","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-02T16:06:33.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T23:32:47.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e-lie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-01-02T02:41:08.000Z","updated_at":"2022-01-03T12:36:27.000Z","dependencies_parsed_at":"2023-06-11T01:15:42.757Z","dependency_job_id":null,"html_url":"https://github.com/e-lie/funkdl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/e-lie/funkdl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-lie%2Ffunkdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-lie%2Ffunkdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-lie%2Ffunkdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-lie%2Ffunkdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-lie","download_url":"https://codeload.github.com/e-lie/funkdl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-lie%2Ffunkdl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002054,"owners_count":26083286,"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-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2024-11-17T03:33:59.725Z","updated_at":"2025-10-09T21:41:00.280Z","avatar_url":"https://github.com/e-lie.png","language":"Python","funding_links":[],"categories":["[🌐 decentralize](https://github.com/stars/ketsapiwiq/lists/decentralize)"],"sub_categories":[],"readme":"\n# FunkDL\n\nFunkDL integrates Funkwhale with SpotDL music gathering from spotify links : automatically download and reupload content to funkwhale creating/updating a playlist.\n\nTo use it, you need spotdl installed in PATH and an account on a Funkwhale pod (instance) with upload rights.\n\n## Installation\n\n- Clone this repository.\n- Install SpotDL (look at their github README)\n- Install python dependencies from `requirements.txt` in a virtualenv. For example:\n    - `python3 -m venv`\n    - `source venv/bin/activate`\n    - `pip install -r requirements.txt`\n- Create an application authentication token by visiting your account settings on the funkwhale instance.\n- Also get the library identifier of the funkwhale library you want to upload to (for example by visiting the library page on instance looking for uuid like `a2114f40-aef6-4d1b-926d-d9fy5c928388` in the web url)\n- FIRST DUPLICATE `cli_env.dist` into `cli_env` THEN (to avoid leaking your token through git) complete `cli_env` with preceding token, library id and funkwale base url (`https://your.funkwhale.io/`)\n- Create environment parameters by sourcing `cli_env`: `source cli_env`.\n- Use then `./funkdl '\u003cspotify_url\u003e'`.\n\nHopefully I'll find time soon to package this properly (to avoid this long dev installation).\n\nI would be great to transform this integration into a Funkwhale source plugin.\n\n## Usage\n\n```\nFunkDL. Funkwhale SpotDL integration to ease music gathering.\n\nUsage:\n  funkdl '\u003cspotify_url\u003e'  [--no-delete] [--no-playlist] [--no-upload] [--funkwhale-url=\u003cfunkwhale_url\u003e] [--funkwhale-token=\u003cfunkwhale_token\u003e] [--library-id=\u003clibrary_id\u003e] [--playlist-name=\u003cplaylist_name\u003e]\n\nOptions:\n  -h --help                             Show this screen.\n  --funkwhale-url=\u003cfunkwhale_url\u003e       Specify funkwhale instance url to upload to [default: FUNKWHALE_URL].\n  --funkwhale-token=\u003cfunkwhale_token\u003e   Authentication token (you need to create an app see funkwhale doc) [default: FUNKWHALE_TOKEN].\n  --library-id=\u003clibrary_id\u003e             The funkwhale library to upload music into. [default: FUNKWHALE_LIBRARY_ID].\n  --playlist-name=\u003cplaylist_name\u003e       Override playlist name from spotify by your own.\n  --no-playlist                         Don't create playlist for the uploaded content. \n  --no-delete                           Avoid final deletion of downloaded audio files.\n  --no-upload                           Only add locally listed (m3u) files to playlist avoiding download and upload of files.\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-lie%2Ffunkdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-lie%2Ffunkdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-lie%2Ffunkdl/lists"}