No description
  • Rust 73.7%
  • HTML 25.4%
  • Dockerfile 0.8%
  • Shell 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
redbinder0526 7fa5d6a4d0
Some checks failed
Build and Test / account (push) Has been cancelled
Merge pull request 'Update Rust crate base64 to 0.23.0' (#82) from renovate/base64-0.x into main
Reviewed-on: #82
2026-07-29 16:17:02 +02:00
.cargo switch to using nex-account for nex account management 2026-07-05 22:13:51 +02:00
.forgejo/workflows Update actions/cache action to v6 2026-06-23 15:30:19 +00:00
.sqlx serial number and cert hash route 2026-07-16 02:06:51 +02:00
hooks A LOT of stuff 2026-04-27 16:37:54 +02:00
res fix email confirmation html and remove nasc 2026-06-11 11:37:18 +02:00
src actually actually asociate cert hash with token 2026-07-16 03:54:06 +02:00
.dockerignore add SSL 2026-06-06 14:45:20 +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 Update Rust crate base64 to 0.23.0 2026-07-29 14:01:10 +00:00
Cargo.toml Update Rust crate base64 to 0.23.0 2026-07-29 14:01:10 +00:00
Dockerfile add SSL 2026-06-06 14:45:20 +02: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 Update renovate.json 2026-04-28 18:23:36 +02: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.