awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
slim-template avatar

slim-template/slim

0
View on GitHub↗
5,372 Stars·497 Forks·Ruby·MIT·5 Aufrufeslim-template.github.io↗

Slim

Slim ist eine prägnante, einrückungsbasierte Template-Sprache und Markup-Engine zur Generierung von HTML und XML. Entwickelt für das Ruby-Ökosystem, wandelt sie Kurzschreibweisen in wohlgeformte Dokumente um, ohne dass herkömmliche schließende Tags erforderlich sind.

Die Engine fungiert als Multi-Engine-Wrapper, der die Integration externer Rendering-Engines wie Markdown und Sass innerhalb einer einzigen Template-Datei ermöglicht. Sie bietet zudem eine Befehlszeilenschnittstelle zum Rendern von Templates und zum Konvertieren zwischen verschiedenen Markup-Formaten.

Das System unterstützt die dynamische Content-Generierung durch eingebettete Ruby-Logik, einschließlich Schleifen, Bedingungen und Ausdrucksinterpolation. Es enthält Funktionen für die modulare UI-Entwicklung durch wiederverwendbare Template-Fragmente sowie spezialisierte Tools für Whitespace-Management, Doctype-Generierung und das Mapping von Datensammlungen auf Elementattribute.

Features

  • HTML Markup Templates - Provides a concise syntax for generating clean, well-formed HTML and XML documents.
  • Ruby Template Engines - Provides a concise, Ruby-compatible template engine for generating HTML and XML markup.
  • Concise Markup Syntax - Implements a concise, indentation-based markup syntax to significantly reduce HTML and XML boilerplate.
  • Indented Syntax Parsers - Implements an engine that parses indentation-based syntax into a structured tree to determine element relationships.
  • Template Logic Controllers - Provides control markers for implementing conditional branching and iterative loops within templates.
  • Code Block Interpolations - Provides mechanisms for executing Ruby code blocks and interpolating their results directly into the markup.
  • Dynamic Code Embedding - Supports the execution of embedded Ruby code blocks to handle control flow and dynamic content generation.
  • Templating Languages - Functions as a concise indentation-based templating language for generating minimal HTML and XML.
  • Multi-Engine Template Support - Provides the ability to use multiple different templating languages and external engines to produce standardized output.
  • Modular UI Compositions - Supports building complex pages by recursively rendering external template files as reusable UI components.
  • Reusable Components - Facilitates the creation of reusable template fragments and components shared across multiple layouts.
  • Dynamic Template Rendering - Integrates executable Ruby code, loops, and conditionals to render dynamic content at runtime.
  • Ruby - Enables inserting the result of Ruby code calls directly into markup with controls for escaping and whitespace.
  • External Rendering Integrations - Allows the integration of external rendering engines like Markdown and Sass within a single template file.
  • Markup Compilers - Acts as a markup compiler that transforms shorthand syntax into optimized document formats via a CLI.
  • Multi-Engine Markup Integration - Combines different markup languages such as Markdown and Sass within a single template file.
  • Multi-Engine Template Integration - Functions as a multi-engine wrapper that integrates external renderers like Markdown and Sass within a single template.
  • Template-Driven Rendering - Generates dynamic HTML by merging Ruby data models with pre-defined concise templates.
  • Command Line Interfaces - Ships a terminal-based utility to process templates and output the resulting markup directly.
  • Compiler Command Line Interfaces - Provides a command line interface to compile templates into HTML or ERB for testing and conversion.
  • Markup Whitespace Formatting - Provides precise control over leading and trailing whitespace around tags to ensure clean markup output.
  • Tag Shorthand Mappings - Allows mapping short characters to specific tags or attributes to minimize the volume of template code.
  • Two-Phase Compilation - Uses a two-phase compilation process to convert custom syntax into an intermediate format before final rendering.
  • Backend-Agnostic Translation Layers - Decouples the parsing of shorthand syntax from the generation of final output formats like HTML or ERB.
  • Dynamic Element Resolution - Allows evaluating a method at runtime to dynamically determine which HTML element to render.
  • Shorthand Attribute Assignments - Supports custom shorthand symbols to rapidly assign common attributes and CSS classes to elements.
  • Hash-to-Attribute Mapping - Converts a data collection into a set of HTML attribute-value pairs using a concise prefix operator.
  • Content Capture Buffers - Allows storing rendered markup blocks in local variables for reuse or deferred output in different layout sections.
  • Ruby Frameworks and Tools - High-performance template engine for Ruby.
  • Template Engines - Minimalist template language.

