{"id":37081678,"url":"https://github.com/lukasvinclav/django-nucleus","last_synced_at":"2026-01-14T09:55:49.887Z","repository":{"id":34245078,"uuid":"172188273","full_name":"lukasvinclav/django-nucleus","owner":"lukasvinclav","description":"Clean \u0026 minimal theme for Django admin with support for custom sidebar and already prepared dashboard components.","archived":false,"fork":false,"pushed_at":"2022-12-08T14:16:09.000Z","size":1884,"stargazers_count":63,"open_issues_count":9,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-29T12:45:05.396Z","etag":null,"topics":["admin","django","python"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/lukasvinclav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-23T08:03:17.000Z","updated_at":"2025-03-20T05:54:43.000Z","dependencies_parsed_at":"2023-01-15T05:45:31.161Z","dependency_job_id":null,"html_url":"https://github.com/lukasvinclav/django-nucleus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lukasvinclav/django-nucleus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasvinclav%2Fdjango-nucleus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasvinclav%2Fdjango-nucleus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasvinclav%2Fdjango-nucleus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasvinclav%2Fdjango-nucleus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukasvinclav","download_url":"https://codeload.github.com/lukasvinclav/django-nucleus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukasvinclav%2Fdjango-nucleus/sbom","scorecard":{"id":604098,"data":{"date":"2025-08-11","repo":{"name":"github.com/lukasvinclav/django-nucleus","commit":"f25c6d517ff0ecff0a3e50aa07d815f5b0e0e7ae"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"26 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-9v62-24cr-58cx","Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T01:11:03.926Z","repository_id":34245078,"created_at":"2025-08-21T01:11:03.927Z","updated_at":"2025-08-21T01:11:03.927Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"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":["admin","django","python"],"created_at":"2026-01-14T09:55:49.182Z","updated_at":"2026-01-14T09:55:49.878Z","avatar_url":"https://github.com/lukasvinclav.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Screenshot](https://github.com/lukasvinclav/django-nucleus/raw/master/screenshot-1.jpg)\n![Screenshot](https://github.com/lukasvinclav/django-nucleus/raw/master/screenshot-2.jpg)\n\n# django-nucleus\n\n![](https://img.shields.io/badge/Version-0.1.0-orange.svg?style=flat-square)\n![](https://img.shields.io/badge/Django-2.1+-green.svg?style=flat-square)\n![](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)\n\nDjango Nucleus is Django admin theme extending default admin CSS styles.\n\n## Getting started\n\n1. Installation\n\n```bash\npip install django-nucleus\n```\n\nor if you are using pipenv\n\n```bash\npipenv install django-nucleus\n```\n\n2. Add **nucleus** into **INSTALLED_APPS** in your settings file before **django.contrib.admin**.\n\n3. Update **context_processors** by adding new context processor **nucleus.context_processors.nucleus**\n\n## Nucleus settings\n\n```python\n_ = lambda s: s  # Translations in setting file\n\nNUCLEUS = {\n    'sidebar': {\n        # Title\n        'title': _('Custom title'),\n\n        # Footer\n        'footer': {\n            'title': _('Custom title'),\n            'description': _('Longer text displayed below the title'),\n        },\n\n        # Navigation\n        'navigation': {\n            # Application\n            'auth': {\n                'title': _('Accounts'),  # Override title\n                'icon': 'img/custom-icon.svg'  # Optional\n            },\n\n            # Model\n            'auth.User': {\n                'title': _('Users'),\n                'icon': 'img/custom-icon.svg'  # Optional\n            }        \n        }    \n    }\n}\n```\n\n## Custom dashboard page\n\n**apps.py**\n\n```python\nfrom django.contrib.admin.apps import AdminConfig\n\n\nclass AppAdminConfig(AdminConfig):\n    default_site = 'app.admin.AppAdmin'\n```\n\n**admin.py**\n\n```python\nfrom django.contrib.admin import AdminSite\n\n\nclass AppAdmin(AdminSite):\n    def index(self, request, extra_context=None):\n        # Update extra_context with new variables\n        return super().index(request, extra_context)\n```\n\n**settings.py**\n\n```python\nINSTALLED_APPS = [\n    'app.apps.AppAdminConfig',\n    # 'django.contrib.admin',    \n]\n```\n\n**templates/admin/index.html**\n\n```djangotemplate\n{% extends \"admin/base_site.html\" %}\n{% load i18n static %}\n\n{% block bodyclass %}{{ block.super }} dashboard{% endblock %}\n\n{% block breadcrumbs %}{% endblock %}\n\n{% block content %}\n \n{% endblock %}\n```\n\n## Components\n\n### Heading\n\n```python\nreturn render_to_string('nucleus/components/heading.html', {    \n    'title': 'Title,\n    'subtitle': 'Subtitle,\n    'image': 'img/image.png', # Optional image\n    'rounded': True, # Rounded corners, optional\n    'initials': 'LV', # Optional text of the image is not available\n    'background_color': 'red' # Optional background color\n})\n```\n\n### Stat item\n\n```python\nreturn render_to_string('nucleus/components/stat_item.html', {\n    value: '5269',\n    title: 'Units Sold',\n    subtitle: 'Avg. 351 per week', \n    label: '-12%',\n})\n```\n\n### Chart\n\n```python\nreturn render_to_string('nucleus/components/chart.html', {\n    series: '{\"labels\": [\"1\", \"2\", \"3\"], \"datasets\": [{\"data\": [1, 2, 3]}]}', # JSON object\n    height: 360,  # Optional \n})\n```\n\n### Signed number\n\n```python\nreturn render_to_string('nucleus/components/signed_number.html', {\n    'value': 21.87,  # Value which will be compared\n    'display': '$21.87 ',  # For example string with currency to display (django-money object)\n})\n```\n\n### Progress\n\n```python\nreturn render_to_string('nucleus/components/progress.html', {\n    'value': 32,  # Value in percent in this case it will be (style=\"width: 32%\")\n})\n```\n\n### Label\n\n```python\nreturn render_to_string('nucleus/components/progress.html', {\n    'title': _('Active'),\n    'class': 'success',  # Optional. Accepted values: success, info, error \n})\n```\n\n## User avatar\n\nTo display user avatar in top right corner before the currently signed user you can implement two methods in user model:\n\n- **get_initials**\n- **get_avatar**\n\n## Credits\n\n- [Feather](https://feathericons.com/)\n- [django-capture-tag](https://github.com/edoburu/django-capture-tag)\n- [Tailwind CSS](https://tailwindcss.com)\n- [Nunito](https://fonts.google.com/specimen/Nunito)\n- [Chart.js](https://www.chartjs.org/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasvinclav%2Fdjango-nucleus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukasvinclav%2Fdjango-nucleus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasvinclav%2Fdjango-nucleus/lists"}