{"id":19700199,"url":"https://github.com/dbeley/django-lastfm","last_synced_at":"2026-05-15T14:33:06.998Z","repository":{"id":41937884,"uuid":"247359955","full_name":"dbeley/django-lastfm","owner":"dbeley","description":"A simple django website with some handy lastfm tools.","archived":false,"fork":false,"pushed_at":"2025-01-19T23:33:53.000Z","size":154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T00:26:24.229Z","etag":null,"topics":["django","lastfm","lastfm-collage","lastfm-collage-generator"],"latest_commit_sha":null,"homepage":"https://lastfm-tools.dbeley.ovh","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/dbeley.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":"2020-03-14T22:02:48.000Z","updated_at":"2025-01-19T23:33:55.000Z","dependencies_parsed_at":"2025-01-20T00:22:31.417Z","dependency_job_id":"928621cb-b63f-4bd8-b7a1-51415aaef667","html_url":"https://github.com/dbeley/django-lastfm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fdjango-lastfm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fdjango-lastfm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fdjango-lastfm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fdjango-lastfm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbeley","download_url":"https://codeload.github.com/dbeley/django-lastfm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241014178,"owners_count":19894206,"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","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":["django","lastfm","lastfm-collage","lastfm-collage-generator"],"created_at":"2024-11-11T21:04:40.704Z","updated_at":"2026-05-15T14:33:06.994Z","avatar_url":"https://github.com/dbeley.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-lastfm\n\n\u003ca href=\"pictures/image.png\"\u003e\u003cimg src=\"pictures/image.png\" width=\"390\"/\u003e\u003c/a\u003e\n\nSimple django site acting as a frontend for:\n\n- [lastfm_cg](https://github.com/dbeley/lastfm_cg): Last.fm collage generator\n- [lastfm_pg](https://github.com/dbeley/lastfm_pg): Last.fm playlist generator\n- [lastfm-wordcloud](https://github.com/dbeley/lastfm-wordcloud): Last.fm wordcloud generator\n- [lastfm-scraper](https://github.com/dbeley/lastfm-scraper): Some lastfm scripts\n\n## Deployment Options\n\n### NixOS (Recommended for NixOS users)\n\nThis project includes a NixOS module for easy declarative deployment. See [NIXOS.md](NIXOS.md) for detailed instructions.\n\nQuick start with flakes:\n```bash\n# Development environment\nnix develop\n\n# Build the package\nnix build\n\n# Add to your NixOS configuration - see NIXOS.md and example-configuration.nix\n```\n\n### Docker\n\nUse the provided `docker-compose.yml` for containerized deployment. See the Docker section below for details.\n\n### Manual/Traditional Deployment\n\nFollow the configuration steps below using `.ini` files or environment variables.\n\n## Secrets\n\nTo run the website, you will need some config files.\n\n### secret.ini\n```\n[django]\nSECRET_KEY = secret_key_here\n```\n\n### config_lastfm.ini\n```\n[lastfm]\nusername=username_here\napi_key=api_key_here\napi_secret=api_secret_here\n```\n\n### .env file\n\n```\nREDIS_URL=redis://domain.tld\n# optional, for docker + traefik\nDEFAULT_NETWORK=traefik-network\nDOMAIN=domain.tld\nALLOWED_HOSTS='127.0.0.1 localhost domain.tld'\n```\n\n### Environment variables\n\nIf you can't use ini files (i.e. when deploying with heroku), you can use those environment variables:\n\n- `PYLAST_USERNAME`\n- `PYLAST_API_KEY`\n- `PYLAST_API_SECRET`\n- `DJANGO_SECRET_KEY`\n- `REDIS_URL`\n\n## Docker Deployment\n\nThe project includes Docker support with `Dockerfile` and `docker-compose.yml`:\n\n```bash\n# Build and run with docker-compose\ndocker-compose up -d\n```\n\nThis will start:\n- Redis container for Celery\n- Django web server with Gunicorn\n- Celery worker for background tasks\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fdjango-lastfm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbeley%2Fdjango-lastfm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fdjango-lastfm/lists"}