- Scala 46%
- Shell 31%
- Nix 19.7%
- Python 2.8%
- CSS 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .claude | ||
| python-ai-starter | ||
| scala-calico-webapp-starter | ||
| scala-mill-library-starter | ||
| scala-sbt-starter | ||
| .gitignore | ||
| CLAUDE.md | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
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
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
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:setupClaude 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
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 environmentREADME.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:
- Create a new directory with your template name
- Add a
flake.nixwith the development environment - Add a comprehensive
README.mdwith usage instructions - Include sample code and configuration files
- 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
Related Projects
- python-starter-template - The original Python AI/ML template repository
- NixOS/templates - Official Nix templates
- nix-community/templates - Community Nix templates