#templating #system #modular #scaffolding #user-defined

anvil

Anvil is a modular templating system for creating user-defined scaffolding systems

4 releases

0.2.2 Jan 26, 2025
0.2.1 Jan 26, 2025
0.1.1 Oct 29, 2024
0.1.0 Oct 20, 2024

#158 in Template engine

Download history 9/week @ 2024-11-13 11/week @ 2024-11-20 7/week @ 2024-12-04 15/week @ 2024-12-11 4/week @ 2024-12-18 5/week @ 2024-12-25 5/week @ 2025-01-08 175/week @ 2025-01-22 60/week @ 2025-01-29 20/week @ 2025-02-05 14/week @ 2025-02-12 30/week @ 2025-02-19 63/week @ 2025-02-26

137 downloads per month
Used in vapour

MIT license

21KB
391 lines

Anvil

Anvil is a modular templating system for creating user-defined scaffolding systems.

Ethos

  • Configuration in code.
  • Interchangeable components.
  • The library provides the building blocks, not the solutions.

Inspiration:

Goals

  1. Modularity: Provide a structure where modules can be created, extended, and reused without tight coupling.
  2. Extensibility: Allow users to define their custom behaviors and integrate new modules with minimal effort.
  3. Configurability: Ensure that the system can be configured programmatically, providing users with complete control over their generated code structure and dependencies.
  4. Scalability: Support projects of varying sizes and complexities without sacrificing performance or usability.
  5. Minimal Coupling: Avoid creating a central module that ties everything together, ensuring that modules remain independent.

Dependencies

~3.5–5.5MB
~98K SLoC