No description
  • Scala 46%
  • Shell 31%
  • Nix 19.7%
  • Python 2.8%
  • CSS 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Salar Rahmanian eb2b6d1079
Merge pull request #13 from softinio/mill-library-node24
Move the library starter's CI actions to their Node 24 versions
2026-10-11 23:41:27 -07:00
.claude Add Python AI Starter Template 2025-10-13 19:30:00 -07:00
python-ai-starter Add Python AI Starter Template 2025-10-13 19:30:00 -07:00
scala-calico-webapp-starter Calico starter: JDK 25, Mill 1.1.10 and dependency updates 2026-10-11 12:06:33 -07:00
scala-mill-library-starter Move the library starter's CI actions to their Node 24 versions 2026-10-11 23:37:27 -07:00
scala-sbt-starter Update scala-sbt-starter to use official Scala g8 templates 2026-01-20 14:37:30 -08:00
.gitignore Initial commit 2025-10-13 19:26:58 -07:00
CLAUDE.md Fix setup.sh: bash 3.2 portability and unsafe name/sed substitutions 2026-09-20 09:05:14 -07:00
flake.nix Merge pull request #6 from softinio/claude/typelevel-calico-webapp-template 2026-07-16 08:48:37 -07:00
LICENSE Initial commit 2025-10-13 19:26:58 -07:00
README.md Update scala-mill-library-starter: latest versions, Typelevel defaults, Laika docs site 2026-07-13 07:33:26 +00:00

Project Templates

A collection of Nix flake templates for quickly bootstrapping new projects with best practices and modern tooling.

Available Templates

python-ai-starter

Python project template for AI/ML development with pre-configured AI SDKs and modern Python tooling.

Features:

  • Python 3.13+
  • Package management with uv
  • Pre-configured AI/ML SDKs (Anthropic, OpenAI, Hugging Face, MCP)
  • Development tools: ruff, pyright, pytest
  • Pre-commit hooks for code quality
  • Structured logging and settings management
  • Reproducible Nix development environment

Quick start:

nix flake init --template github:softinio/templates#python-ai-starter

See full documentation →

scala-sbt-starter

Scala project template with sbt, scala-cli, and Metals LSP pre-configured.

Features:

  • Scala 3 (default) or Scala 2.13
  • Build tools: sbt, scala-cli, coursier
  • Code formatting with scalafmt
  • Metals LSP via sbt's built-in BSP server
  • Project scaffolding commands (newScala3, newTypelevel, newScala2)
  • Reproducible Nix development environment

Quick start:

nix flake init --template github:softinio/templates#scala-sbt-starter

See full documentation →

scala-mill-library-starter

Typelevel-stack Scala library template using Mill build tool, designed for publishing to Maven Central.

Features:

  • Cross-Scala 3 build: 3.3.8 LTS + 3.8.4 latest
  • Dual-module structure: core library (cats) + cats-effect/FS2 integration
  • Laika documentation site with GitHub Pages publishing
  • Automatic git-tag-based versioning via mill-git
  • Maven Central publishing via Sonatype
  • Code formatting with scalafmt
  • GitHub Actions CI and release workflows
  • Interactive setup script and /project:setup Claude Code skill
  • Reproducible Nix development environment

Quick start:

mkdir mylibrary && cd mylibrary
nix flake init --template github:softinio/templates#scala-mill-library-starter
bash setup.sh

See full documentation →

Usage

Initialize in Current Directory

nix flake init --template github:softinio/templates#<template-name>

Create New Directory with Template

nix flake new --template github:softinio/templates#<template-name> ./my-project

List Available Templates

nix flake show github:softinio/templates

Template Structure

Each template includes:

  • flake.nix - Nix flake configuration for reproducible development environment
  • README.md - Comprehensive documentation and usage guide
  • Project-specific configuration files
  • Sample code and tests to get started quickly

Local Development

After cloning the repository, you can test templates locally before pushing:

# Test template initialization
cd /tmp
nix flake init --template /path/to/templates#<template-name>

# Or use the repo directory directly
nix flake init --template ~/Projects/templates#scala-sbt-starter

# Enter the dev environment
nix develop

# Test template-specific commands

Validate flake syntax from the templates directory:

nix flake check

Contributing

Contributions are welcome! To add a new template:

  1. Create a new directory with your template name
  2. Add a flake.nix with the development environment
  3. Add a comprehensive README.md with usage instructions
  4. Include sample code and configuration files
  5. Register the template in the root flake.nix

Requirements

  • Nix with flakes enabled

To enable flakes, add to your ~/.config/nix/nix.conf or /etc/nix/nix.conf:

experimental-features = nix-command flakes

License

MIT License - See individual template directories for specific licensing information.

Author

Created and maintained by Salar Rahmanian