Star-Verlauf

Star-Verlauf für slim-template/slimStar-Verlauf für slim-template/slim

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht slim-template/slim?

Slim ist eine prägnante, einrückungsbasierte Template-Sprache und Markup-Engine zur Generierung von HTML und XML. Entwickelt für das Ruby-Ökosystem, wandelt sie Kurzschreibweisen in wohlgeformte Dokumente um, ohne dass herkömmliche schließende Tags erforderlich sind.

Was sind die Hauptfunktionen von slim-template/slim?

Die Hauptfunktionen von slim-template/slim sind: HTML Markup Templates, Ruby Template Engines, Concise Markup Syntax, Indented Syntax Parsers, Template Logic Controllers, Code Block Interpolations, Dynamic Code Embedding, Templating Languages.

Welche Open-Source-Alternativen gibt es zu slim-template/slim?

Open-Source-Alternativen zu slim-template/slim sind unter anderem: haml/haml — Haml is a Ruby HTML template engine and server-side rendering library. It functions as an HTML markup preprocessor… shopify/liquid — Liquid is a secure template engine and markup language used to generate dynamic HTML or text by combining static… olado/dot — doT is a compiled JavaScript template engine and rendering system used to generate dynamic text and HTML for both… middleman/middleman — Middleman is a Ruby-based static site generator and web framework used to transform templates and assets into… powerline/powerline — Powerline is a statusline and prompt generation framework designed to provide consistent visual information across… wycats/handlebars.js — Handlebars.js is a JavaScript templating engine used to generate HTML and other text formats by combining static…

Open-Source-Alternativen zu Slim

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Slim.
  • haml/hamlAvatar von haml

    haml/haml

    3,834Auf GitHub ansehen↗

    Haml is a Ruby HTML template engine and server-side rendering library. It functions as an HTML markup preprocessor that transforms a concise, indentation-based shorthand syntax into standard HTML and XHTML markup. The system uses hierarchical whitespace instead of explicit closing tags to define the structure of documents, reducing boilerplate during markup authoring. It integrates Ruby logic directly into templates to evaluate conditional statements, process dynamic data, and interpolate values. The engine provides tools for managing element attributes through hashes, controlling output whi

    Ruby
    Auf GitHub ansehen↗3,834
  • olado/dotAvatar von olado

    olado/doT

    5,043Auf GitHub ansehen↗

    doT is a compiled JavaScript template engine and rendering system used to generate dynamic text and HTML for both browser-based interfaces and Node.js server-side environments. It transforms template strings into executable JavaScript functions to produce text output across different runtime environments. The system focuses on pre-compiling template source files into standalone JavaScript modules at build time. This process eliminates runtime compilation overhead, increases execution speed, and prevents malicious code injection. The engine supports logic-based interpolation using conditional

    JavaScript
    Auf GitHub ansehen↗5,043
  • shopify/liquidAvatar von Shopify

    Shopify/liquid

    11,811Auf GitHub ansehen↗

    Liquid is a secure template engine and markup language used to generate dynamic HTML or text by combining static templates with backend data. It functions as a web template renderer that transforms markup into final output while restricting available logic to prevent arbitrary code execution. The engine focuses on secure markup execution, providing a restricted environment where user-provided templates cannot access sensitive system data. It utilizes a safe evaluation sandbox to ensure that only a predefined set of instructions can be executed. The system includes capabilities for template s

    Ruby
    Auf GitHub ansehen↗11,811
  • middleman/middlemanAvatar von middleman

    middleman/middleman

    7,110Auf GitHub ansehen↗

    Middleman is a Ruby-based static site generator and web framework used to transform templates and assets into standalone HTML, CSS, and JavaScript files. It functions as a multi-engine template processor and build tool, converting source markup into production-ready websites that can be hosted on any web server. The system is distinguished by a comprehensive asset pipeline that handles compression, minification, and fingerprinting to optimize web delivery. It features an extensible architecture with lifecycle hooks and a middleware-based request interception layer, allowing for the programmat

    Rubymiddlemanstatic-site-generator
    Auf GitHub ansehen↗7,110
  • Alle 30 Alternativen zu Slim anzeigen→