[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9903":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":15,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":38,"discoverSource":39},9903,"boilerplates","ChristianLempa\u002Fboilerplates","ChristianLempa","Create reusable templates and turn them into configurable workloads for homelabs and self-hosted infrastructure. Free and Open-Source.","https:\u002F\u002Fgetboilerplates.app\u002F",null,"Python",7807,1829,92,8,0,2,12,82,40.79,"MIT License",false,"main",true,[26,27,28,29,30,31,32,33,34],"ansible","bash","docker","docker-compose","docker-swarm","kubernetes","packer","python","terraform","2026-06-12 02:02:14","![Welcome](.\u002F.assets\u002Fbanner.jpg)\n\nCreate reusable templates and turn them into configurable workloads for homelabs and self-hosted infrastructure. *Free and Open-Source.*\n\n## How it works\n\nCreate reusable templates for infrastructure expertise like Docker, Kubernetes, Terraform, Ansible, static files, Python, and more. Use the built-in *Jinja2-like* templating syntax with `\u003C\u003C >>` variables, `\u003C% %>` blocks, and `\u003C# #>` comments to keep configuration modular and conditional. Sync with Git in both directions or manage everything locally. Render templates, configure variables through a guided wizard, and wire up secrets. Copy them to remote servers and environments or any local directory.\n\n✨ Explore 100+ template presets for homelabs and self-hosted infrastructure: https:\u002F\u002Fgithub.com\u002FChristianLempa\u002Fboilerplates-library\n\n## Boilerplates CLI\n\nThe Boilerplates CLI is the main interface for working with template libraries locally. It lets you discover available templates, inspect their metadata and variables, validate them, and generate ready-to-use files.\n\nIt combines template-defined variables and defaults, guided interactive prompts, CLI variable overrides, and git-backed template libraries into one workflow. In practice, that means you can keep reusable boilerplates in a repository and turn them into concrete, environment-specific configurations with a single command.\n\n⚠️ Boilerplates `0.2.0` introduced the new template format. Legacy `template.yaml` \u002F `template.yml` manifests and `.j2` template files are no longer supported.\n\nℹ️ New templates must use `template.json`, keep renderable content under `files\u002F`, and use the custom *Jinja2*-like delimiters `\u003C\u003C >>`, `\u003C% %>`, and `\u003C# #>` instead of default *Jinja2* syntax.\n\n### Template kinds\n\nUse a dedicated kind when the template's primary output matches that technology. Use `python` for Python-oriented project scaffolds, automation helpers, packages, and service\u002Ftooling skeletons. Use `bash` for Bash-oriented scripts, bootstrap flows, maintenance tasks, and automation snippets. Keep Python or Bash files inside another kind, such as `compose` or `terraform`, when they are only supporting files for that primary infrastructure template.\n\nInitial `python` and `bash` validation is intentionally minimal: the CLI validates template syntax, declared variables, rendering, and generic semantic checks where applicable. Language-specific validation such as Python compilation, shell syntax checks, formatting, or test execution can be added as follow-up work once template conventions are established.\n\n### Installation\n\n#### Automated installer script\n\nInstall the Boilerplates CLI using the automated installer:\n\n```bash\n# Install latest version\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fchristianlempa\u002Fboilerplates\u002Fmain\u002Fscripts\u002Finstall.sh | bash\n\n# Install specific version\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fchristianlempa\u002Fboilerplates\u002Fmain\u002Fscripts\u002Finstall.sh | bash -s -- --version v1.2.3\n```\n\nThe installer uses `pipx` to create an isolated environment for the CLI tool. Once installed, the `boilerplates` command will be available in your terminal.\n\n#### Nixos\n\nIf you are using nix flakes\n\n```bash\n# Run without installing\nnix run github:christianlempa\u002Fboilerplates -- --help\n\n# Install to your profile\nnix profile install github:christianlempa\u002Fboilerplates\n\n# Or directly in your flake\n{\n  inputs.boilerplates.url = \"github:christianlempa\u002Fboilerplates\";\n\n  outputs = { self, nixpkgs, boilerplates }: {\n    # Use boilerplates.packages.${system}.default\n  };\n}\n\n# Use in a temporary shell\nnix shell github:christianlempa\u002Fboilerplates\n```\n\n### Quick Start\n\n```bash\n# Explore\nboilerplates --help\n\n# Update Repository Library\nboilerplates repo update\n\n# List all available templates for a Docker Compose stack\nboilerplates compose list\n\n# List technology-agnostic static file templates\nboilerplates static list\n\n# Show details about a specific template\nboilerplates compose show nginx\n\n# Generate a template (interactive mode)\nboilerplates compose generate authentik\n\n# Generate with custom output directory\nboilerplates compose generate nginx --output my-nginx-server\n\n# Non-interactive mode with variable overrides\nboilerplates compose generate traefik --output my-proxy \\\n  --var service_name=traefik \\\n  --var traefik_enabled=true \\\n  --var traefik_host=proxy.example.com \\\n  --no-interactive\n```\n\n### Managing Defaults\n\nSave time by setting default values for variables you use frequently:\n\n```bash\n# Set a default value\nboilerplates compose defaults set container_timezone=\"America\u002FNew_York\"\nboilerplates compose defaults set restart_policy=\"unless-stopped\"\n\n```\n\n### Template Libraries\n\nBoilerplates uses git-based libraries to manage templates. You can add custom repositories:\n\n```bash\n# List configured libraries\nboilerplates repo list\n\n# Update all libraries\nboilerplates repo update\n\n# Add a custom library\nboilerplates repo add my-templates https:\u002F\u002Fgithub.com\u002Fuser\u002Ftemplates \\\n  --directory library \\\n  --branch main\n\n# Remove a library\nboilerplates repo remove my-templates\n```\n\n## Contribution\n\nContributions are welcome. Feel free to open an issue or submit a pull request!\n\n## License\n\nThis repository is licensed under the [MIT License](.\u002FLICENSE).\n","Boilerplates 项目旨在创建可复用的模板，并将其转化为可用于家庭实验室和自托管基础设施的可配置工作负载。该项目的核心功能包括使用类似 Jinja2 的模板语法（支持变量、块和注释）来保持配置的模块化与条件性，以及通过 Boilerplates CLI 管理本地或远程同步的模板库。它支持多种技术栈如 Docker、Kubernetes 和 Terraform 等，使得用户能够轻松地为不同的环境生成具体的配置文件。此工具非常适合需要快速搭建和管理个人或小规模团队的云原生应用及服务基础设施的场景。","2026-06-11 03:25:19","top_topic"]