Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ src/
├── utils.ts # Shared utilities
├── <command>.ts # One file per CLI command (deploy, manifest, serve, pin, ...)
├── types/ # TypeScript type definitions
└── serve/ # Server implementation (routes, database backends, pubsub, dashboard)
└── serve/ # Server implementation (routes, DB backends, pubsub, dashboard, signup limits, billing workers)
└── *.test.ts # Inline test files

scripts/ # Build, lint, and release tooling (plus their tests)
Expand Down Expand Up @@ -106,8 +106,6 @@ import type { CommandModule } from './commands.ts'

## Guidelines

- **Tests**: Use Deno's built-in test framework. New tests go next to the code (`src/**/*.test.ts`) or in `test/`; shared fixtures go in `test/assets/`. Every `*.test.ts` file must be committed (enforced by `scripts/tracked-tests.test.ts`).
- **Server code**: Organized around SBP selectors (`@sbp/sbp`) with several database backends; see `src/serve/` and `src/validateConfig.ts`.
- **Tests**: Use Deno's built-in test framework. New tests go next to the code (`src/**/*.test.ts`) or in `test/`; shared fixtures go in `test/assets/`. Every `*.test.ts` file must be committed (enforced by `scripts/tracked-tests.test.ts`).
- **Server code**: Organized around SBP selectors (`@sbp/sbp`) with several database backends; see `src/serve/` and `src/validateConfig.ts`.

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,14 @@ email = "admin@example.com"

[database]
backend = "sqlite"

# Signup size cap and the billing free tier; see
# docs/signup-and-billing.md.
# [server.signup]
# maxFirstMessageBytes = 8192
#
# [server.billing]
# freeAllowanceBytes = 10485760
```

### `chelonia.json` — App Properties
Expand Down
Loading
Loading