oxynote/server
dependabot[bot] 759fe1712b
deps(core): bump the safe group in /server/core with 4 updates (#139)
Bumps the safe group in /server/core with 4 updates: [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2), [github.com/cloudwego/eino-ext/components/model/gemini](https://github.com/cloudwego/eino-ext), [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.111.0 to 1.112.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.111.0...service/s3/v1.112.0)

Updates `github.com/cloudwego/eino-ext/components/model/gemini` from 0.1.34 to 0.1.36
- [Release notes](https://github.com/cloudwego/eino-ext/releases)
- [Commits](https://github.com/cloudwego/eino-ext/compare/components/model/ark/v0.1.34...components/model/ark/v0.1.36)

Updates `github.com/jackc/pgx/v5` from 5.10.0 to 5.11.0
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.10.0...v5.11.0)

Updates `google.golang.org/genai` from 1.70.0 to 1.71.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.70.0...v1.71.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  dependency-version: 1.112.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: safe
- dependency-name: github.com/cloudwego/eino-ext/components/model/gemini
  dependency-version: 0.1.36
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: safe
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: safe
- dependency-name: google.golang.org/genai
  dependency-version: 1.71.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: safe
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-12 15:46:49 +03:00
..
auth-realtime deps(auth-realtime): bump better-auth in /server/auth-realtime (#140) 2026-09-12 15:46:27 +03:00
core deps(core): bump the safe group in /server/core with 4 updates (#139) 2026-09-12 15:46:49 +03:00
AGENTS.md compress all AGENTS.md files 2026-09-08 20:51:36 +02:00
CLAUDE.md add AGENTS.md files 2026-09-08 20:51:36 +02:00
Makefile update makefiles 2026-08-13 20:01:42 +02:00
README.md make valkey dependency optional 2026-08-27 18:53:30 +03:00

Server

To build and run the core and auth-realtime applications simply use the following command:

make run

By default the following ports are opened:

  • 8080 - core application's HTTP and WebSocket server.
  • 8081 - auth-realtime's Hocuspocus HTTP and WebSocket server.

Better Auth

Using Migrations

Nothing to do by hand: the Better Auth tables are owned by core's SQL migrations (server/core/internal/db/migrations/), which are embedded in the binary and applied automatically on startup.

Generating the Reference Schema

auth-realtime/sql/better_auth_schema.sql is a generated reference of the schema Better Auth expects — regenerate it after changing the Better Auth config in src/auth.ts and diff it against core's migrations to see whether a new migration is needed.

To generate it, start a postgres container:

docker run \
  --name betterauth-db \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_PASSWORD=postgres \
  -e POSTGRES_DB=betterauth \
  -p 5432:5432 \
  --rm \
  postgres

Then put the DB DSN values into the env var:

OXYNOTE_AUTH_REALTIME_DB_DSN=postgresql://postgres:postgres@localhost:5432/betterauth

Then, from within the auth-realtime directory, run (make sure that other env vars that are needed by src/auth.ts are available and exported too):

source ../../docker/env/auth-realtime.local.env && npx @better-auth/cli generate --output ./sql/better_auth_schema.sql