No description
  • Rust 86%
  • HTML 12.5%
  • Dockerfile 1.2%
  • Shell 0.3%
Find a file
Maple 6b96e1db51
All checks were successful
Build and Test / account (push) Successful in 6m7s
add more specific error handeling to certs
2026-04-27 19:08:46 +02:00
.cargo feat(ci): make executable static and make final image be from scratch to make container as small as possible 2025-03-07 17:19:47 +01:00
.forgejo/workflows fix(ci): use short_ref instead of ref 2026-04-26 12:48:32 +02:00
.sqlx run sqlx prepare 2026-04-26 12:38:29 +02:00
hooks A LOT of stuff 2026-04-27 16:37:54 +02:00
mii Merge branch 'renovate/tokio-1.x-lockfile' into 'main' 2025-05-21 12:29:44 +00:00
res update agreements 2025-07-31 16:11:42 +02:00
src add more specific error handeling to certs 2026-04-27 19:08:46 +02:00
.env.example Remove gRPC 2026-04-27 18:26:24 +02:00
.gitignore chore: remove .DS_Store 2025-04-26 13:38:39 +02:00
.gitlab-ci.yml Fix Incorrect CI Tags 2025-11-04 19:20:14 +00:00
Cargo.lock A LOT of stuff 2026-04-27 16:37:54 +02:00
Cargo.toml A LOT of stuff 2026-04-27 16:37:54 +02:00
Dockerfile fix dockerfile 2025-11-04 22:23:24 +01:00
LICENSE add license 2025-04-08 11:26:32 +00:00
README.md add a bit of docs 2025-05-08 09:58:25 +02:00
renovate.json Add renovate.json 2025-05-21 09:46:22 +00:00
setup-hook.sh A LOT of stuff 2026-04-27 16:37:54 +02:00

account.rs

Reimplementation of the Nintendo Network Account System (NNAS) in Rust.

Requirements

  • Rust (rustup recommended)
  • A PostgreSQL database
  • An S3 bucket
  • An SMTP server

For more info on configuring the server, check the .env.example file, it has comments that should help.

Building

This step shouldn't be required once we start making official releases, but for now you need to build it yourself. You will need to set your database's connection URL in the environment variable DATABASE_URL with export. Without it, the server will not build.

export DATABASE_URL=postgresql://your-user:your-password@your-postgresql-server:5432/your-db

Once you have that set up, you should just be able to run cargo build and it will build to target/account-server-rust.