GSoC 2025 Proposal Draft: Modernizing Static Files Handling (AST/PATH ALIASES/CSS). Feedback Needed

Dear Django Community,

Following our previous discussion about improving ManifestStaticFilesStorage (original thread), I’ve formalized my GSoC 2025 proposal to address these key challenges:

  1. Problem Space:
  1. Proposed Solution:
# Opt-in modern engine
STATICFILES_ENGINE = "ast"  # esbuild-based parsing
STATICFILES_ALIASES = {"@": "node_modules/"}
  1. Key Deliverables:
  • AST parser (replacing regex)
  • Configurable path resolution
  • PostCSS integration (source maps)
  • 100% backward compatibility

Full Proposal:
[GitHub Gist] (includes technical deep dive + timeline)

Why This Matters:

  • Solves long-standing pain points for Django + modern frontends
  • Complements (rather than replaces) current system
  • Builds on my previous work on #32849 (PR19322)

Requesting Feedback On:

  1. Priority order: Should CSS source maps come before path aliases?
  2. Integration approach: Is STATICFILES_ENGINE the right opt-in mechanism?
  3. Mentorship availability: Would core devs be available for weekly check-ins?

About Me:
Master’s student in Software Engineering with production Django experience (AWS/Heroku). Contributed to Django core via #32849 fix.