{"owner":"nicotsx","repo":"zerobyte","hasSkills":true,"hasMcp":false,"mcpConfig":null,"found":["AGENTS.md"],"skills":{"AGENTS.md":"## Important instructions\n\n- Never create migration files manually. Always use the provided command to generate migrations\n- If you realize an automated migration is incorrect, make sure to remove all the associated entries from the `_journal.json` and the newly created files located in `app/drizzle/` before re-generating the migration\n- The dev server runs through Portless. Start it with `bun run dev`, then use `portless get zerobyte` to get the current worktree-specific URL. Do not assume a fixed port like `3000` or `4096`. Username is `admin` and password is `password`\n- The repo is https://github.com/nicotsx/zerobyte\n- If you need to run a specific restic command on a repository, you can open and use the dev panel with `Meta+Shift+D`\n\n## Project Overview\n\nZerobyte is a backup automation tool built on top of Restic that provides a web interface for scheduling, managing, and monitoring encrypted backups. It supports multiple volume backends (NFS, SMB, WebDAV, SFTP, local directories) and repository backends (S3, Azure, GCS, local, and rclone-based storage).\n\n### Development Server\n\n```bash\n# Start the dev server through Portless\nbun run dev\n\n# Get the current app URL for this worktree\nportless get zerobyte\n\n# Inspect active Portless routes if needed\nportless list\n```\n\nPortless applies git worktree prefixes automatically, so linked worktrees may return URLs like `https://branch-name.zerobyte.localhost`. Use the Portless URL for browser testing and manual verification.\n\n### Type Checking\n\n```bash\n# Run type checking and generate React Router types\nbun run tsc\n```\n\n### Testing\n\n```bash\n# Run all tests\nbun run test\n\n# Run a specific test file\nbunx dotenv-cli -e .env.test -- bunx --bun vitest run --project server path/to/test.ts\n```\n\n### Building\n\n```bash\n# Build for production\nbun run build\n```\n\n### Database Migrations\n\n```bash\n# Generate new migration from schema changes\nbun gen:migrations\n\n# Generate a custom empty migration\nbunx drizzle-kit generate --custom --name=fix-timestamps-to-ms\n\n```\n\n### API Client Generation\n\n```bash\nbun run gen:api-client\n```\n\n### Code Quality\n\n```bash\n# Format\nbun run fmt -- <path>\n\n# Lint\nbun run lint\n```\n\n### Invalidation\n\nThe frontend has an automatic invalidation setup which runs after every mutation.\nDo not implement any invalidation logic in the frontend.\n"},"files":{"AGENTS.md":"## Important instructions\n\n- Never create migration files manually. Always use the provided command to generate migrations\n- If you realize an automated migration is incorrect, make sure to remove all the associated entries from the `_journal.json` and the newly created files located in `app/drizzle/` before re-generating the migration\n- The dev server runs through Portless. Start it with `bun run dev`, then use `portless get zerobyte` to get the current worktree-specific URL. Do not assume a fixed port like `3000` or `4096`. Username is `admin` and password is `password`\n- The repo is https://github.com/nicotsx/zerobyte\n- If you need to run a specific restic command on a repository, you can open and use the dev panel with `Meta+Shift+D`\n\n## Project Overview\n\nZerobyte is a backup automation tool built on top of Restic that provides a web interface for scheduling, managing, and monitoring encrypted backups. It supports multiple volume backends (NFS, SMB, WebDAV, SFTP, local directories) and repository backends (S3, Azure, GCS, local, and rclone-based storage).\n\n### Development Server\n\n```bash\n# Start the dev server through Portless\nbun run dev\n\n# Get the current app URL for this worktree\nportless get zerobyte\n\n# Inspect active Portless routes if needed\nportless list\n```\n\nPortless applies git worktree prefixes automatically, so linked worktrees may return URLs like `https://branch-name.zerobyte.localhost`. Use the Portless URL for browser testing and manual verification.\n\n### Type Checking\n\n```bash\n# Run type checking and generate React Router types\nbun run tsc\n```\n\n### Testing\n\n```bash\n# Run all tests\nbun run test\n\n# Run a specific test file\nbunx dotenv-cli -e .env.test -- bunx --bun vitest run --project server path/to/test.ts\n```\n\n### Building\n\n```bash\n# Build for production\nbun run build\n```\n\n### Database Migrations\n\n```bash\n# Generate new migration from schema changes\nbun gen:migrations\n\n# Generate a custom empty migration\nbunx drizzle-kit generate --custom --name=fix-timestamps-to-ms\n\n```\n\n### API Client Generation\n\n```bash\nbun run gen:api-client\n```\n\n### Code Quality\n\n```bash\n# Format\nbun run fmt -- <path>\n\n# Lint\nbun run lint\n```\n\n### Invalidation\n\nThe frontend has an automatic invalidation setup which runs after every mutation.\nDo not implement any invalidation logic in the frontend.\n"},"items":[{"name":"AGENTS.md","path":"AGENTS.md","title":"AGENTS.md","content":"## Important instructions\n\n- Never create migration files manually. Always use the provided command to generate migrations\n- If you realize an automated migration is incorrect, make sure to remove all the associated entries from the `_journal.json` and the newly created files located in `app/drizzle/` before re-generating the migration\n- The dev server runs through Portless. Start it with `bun run dev`, then use `portless get zerobyte` to get the current worktree-specific URL. Do not assume a fixed port like `3000` or `4096`. Username is `admin` and password is `password`\n- The repo is https://github.com/nicotsx/zerobyte\n- If you need to run a specific restic command on a repository, you can open and use the dev panel with `Meta+Shift+D`\n\n## Project Overview\n\nZerobyte is a backup automation tool built on top of Restic that provides a web interface for scheduling, managing, and monitoring encrypted backups. It supports multiple volume backends (NFS, SMB, WebDAV, SFTP, local directories) and repository backends (S3, Azure, GCS, local, and rclone-based storage).\n\n### Development Server\n\n```bash\n# Start the dev server through Portless\nbun run dev\n\n# Get the current app URL for this worktree\nportless get zerobyte\n\n# Inspect active Portless routes if needed\nportless list\n```\n\nPortless applies git worktree prefixes automatically, so linked worktrees may return URLs like `https://branch-name.zerobyte.localhost`. Use the Portless URL for browser testing and manual verification.\n\n### Type Checking\n\n```bash\n# Run type checking and generate React Router types\nbun run tsc\n```\n\n### Testing\n\n```bash\n# Run all tests\nbun run test\n\n# Run a specific test file\nbunx dotenv-cli -e .env.test -- bunx --bun vitest run --project server path/to/test.ts\n```\n\n### Building\n\n```bash\n# Build for production\nbun run build\n```\n\n### Database Migrations\n\n```bash\n# Generate new migration from schema changes\nbun gen:migrations\n\n# Generate a custom empty migration\nbunx drizzle-kit generate --custom --name=fix-timestamps-to-ms\n\n```\n\n### API Client Generation\n\n```bash\nbun run gen:api-client\n```\n\n### Code Quality\n\n```bash\n# Format\nbun run fmt -- <path>\n\n# Lint\nbun run lint\n```\n\n### Invalidation\n\nThe frontend has an automatic invalidation setup which runs after every mutation.\nDo not implement any invalidation logic in the frontend.\n","category":"root","tokens":583}]}