# moments

Infrastructure bootstrap for building **shareable moments** from the MICHA campaign concept.

## What is set up

- `devenv.nix` for reproducible local development
- Git repository initialized on `main`
- `.gitignore` for local/secrets/build artifacts
- `.env.example` for generative AI credentials

## Tooling included in `devenv.nix`

- Core: `git`, `gh`, `curl`, `jq`, `ripgrep`, `fd`, `just`
- App/dev: `nodejs`, `pnpm`, `python`, `uv`, `sqlite`
- Media/gen-AI support: `ffmpeg`, `imagemagick`, `exiftool`

## Local setup

1. Install Nix + devenv.
2. Enter the environment:
   ```bash
   devenv shell
   ```
   Or use direnv:
   ```bash
   direnv allow
   ```
3. Create your local environment file:
   ```bash
   cp .env.example .env
   ```
4. Add API keys to `.env`.
5. Run helper scripts:
   ```bash
   bootstrap
   tools
   ```

## Environment variables

See `.env.example`. Keep `.env` private and never commit secrets.
