{"id":14986775,"url":"https://github.com/andreyfedoseev/django-static-precompiler","last_synced_at":"2025-05-16T18:06:40.988Z","repository":{"id":633997,"uuid":"13348441","full_name":"andreyfedoseev/django-static-precompiler","owner":"andreyfedoseev","description":"Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars. It works with both inline code and external files.","archived":false,"fork":false,"pushed_at":"2024-10-05T09:24:01.000Z","size":566,"stargazers_count":223,"open_issues_count":13,"forks_count":60,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-13T05:43:10.235Z","etag":null,"topics":["babel","coffeescript","django","handlebars","lesscss","livescript","python","sass","scss","stylus"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreyfedoseev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-10-05T16:34:19.000Z","updated_at":"2025-03-13T08:34:27.000Z","dependencies_parsed_at":"2024-06-18T16:58:48.180Z","dependency_job_id":"036d2c4c-fbb6-4106-b862-b933746c4183","html_url":"https://github.com/andreyfedoseev/django-static-precompiler","commit_stats":{"total_commits":364,"total_committers":19,"mean_commits":"19.157894736842106","dds":"0.34065934065934067","last_synced_commit":"26fab45478edbe7d001fb4cd5694157d96ee6f9d"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreyfedoseev%2Fdjango-static-precompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreyfedoseev%2Fdjango-static-precompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreyfedoseev%2Fdjango-static-precompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreyfedoseev%2Fdjango-static-precompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreyfedoseev","download_url":"https://codeload.github.com/andreyfedoseev/django-static-precompiler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253891784,"owners_count":21979856,"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":["babel","coffeescript","django","handlebars","lesscss","livescript","python","sass","scss","stylus"],"created_at":"2024-09-24T14:13:31.040Z","updated_at":"2025-05-16T18:06:40.966Z","avatar_url":"https://github.com/andreyfedoseev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!IMPORTANT]\n\u003e **django-static-precomiler** is looking for a new maintainer! See https://github.com/andreyfedoseev/django-static-precompiler/issues/170 for details.\n\n## Django Static Precompiler\n\nDjango Static Precompiler provides template tags and filters to compile\nCoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and\nHandlebars. It works with both inline code and external files.\n\n[![Build Status](https://github.com/andreyfedoseev/django-static-precompiler/workflows/CI/badge.svg)](https://github.com/andreyfedoseev/django-static-precompiler/actions?query=workflow%3ACI)\n[![Documentation](https://readthedocs.org/projects/django-static-precompiler/badge/)](https://django-static-precompiler.readthedocs.io/)\n\n### Documentation\n\nDocumentation is available at\n\u003chttps://django-static-precompiler.readthedocs.io\u003e.\n\n### Install\n\n```sh\npip install django-static-precompiler\n```\n\n### Use in templates\n\n```html\n{% load compile_static %}\n{% load static %}\n\n\u003cscript src=\"{% static \"path/to/script.coffee\"|compile %}\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"{% static \"path/to/styles1.less\"|compile %}\" /\u003e\n\u003clink rel=\"stylesheet\" href=\"{% static \"path/to/styles2.scss\"|compile %}\" /\u003e\n```\n\n### Use in Python\n\n```python\n\u003e\u003e\u003e from static_precompiler.utils import compile_static\n\u003e\u003e\u003e compile_static(\"styles.scss\")\n\"COMPILED/styles.css\"\n```\n\n### Python \u0026 Django compatibility\n\n| django-static-precompiler | Python | Django     |\n|---------------------------|--------|------------|\n| 2.2+                      | 3.6+   | 2.0 - 4.1  |\n| 2.1                       | 3.6+   | 2.0 - 4.0  |\n| 2.0                       | 3.4+   | 1.9 - 3.2  |\n| 1.7-1.8                   | 2.7+   | 1.7 - 2.2  |\n| 1.6                       | 2.7+   | 1.7 - 1.11 |\n| 1.5                       | 2.7+   | 1.6 - 1.10 |\n| 1.1-1.4                   | 2.7+   | 1.6 - 1.9  |\n| 1.0                       | 2.7+   | 1.6 - 1.7  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreyfedoseev%2Fdjango-static-precompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreyfedoseev%2Fdjango-static-precompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreyfedoseev%2Fdjango-static-precompiler/lists"}